HomeSort by relevance Sort by last modified time
    Searched refs:adder (Results 1 - 25 of 35) sorted by null

1 2

  /external/clang/test/SemaTemplate/
instantiate-enum.cpp 4 struct adder { struct
11 int array1[adder<long, 3, 4>::value == 7? 1 : -1];
  /external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
ForwardingWrapperTesterTest.java 174 assertFailure(Adder.class, new Function<Adder, Adder>() {
175 @Override public Adder apply(Adder adder) {
176 return new FailsToForwardParameters(adder);
183 @Override public Arithmetic apply(Arithmetic adder) {
184 return new ForwardsToTheWrongMethod(adder);
190 assertFailure(Adder.class, new Function<Adder, Adder>()
274 private final Adder adder; field in class:ForwardingWrapperTesterTest.FailsToForwardParameters
290 private final Adder adder; field in class:ForwardingWrapperTesterTest.FailsToForwardReturnValue
306 private final Adder adder; field in class:ForwardingWrapperTesterTest.FailsToPropagageException
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentHashMap8Test.java 328 LongAdder adder = new LongAdder(); local
335 sp.forEachRemaining((Integer x) -> adder.add(x.longValue()));
336 long v = adder.sumThenReset();
337 sp2.forEachRemaining((Integer x) -> adder.add(x.longValue()));
338 long v2 = adder.sum();
588 LongAdder adder = new LongAdder(); local
590 m.forEachKey(Long.MAX_VALUE, (Long x) -> adder.add(x.longValue()));
591 assertEquals(adder.sum(), SIZE * (SIZE - 1) / 2);
598 LongAdder adder = new LongAdder(); local
600 m.forEachValue(Long.MAX_VALUE, (Long x) -> adder.add(x.longValue()))
608 LongAdder adder = new LongAdder(); local
618 LongAdder adder = new LongAdder(); local
628 LongAdder adder = new LongAdder(); local
638 LongAdder adder = new LongAdder(); local
648 LongAdder adder = new LongAdder(); local
658 LongAdder adder = new LongAdder(); local
669 LongAdder adder = new LongAdder(); local
681 LongAdder adder = new LongAdder(); local
693 LongAdder adder = new LongAdder(); local
705 LongAdder adder = new LongAdder(); local
717 LongAdder adder = new LongAdder(); local
729 LongAdder adder = new LongAdder(); local
741 LongAdder adder = new LongAdder(); local
753 LongAdder adder = new LongAdder(); local
    [all...]
DoubleAdderTest.java 70 * a deserialized serialized adder holds same value
153 final DoubleAdder adder; field in class:DoubleAdderTest.AdderTask
157 AdderTask(DoubleAdder adder, CyclicBarrier barrier, int incs) {
158 this.adder = adder;
166 DoubleAdder a = adder;
LongAdderTest.java 92 * a deserialized serialized adder holds same value
176 final LongAdder adder; field in class:LongAdderTest.AdderTask
180 AdderTask(LongAdder adder, CyclicBarrier barrier, int incs) {
181 this.adder = adder;
189 LongAdder a = adder;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2)
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /external/python/cpython2/Lib/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_scope.py 11 def adder(y): function in function:ScopeTests.testSimpleNesting.make_adder
13 return adder
25 def adder(y): function in function:ScopeTests.testExtraNesting.make_adder2.extra
27 return adder
39 def adder(y): function in function:ScopeTests.testSimpleAndRebinding.make_adder3
42 return adder
55 def adder(y): function in function:ScopeTests.testNestingGlobalNoFree.make_adder4.nest.nest
57 return adder
62 adder = make_adder4()
63 self.assertEqual(adder(1), 2
86 def adder(y): function in function:ScopeTests.testNestingPlusFreeRefToGlobal.make_adder6
    [all...]
  /external/v8/src/js/
weak-collection.js 37 var adder = this.set;
38 if (!IS_CALLABLE(adder)) {
39 throw %make_type_error(kPropertyNotFunction, adder, 'set', this);
45 %_Call(adder, this, nextItem[0], nextItem[1]);
126 var adder = this.add;
127 if (!IS_CALLABLE(adder)) {
128 throw %make_type_error(kPropertyNotFunction, adder, 'add', this);
131 %_Call(adder, this, value);
collection.js 130 var adder = this.add;
131 if (!IS_CALLABLE(adder)) {
132 throw %make_type_error(kPropertyNotFunction, adder, 'add', this);
136 %_Call(adder, this, value);
286 var adder = this.set;
287 if (!IS_CALLABLE(adder)) {
288 throw %make_type_error(kPropertyNotFunction, adder, 'set', this);
295 %_Call(adder, this, nextItem[0], nextItem[1]);
  /external/libchrome/base/
observer_list_unittest.cc 27 class Adder : public Foo {
29 explicit Adder(int scaler) : total(0), scaler_(scaler) {}
31 ~Adder() override {}
72 adder(1) {
78 observer_list->AddObserver(&adder);
84 Adder adder; member in class:base::__anon22786::AddInObserve
181 Adder a(1), b(-1), c(1), d(-1), e(-1);
213 Adder a(1);
214 Adder b(-1)
489 const Adder& adder() const { return adder_; } function in class:base::__anon22786::AddInClearObserve
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
StringRange.java 31 public interface Adder {
56 * @param adder adds each pair to the output. See the {@link Adder} interface.
60 public static void compact(Set<String> source, Adder adder, boolean shorterPairs, boolean moreCompact) {
77 adder.add(start, end == null ? null
87 adder.add(start, end == null ? null
103 adder.add(ranges.start(), ranges.end(shorterPairs));
112 * @param adder adds each pair to the output. See the {@link Adder} interface
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
StringRange.java 27 public interface Adder {
52 * @param adder adds each pair to the output. See the {@link Adder} interface.
56 public static void compact(Set<String> source, Adder adder, boolean shorterPairs, boolean moreCompact) {
73 adder.add(start, end == null ? null
83 adder.add(start, end == null ? null
99 adder.add(ranges.start(), ranges.end(shorterPairs));
108 * @param adder adds each pair to the output. See the {@link Adder} interface
    [all...]
  /external/libtextclassifier/common/
embedding-network.cc 21 #include "common/simple-adder.h"
102 ScaleAdderClass adder(y->data(), y->size());
109 adder.LazyScaleAdd(weights[i].data(), scale);
112 adder.LazyScaleAdd(weights[i].data(), scale);
  /frameworks/base/core/java/com/android/internal/widget/
DefaultItemAnimator.java 169 Runnable adder = new Runnable() { local
185 view.postOnAnimationDelayed(adder, totalDelay);
187 adder.run();
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DefaultItemAnimator.java 168 Runnable adder = new Runnable() { local
184 ViewCompat.postOnAnimationDelayed(view, adder, totalDelay);
186 adder.run();
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
magic.go 23 Ua int // output - adder
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
magic.go 23 Ua int // output - adder
  /external/lzma/C/
Ppmd7.c 574 unsigned i, adder, sumFreq, escFreq; local
585 adder = (p->OrderFall != 0);
586 s->Freq = (Byte)((s->Freq + adder) >> 1);
593 s->Freq = (Byte)((s->Freq + adder) >> 1);
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
magic.go 25 Ua int // output - adder
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
magic.go 25 Ua int // output - adder
  /prebuilts/misc/windows/sdl2/test/
testatomic.c 120 int adder(void* junk) function
146 SDL_CreateThread(adder, "Adder", NULL);

Completed in 1863 milliseconds

1 2