HomeSort by relevance Sort by last modified time
    Searched refs:sum (Results 101 - 125 of 2710) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/core/java/android/net/util/
IpUtils.java 47 int sum = seed; local
60 sum += intAbs(shortBuf.get(i));
73 sum += b * 256;
76 sum = ((sum >> 16) & 0xFFFF) + (sum & 0xFFFF);
77 sum = ((sum + ((sum >> 16) & 0xFFFF)) & 0xFFFF);
78 int negated = ~sum;
115 int sum; local
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
LongAdderTest.java 33 assertEquals(0, ai.sum());
37 * add adds given value to current, and sum returns current value
42 assertEquals(2, ai.sum());
44 assertEquals(-2, ai.sum());
48 * decrement decrements and sum returns current value
53 assertEquals(-1, ai.sum());
55 assertEquals(-2, ai.sum());
64 assertEquals(1, ai.sum());
66 assertEquals(2, ai.sum());
70 * reset() causes subsequent sum() to return zer
170 long sum = a.sum(); local
    [all...]
  /external/syslinux/core/lwip/src/core/ipv4/
inet_chksum.c 75 * @return host order (!) lwip checksum (non-inverted Internet sum)
111 /* This maybe a little confusing: reorder sum using htons()
113 The caller must invert bits for Internet sum ! */
131 * @return host order (!) lwip checksum (non-inverted Internet sum)
139 u32_t sum = 0; local
151 sum += *ps++;
161 sum += t;
163 /* Fold 32-bit sum to 16 bits
165 sum = FOLD_U32T(sum);
196 u32_t sum = 0, tmp; local
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/collect/
MultisetIteratorBenchmark.java 65 int sum = 0; local
68 sum += value.hashCode();
71 return sum;
75 int sum = 0; local
78 sum += value.hashCode();
81 return sum;
85 int sum = 0; local
88 sum += value.hashCode();
91 return sum;
  /external/clang/test/CodeGenCXX/
microsoft-abi-byval-vararg.cpp 15 int sum = 0; local
17 sum += va_arg(ap, int);
19 return sum;
  /external/webrtc/webrtc/common_audio/signal_processing/
filter_ar_fast_q12.c 29 int32_t sum = 0; local
32 sum += coefficients[j] * data_out[i - j];
36 output -= sum;
  /toolchain/binutils/binutils-2.27/gold/testsuite/
incr_comdat_test_1.cc 41 int sum(int k) function in class:A
65 CHECK_EQ(a.sum(55), 11 + 55);
66 CHECK_EQ(a.sum(66), 11 + 55 + 66);
  /external/eigen/test/
mapstaticmethods.cpp 32 PlainObjectType::Map(const_ptr).sum();
33 PlainObjectType::MapAligned(const_ptr).sum();
37 PlainObjectType::Map(const_ptr, InnerStride<>(i)).sum();
38 PlainObjectType::MapAligned(const_ptr, InnerStride<>(i)).sum();
42 PlainObjectType::Map(const_ptr, InnerStride<4>()).sum();
43 PlainObjectType::MapAligned(const_ptr, InnerStride<5>()).sum();
47 PlainObjectType::Map(const_ptr, OuterStride<>(i)).sum();
48 PlainObjectType::MapAligned(const_ptr, OuterStride<>(i)).sum();
52 PlainObjectType::Map(const_ptr, OuterStride<4>()).sum();
53 PlainObjectType::MapAligned(const_ptr, OuterStride<5>()).sum();
    [all...]
  /external/libopus/celt/arm/
celt_pitch_xcorr_arm_gnu.s 46 @ Compute sum[k]=sum(x[j]*y[j+k],j=0...len-1), k=0...3
53 @ q0 = opus_val32 sum[4]
55 @ q0 = opus_val32 sum[4]
206 @ Now compute each remaining sum one at a time.
213 @ Sum terms 8 at a time.
223 @ Sum terms 4 at a time.
234 @ Reduce the sum to a single value.
239 @ Sum terms 1 at a time.
271 @ r6...r9 = opus_val32 sum[4
    [all...]
  /bionic/libm/upstream-freebsd/lib/msun/src/
s_fmal.c 77 struct dd sum; local
80 sum = dd_add(a, b);
81 if (sum.lo != 0) {
82 u.e = sum.hi;
84 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo);
86 return (sum.hi);
97 struct dd sum; local
101 sum = dd_add(a, b)
    [all...]
  /dalvik/dx/tests/133-source-debug-extension/
HelloKt.class 
  /external/guava/guava/src/com/google/common/cache/
LongAddable.java 32 long sum(); method in interface:LongAddable
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
LongAdder.java 36 public long sum() { method in class:LongAdder
  /external/libcxx/test/libcxx/depr/depr.function.objects/
depr.adaptors.cxx1z.pass.cpp 24 int sum(int a, int b) { return a + b; } function
29 int sum(int a, int b) const { return a + b; } function in struct:Foo
37 assert((std::ptr_fun<int, int, int>(sum)(4, 5) == 9));
41 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11));
  /external/libcxx/test/std/numerics/numarray/template.valarray/valarray.members/
sum.pass.cpp 14 // value_type sum() const;
26 assert(v1.sum() == 16.5);
  /frameworks/av/media/libstagefright/foundation/
AAtomizer.cpp 58 uint32_t sum = 0; local
60 sum = (sum * 31) + *s;
64 return sum;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/depr/depr.function.objects/
depr.adaptors.cxx1z.pass.cpp 24 int sum(int a, int b) { return a + b; } function
29 int sum(int a, int b) const { return a + b; } function in struct:Foo
37 assert((std::ptr_fun<int, int, int>(sum)(4, 5) == 9));
41 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/template.valarray/valarray.members/
sum.pass.cpp 14 // value_type sum() const;
26 assert(v1.sum() == 16.5);
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
BaseActivity.java 29 int sum = Native.add(2, 3); local
30 tv.setText("2 + 3 = " + Integer.toString(sum));
  /development/samples/SimpleJNI/src/com/example/android/simplejni/
SimpleJNI.java 29 int sum = Native.add(2, 3); local
30 tv.setText("2 + 3 = " + Integer.toString(sum));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/
Sum.java 25 * Returns the sum of the available values.
37 public class Sum extends AbstractStorelessUnivariateStatistic implements Serializable {
46 * The currently running sum.
51 * Create a Sum instance
53 public Sum() {
59 * Copy constructor, creates a new {@code Sum} identical
62 * @param original the {@code Sum} instance to copy
64 public Sum(Sum original) {
106 * The sum of the entries in the specified portion o
121 double sum = Double.NaN; local
160 double sum = Double.NaN; local
    [all...]
  /external/eigen/doc/snippets/
MatrixBase_array_const.cpp 4 cout << "sum of the squares: " << v.array().square().sum() << endl;
  /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
stat_utils.h 36 // Returns the variance sum for all outputs.
40 // Returns the smoothed gini score given the sum and sum of the squares of the
42 float SmoothedGini(float sum, float square, int num_classes);
44 // Returns the smoothed gini score weighted by the sum.
45 float WeightedSmoothedGini(float sum, float square, int num_classes);
  /frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/src/com/framework/shareduid/bit32/
MainActivity.java 39 int sum = Native.add(2, 3); local
40 tv.setText("[computed by 32 bit native code] 2 + 3 = " + String.valueOf(sum));
  /frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/src/com/framework/shareduid/bit64/
MainActivity.java 39 int sum = Native.add(2, 3); local
40 tv.setText("[computed by 64 bit native code] 2 + 3 = " + String.valueOf(sum));

Completed in 673 milliseconds

1 2 3 45 6 7 8 91011>>