Home
last modified time | relevance | path

Searched refs:calculator (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/modules/video_coding/
Dchain_diff_calculator_unittest.cc25 ChainDiffCalculator calculator; in TEST() local
27 calculator.Reset({true}); in TEST()
28 EXPECT_THAT(calculator.From(1, {true}), ElementsAre(0)); in TEST()
30 EXPECT_THAT(calculator.From(2, {false}), ElementsAre(1)); in TEST()
32 EXPECT_THAT(calculator.From(3, {true}), ElementsAre(2)); in TEST()
38 ChainDiffCalculator calculator; in TEST() local
40 calculator.Reset({true, true}); in TEST()
41 EXPECT_THAT(calculator.From(1, {true, true}), ElementsAre(0, 0)); in TEST()
43 EXPECT_THAT(calculator.From(2, {false, true}), ElementsAre(1, 1)); in TEST()
45 EXPECT_THAT(calculator.From(3, {false, false}), ElementsAre(2, 1)); in TEST()
[all …]
Dframe_dependencies_calculator_unittest.cc40 FrameDependenciesCalculator calculator; in TEST() local
43 calculator.FromBuffersUsage(kVideoFrameKey, /*frame_id=*/1, pattern), in TEST()
46 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/3, pattern), in TEST()
49 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/6, pattern), in TEST()
62 FrameDependenciesCalculator calculator; in TEST() local
65 calculator.FromBuffersUsage(kVideoFrameKey, /*frame_id=*/1, pattern0), in TEST()
68 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/2, pattern1), in TEST()
71 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/3, pattern2), in TEST()
74 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/4, pattern3), in TEST()
77 calculator.FromBuffersUsage(kVideoFrameDelta, /*frame_id=*/5, pattern0), in TEST()
[all …]
/external/mockito/src/test/java/org/mockitousage/examples/use/
DArticleManager.java12 private final ArticleCalculator calculator; field in ArticleManager
15 public ArticleManager(ArticleCalculator calculator, ArticleDatabase database) { in ArticleManager() argument
16 this.calculator = calculator; in ArticleManager()
21 int articles = calculator.countArticles(newspaper); in updateArticleCounters()
22 int polishArticles = calculator.countArticlesInPolish(newspaper); in updateArticleCounters()
32 int numberOfRelatedArticles = calculator.countNumberOfRelatedArticles(article); in updateRelatedArticlesCounters()
/external/mockito/src/test/java/org/mockitousage/annotation/
DMockInjectionUsingConstructorIssue421Test.java21 @Mock private ArticleCalculator calculator; field in MockInjectionUsingConstructorIssue421Test
32 private ArticleCalculator calculator; field in MockInjectionUsingConstructorIssue421Test.Issue421
37 public Issue421(ArticleCalculator calculator) { in Issue421() argument
38 this.calculator = calculator; in Issue421()
42 assertThat(MockUtil.isMock(calculator)).isTrue(); in checkIfMockIsInjected()
DMockInjectionUsingConstructorTest.java40 @Mock private ArticleCalculator calculator; field in MockInjectionUsingConstructorTest
60 when(calculator.countArticles("new")).thenThrow(new IllegalArgumentException()); in innerMockShouldRaiseAnExceptionThatChangesOuterMockBehavior()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/workgroups/
DBUILD7 name = "calculator",
8 srcs = ["calculator.cc"],
9 hdrs = ["calculator.h"],
22 ":calculator",
35 ":calculator",
54 ":calculator",
70 ":calculator",
/external/glide/library/src/main/java/com/bumptech/glide/
DGlideBuilder.java154 MemorySizeCalculator calculator = new MemorySizeCalculator(context); in createGlide() local
157 bitmapPool = new LruBitmapPool(calculator.getBitmapPoolSize()); in createGlide()
164 memoryCache = new LruResourceCache(calculator.getMemoryCacheSize()); in createGlide()
/external/bc/
DMETADATA2 description: "An implementation of the POSIX bc calculator with GNU extensions and dc."
/external/ply/ply/example/
DREADME2 calc - Simple calculator
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs164 var calculator = codec.ValueSizeCalculator; in CalculatePackedDataSize()
168 tmp += calculator(array[i]); in CalculatePackedDataSize()
/external/libaom/libaom/test/
Dhash_test.cc27 typedef uint32_t (*get_crc32c_value_func)(void *calculator, uint8_t *p,
/external/brotli/c/enc/
Dbrotli_bit_stream.c62 BlockTypeCodeCalculator* calculator, uint8_t type) { in NextBlockTypeCode() argument
63 size_t type_code = (type == calculator->last_type + 1) ? 1u : in NextBlockTypeCode()
64 (type == calculator->second_last_type) ? 0u : type + 2u; in NextBlockTypeCode()
65 calculator->second_last_type = calculator->last_type; in NextBlockTypeCode()
66 calculator->last_type = type; in NextBlockTypeCode()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc68 explicit MathCalculatorUI(math::CalculatorPtr calculator) in MathCalculatorUI() argument
69 : calculator_(std::move(calculator)), in MathCalculatorUI()
107 explicit SelfDestructingMathCalculatorUI(math::CalculatorPtr calculator) in SelfDestructingMathCalculatorUI() argument
108 : calculator_(std::move(calculator)), nesting_level_(0) { in SelfDestructingMathCalculatorUI()
/external/ply/ply/example/BASIC/
DREADME39 the calculator example.
/external/python/cpython3/Doc/tutorial/
Dintroduction.rst32 .. _tut-calculator:
46 The interpreter acts as a simple calculator: you can type an expression at it
109 ``_``. This means that when you are using Python as a desk calculator, it is
517 earlier in the calculator examples) in the way it handles multiple arguments,
Dappetite.rst48 during bottom-up program development. It is also a handy desk calculator.
/external/libchrome/third_party/ply/
DREADME141 Here is a simple example showing a PLY implementation of a calculator
147 # A simple calculator with variables.
/external/ply/ply/
DREADME.md147 Here is a simple example showing a PLY implementation of a calculator
153 # A simple calculator with variables.
/external/bc/gen/
Ddc_help.txt38 dc is a reverse-polish notation command-line calculator which supports unlimited
Dbc_help.txt38 bc is a command-line, arbitrary-precision calculator with a Turing-complete
/external/python/cpython2/Doc/tutorial/
Dintroduction.rst30 .. _tut-calculator:
44 The interpreter acts as a simple calculator: you can type an expression at it
113 ``_``. This means that when you are using Python as a desk calculator, it is
608 earlier in the calculator examples) in the way it handles multiple expressions
Dappetite.rst48 during bottom-up program development. It is also a handy desk calculator.
/external/python/cpython2/Misc/
Dgdbinit48 # A rewrite of the Python interpreter's line number calculator in GDB's
/external/python/cpython3/Misc/
Dgdbinit54 # A rewrite of the Python interpreter's line number calculator in GDB's
/external/ImageMagick/
DREADME.txt69 * Image calculator: apply a mathematical expression to an image or image

12