Home
last modified time | relevance | path

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

12

/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/cmockery/cmockery_0_1_2/windows/
Dmakefile91 $(EXECUTABLE_DIR)\calculator.exe \
139 $(EXECUTABLE_DIR)\calculator.exe: $(OBJECT_DIR)\calculator.obj
141 $(OBJECT_DIR)\calculator.obj: $(EXAMPLE_SOURCE_DIRECTORY)\calculator.c
147 $(OBJECT_DIR)\calculator_test-calculator.obj \
154 $(OBJECT_DIR)\calculator_test-calculator.obj: \
155 $(EXAMPLE_SOURCE_DIRECTORY)\calculator.c
/external/cmockery/cmockery_0_1_2/
DMakefile.in43 noinst_PROGRAMS = calculator$(EXEEXT) calculator_test$(EXEEXT) \
91 am_calculator_OBJECTS = calculator-calculator.$(OBJEXT)
94 am__objects_1 = calculator_test-calculator.$(OBJEXT)
277 calculator_SOURCES = src/example/calculator.c src/config.h
415 calculator$(EXEEXT): $(calculator_OBJECTS) $(calculator_DEPENDENCIES)
416 @rm -f calculator$(EXEEXT)
444 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/calculator-calculator.Po@am__quote@
445 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/calculator_test-calculator.Po@am__quote@
540 calculator-calculator.o: src/example/calculator.c
541calculator-calculator.o -MD -MP -MF "$(DEPDIR)/calculator-calculator.Tpo" -c -o calculator-calcula…
[all …]
DMakefile.am51 noinst_PROGRAMS = calculator program
52 calculator_SOURCES = src/example/calculator.c src/config.h
/external/swiftshader/third_party/LLVM/test/CodeGen/CBackend/
D2002-08-20-UnnamedArgument.ll5 ; has not been incorporated into the slot calculator, so after it does the name
6 ; lookup, it tries a slot calculator lookup, which fails.
/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/ply/ply/example/
DREADME2 calc - Simple calculator
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs161 var calculator = codec.ValueSizeCalculator; in CalculatePackedDataSize()
165 tmp += calculator(array[i]); in CalculatePackedDataSize()
/external/brotli/c/enc/
Dbrotli_bit_stream.c77 BlockTypeCodeCalculator* calculator, uint8_t type) { in NextBlockTypeCode() argument
78 size_t type_code = (type == calculator->last_type + 1) ? 1u : in NextBlockTypeCode()
79 (type == calculator->second_last_type) ? 0u : type + 2u; in NextBlockTypeCode()
80 calculator->second_last_type = calculator->last_type; in NextBlockTypeCode()
81 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/libaom/libaom/test/
Dhash_test.cc26 typedef uint32_t (*get_crc32c_value_func)(void *calculator, uint8_t *p,
/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
516 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/ply/ply/example/BASIC/
DREADME39 the calculator example.
/external/ply/ply/
DREADME.md147 Here is a simple example showing a PLY implementation of a calculator
153 # A simple calculator with variables.
/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/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/cpython3/Misc/
Dgdbinit48 # A rewrite of the Python interpreter's line number calculator in GDB's
/external/python/cpython2/Misc/
Dgdbinit48 # 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
DREADME.md50 * [Image calculator](https://imagemagick.org/script/fx.php): apply a mathematical expression to an …
/external/python/cpython2/Doc/howto/
Ddoanddont.rst71 amazing scientific calculator.

12