Home
last modified time | relevance | path

Searched refs:adder (Results 1 – 25 of 39) sorted by relevance

12

/external/guava/android/guava-testlib/test/com/google/common/testing/anotherpackage/
DForwardingWrapperTesterTest.java219 public Adder apply(Adder adder) { in testFailsToForwardParameters()
220 return new FailsToForwardParameters(adder); in testFailsToForwardParameters()
232 public Arithmetic apply(Arithmetic adder) { in testForwardsToTheWrongMethod()
233 return new ForwardsToTheWrongMethod(adder); in testForwardsToTheWrongMethod()
244 public Adder apply(Adder adder) { in testFailsToForwardReturnValue()
245 return new FailsToForwardReturnValue(adder); in testFailsToForwardReturnValue()
257 public Adder apply(Adder adder) { in testFailsToPropagateException()
258 return new FailsToPropagageException(adder); in testFailsToPropagateException()
341 private final Adder adder; field in ForwardingWrapperTesterTest.FailsToForwardParameters
343 FailsToForwardParameters(Adder adder) { in FailsToForwardParameters() argument
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
DForwardingWrapperTesterTest.java219 public Adder apply(Adder adder) { in testFailsToForwardParameters()
220 return new FailsToForwardParameters(adder); in testFailsToForwardParameters()
232 public Arithmetic apply(Arithmetic adder) { in testForwardsToTheWrongMethod()
233 return new ForwardsToTheWrongMethod(adder); in testForwardsToTheWrongMethod()
244 public Adder apply(Adder adder) { in testFailsToForwardReturnValue()
245 return new FailsToForwardReturnValue(adder); in testFailsToForwardReturnValue()
257 public Adder apply(Adder adder) { in testFailsToPropagateException()
258 return new FailsToPropagageException(adder); in testFailsToPropagateException()
341 private final Adder adder; field in ForwardingWrapperTesterTest.FailsToForwardParameters
343 FailsToForwardParameters(Adder adder) { in FailsToForwardParameters() argument
[all …]
/external/google-fruit/examples/simple_injection/
Dincrementer_impl.cpp21 Adder* adder; member in IncrementerImpl
24 INJECT(IncrementerImpl(Adder* adder)) : adder(adder) {} in INJECT() argument
27 return adder->add(x, 1); in increment()
/external/python/cpython2/Lib/test/
Dtest_scope.py11 def adder(y): function
13 return adder
25 def adder(y): function
27 return adder
39 def adder(y): function
42 return adder
55 def adder(y): function
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2)
[all …]
/external/python/cpython3/Lib/test/
Dtest_scope.py13 def adder(y): function
15 return adder
27 def adder(y): function
29 return adder
41 def adder(y): function
44 return adder
57 def adder(y): function
59 return adder
64 adder = make_adder4()
65 self.assertEqual(adder(1), 2)
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringRange.java56 …public static void compact(Set<String> source, Adder adder, boolean shorterPairs, boolean moreComp… in compact() argument
73 adder.add(start, end == null ? null in compact()
83 adder.add(start, end == null ? null in compact()
99 adder.add(ranges.start(), ranges.end(shorterPairs)); in compact()
111 public static void compact(Set<String> source, Adder adder, boolean shorterPairs) { in compact() argument
112 compact(source,adder,shorterPairs,false); in compact()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStringRange.java63 …public static void compact(Set<String> source, Adder adder, boolean shorterPairs, boolean moreComp… in compact() argument
80 adder.add(start, end == null ? null in compact()
90 adder.add(start, end == null ? null in compact()
106 adder.add(ranges.start(), ranges.end(shorterPairs)); in compact()
118 public static void compact(Set<String> source, Adder adder, boolean shorterPairs) { in compact() argument
119 compact(source,adder,shorterPairs,false); in compact()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DStringRange.java49 …public static void compact(Set<String> source, Adder adder, boolean shorterPairs, boolean moreComp… in compact() argument
66 adder.add(start, end == null ? null in compact()
76 adder.add(start, end == null ? null in compact()
92 adder.add(ranges.start(), ranges.end(shorterPairs)); in compact()
104 public static void compact(Set<String> source, Adder adder, boolean shorterPairs) { in compact() argument
105 compact(source, adder, shorterPairs, false); in compact()
/external/clang/test/SemaTemplate/
Dinstantiate-enum.cpp4 struct adder { struct
11 int array1[adder<long, 3, 4>::value == 7? 1 : -1]; argument
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_addition.py120 op2, adder = _pop_a_match_at_tier(op1, ops_to_try_at_this_tier, tier)
123 new_operator = adder.add(op1, op2, operator_name)
136 for adder in tier:
137 if adder.can_add(op1, op2):
138 return operator_list.pop(-i), adder
/external/python/mobly/tests/mobly/
Dutils_test.py383 def adder(a, b): function
389 results = utils.concurrent_exec(adder, [(1, 1), (2, 2)], max_workers=None)
399 def adder(a, b): function
405 results = utils.concurrent_exec(adder, [(1, 1), (2, 2)])
415 def adder(a, b): function
421 results = utils.concurrent_exec(adder, [(1, 1), (2, 2)], max_workers=1)
442 def adder(a, b): function
445 results = utils.concurrent_exec(adder, [(1, 1), (2, 2)])
551 def adder(a, b): function
554 results = utils.concurrent_exec(adder, [(1, 1), (2, 2)],
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DJsonValueTest.java276 AdditionInterface adder = new AdditionInterfaceImpl(1); in testPolymorphicSerdeWithDelegate() local
278 assertEquals(2, adder.add(1)); in testPolymorphicSerdeWithDelegate()
279 String json = MAPPER.writeValueAsString(adder); in testPolymorphicSerdeWithDelegate()
/external/cronet/build/android/bytecode/java/org/chromium/bytecode/
DTraceEventAdder.java56 TraceEventAdder adder = new TraceEventAdder(classPathJarsClassLoader); in main() local
58 adder.rewrite(new File(inputJars[i]), new File(outputJars[i])); in main()
/external/angle/build/android/bytecode/java/org/chromium/bytecode/
DTraceEventAdder.java56 TraceEventAdder adder = new TraceEventAdder(classPathJarsClassLoader); in main() local
58 adder.rewrite(new File(inputJars[i]), new File(outputJars[i])); in main()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateValidityXml.java143 MyAdder adder = new MyAdder(); in main() local
149 adder.target = output; in main()
164 adder.reset(size > 600); // || type.equals("subdivision") in main()
165 StringRange.compact(set, adder, true); in main()
/external/tensorflow/tensorflow/python/keras/layers/
Dadvanced_activations.py338 adder = (1.0 - math_ops.cast(mask, inputs.dtype)) * (
343 inputs += adder
/external/lzma/C/
DPpmd7.c576 unsigned i, adder, sumFreq, escFreq; in Rescale() local
587 adder = (p->OrderFall != 0); in Rescale()
588 s->Freq = (Byte)((s->Freq + adder) >> 1); in Rescale()
595 s->Freq = (Byte)((s->Freq + adder) >> 1); in Rescale()
/external/cronet/base/
Dobserver_list_unittest.cc512 const AdderT<Foo>& adder() const { return adder_; } in adder() function in base::AddInClearObserve
531 EXPECT_EQ(1, a.adder().total) in TYPED_TEST()
545 EXPECT_EQ(0, a.adder().total) in TYPED_TEST()
/external/libchrome/base/
Dobserver_list_unittest.cc871 const Adder& adder() const { return adder_; } in adder() function in base::AddInClearObserve
889 EXPECT_EQ(1, a.adder().total) in TEST()
902 EXPECT_EQ(0, a.adder().total) in TEST()
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py313 adder = partial(_Device_recordVarIdx, s=varidxes)
314 _visit(self, adder)
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java650 Function<Integer, Integer> adder =
659 assertEquals(6, adder.apply(4).intValue());
662 Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
671 assertEquals(7, adder.apply(4).intValue());
676 assertEquals(8, adder.apply(4).intValue());
682 assertEquals(8, getDone(transform(immediateFuture, adder, directExecutor())).intValue());
687 getDoneFromTimeoutOverload(transform(immediateFuture, adder, directExecutor())).intValue());
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java650 Function<Integer, Integer> adder =
659 assertEquals(6, adder.apply(4).intValue());
662 Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
671 assertEquals(7, adder.apply(4).intValue());
676 assertEquals(8, adder.apply(4).intValue());
682 assertEquals(8, getDone(transform(immediateFuture, adder, directExecutor())).intValue());
687 getDoneFromTimeoutOverload(transform(immediateFuture, adder, directExecutor())).intValue());
/external/cronet/third_party/icu/source/test/cintltst/
Dcapitst.c1054 uint32_t adder; in TestOpenVsOpenRules() local
1084 adder = 1; in TestOpenVsOpenRules()
1087 adder = 10; in TestOpenVsOpenRules()
1090 for(x = 0; x < numLocales; x+=adder){ in TestOpenVsOpenRules()
/external/icu/icu4c/source/test/cintltst/
Dcapitst.c1054 uint32_t adder; in TestOpenVsOpenRules() local
1084 adder = 1; in TestOpenVsOpenRules()
1087 adder = 10; in TestOpenVsOpenRules()
1090 for(x = 0; x < numLocales; x+=adder){ in TestOpenVsOpenRules()
/external/tensorflow/tensorflow/python/saved_model/
Dload_test.py2254 root.adder = Adder()
2262 adder = imported["root.adder"]
2264 adder(5)

12