Home
last modified time | relevance | path

Searched refs:guess (Results 1 – 25 of 238) sorted by relevance

12345678910

/external/smali/util/src/main/java/org/jf/util/
DLinearSearch.java49 int guess = initialGuess; in linearSearch() local
50 if (guess >= list.size()) { in linearSearch()
51 guess = list.size()-1; in linearSearch()
53 int comparison = comparator.compare(list.get(guess), key); in linearSearch()
55 return guess; in linearSearch()
58 guess++; in linearSearch()
59 while (guess < list.size()) { in linearSearch()
60 comparison = comparator.compare(list.get(guess), key); in linearSearch()
62 return guess; in linearSearch()
65 return -(guess+1); in linearSearch()
[all …]
DSparseIntArray.java246 int high = start + len, low = start - 1, guess; in binarySearch() local
249 guess = (high + low) / 2; in binarySearch()
251 if (a[guess] < key) in binarySearch()
252 low = guess; in binarySearch()
254 high = guess; in binarySearch()
DSparseArray.java343 int high = start + len, low = start - 1, guess; in binarySearch() local
346 guess = (high + low) / 2; in binarySearch()
348 if (a[guess] < key) in binarySearch()
349 low = guess; in binarySearch()
351 high = guess; in binarySearch()
/external/srtp/crypto/replay/
Drdbx.c125 xtd_seq_num_t *guess, in index_guess() argument
136 uint32_t guess_roc = ((high32(*guess) << 16) | in index_guess()
137 (low32(*guess) >> 16)); in index_guess()
138 uint16_t guess_seq = (uint16_t) (low32(*guess)); in index_guess()
140 uint32_t guess_roc = (uint32_t)(*guess >> 16); in index_guess()
141 uint16_t guess_seq = (uint16_t) *guess; in index_guess()
175 *guess = make64(guess_roc >> 16, in index_guess()
178 *guess = (((uint64_t) guess_roc) << 16) | guess_seq; in index_guess()
330 xtd_seq_num_t *guess, in rdbx_estimate_index() argument
348 return index_guess(&rdbx->index, guess, s); in rdbx_estimate_index()
[all …]
/external/v8/src/
Dstrtod.cc353 double guess) { in BignumStrtod() argument
354 if (guess == V8_INFINITY) { in BignumStrtod()
355 return guess; in BignumStrtod()
358 DiyFp upper_boundary = Double(guess).UpperBoundary(); in BignumStrtod()
384 return guess; in BignumStrtod()
386 return Double(guess).NextDouble(); in BignumStrtod()
387 } else if ((Double(guess).Significand() & 1) == 0) { in BignumStrtod()
389 return guess; in BignumStrtod()
391 return Double(guess).NextDouble(); in BignumStrtod()
413 double guess; in Strtod() local
[all …]
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp499 int guess = -1; in doBinarySearch() local
502 if (newGuess == guess) in doBinarySearch()
504 guess = newGuess; in doBinarySearch()
506 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); in doBinarySearch()
512 hi = guess; in doBinarySearch()
514 lo = guess; in doBinarySearch()
537 int guess = -1; in doBinarySearch() local
540 if (newGuess == guess) in doBinarySearch()
542 guess = newGuess; in doBinarySearch()
546 … ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey); in doBinarySearch()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java334 int guess = -1; in doBinarySearch() local
337 if(newGuess == guess){ in doBinarySearch()
340 guess = newGuess; in doBinarySearch()
341 r = tests[j].compareTo(tests[guess]); in doBinarySearch()
347 hi = guess; in doBinarySearch()
349 lo = guess; in doBinarySearch()
365 int guess = -1; in doBinarySearch() local
368 if(newGuess == guess){ in doBinarySearch()
371 guess = newGuess; in doBinarySearch()
372 …r = com.ibm.icu.text.Normalizer.compare(tests[j], tests[guess], Normalizer.COMPARE_CODE_POINT_ORDE… in doBinarySearch()
[all …]
/external/libvpx/libvpx/vp8/common/
Dmfqe.c102 unsigned int guess; in int_sqrt() local
107 guess=0; in int_sqrt()
110 guess |= (1<<p); in int_sqrt()
111 if (x<guess*guess) in int_sqrt()
112 guess -= (1<<p); in int_sqrt()
116 return guess+(guess*guess+guess+1<=x); in int_sqrt()
/external/guava/guava/src/com/google/common/math/
DLongMath.java295 long guess = (long) Math.sqrt(x); in sqrt() local
297 long guessSquared = guess * guess; in sqrt()
303 return guess; in sqrt()
307 return guess - 1; in sqrt()
309 return guess; in sqrt()
313 return guess + 1; in sqrt()
315 return guess; in sqrt()
319 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0); in sqrt()
/external/llvm/test/CodeGen/AArch64/
Datomic-ops.ll24 ; w0 below is a reasonable guess but could change: it certainly comes into the
44 ; w0 below is a reasonable guess but could change: it certainly comes into the
64 ; w0 below is a reasonable guess but could change: it certainly comes into the
84 ; x0 below is a reasonable guess but could change: it certainly comes into the
104 ; w0 below is a reasonable guess but could change: it certainly comes into the
124 ; w0 below is a reasonable guess but could change: it certainly comes into the
144 ; w0 below is a reasonable guess but could change: it certainly comes into the
164 ; x0 below is a reasonable guess but could change: it certainly comes into the
184 ; w0 below is a reasonable guess but could change: it certainly comes into the
204 ; w0 below is a reasonable guess but could change: it certainly comes into the
[all …]
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java449 BigInteger guess; in approximate() local
456 guess = l.add(h).shiftRight(1); in approximate()
484 guess = (adj.signum() <= 0? l.add(big2) : l.add(adj)); in approximate()
490 CR guess_cr = CR.valueOf(guess) in approximate()
532 BigInteger new_guess = guess.add(tweak); in approximate()
534 guess = guess.subtract(tweak); in approximate()
536 guess = new_guess; in approximate()
545 h = guess; in approximate()
549 l = guess; in approximate()
/external/ipsec-tools/src/racoon/
DTODO28 how to guess a reasonable phase 1 SA lifetime
29 (hardcoded default? guess from phase 2 lifetime?)
30 guess what kind of ID payload to use
31 guess what kind of authentication to be used
32 guess phase 1 DH group (for aggressive mode, we cannot negotiate it)
33 guess if we need phase 2 PFS or not (we cannot negotiate it. so
35 guess how we should negotiate lifetime
37 guess which mode to use for phase 1 negotiation (is main mode useful?
/external/llvm/test/Transforms/SimplifyCFG/
D2005-12-03-IncorrectPHIFold.ll36 %guess = alloca %struct.anon* ; <%struct.anon**> [#uses=7]
74 call void @init_num( %struct.anon** %guess )
85 store %struct.anon* %tmp42, %struct.anon** %guess
88 call void @int2num( %struct.anon** %guess, i32 10 )
99 %tmp53 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1]
101 call void @bc_raise( %struct.anon* %tmp53, %struct.anon* %tmp54, %struct.anon** %guess, i32 %max )
116 %tmp88 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1]
119 call void @free_num( %struct.anon** %guess )
/external/llvm/test/CodeGen/ARM/
Datomic-ops-v8.ll21 ; r0 below is a reasonable guess but could change: it certainly comes into the
44 ; r0 below is a reasonable guess but could change: it certainly comes into the
67 ; r0 below is a reasonable guess but could change: it certainly comes into the
90 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the
117 ; r0 below is a reasonable guess but could change: it certainly comes into the
140 ; r0 below is a reasonable guess but could change: it certainly comes into the
163 ; r0 below is a reasonable guess but could change: it certainly comes into the
186 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the
213 ; r0 below is a reasonable guess but could change: it certainly comes into the
236 ; r0 below is a reasonable guess but could change: it certainly comes into the
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSparseArray.java338 int high = start + len, low = start - 1, guess; in binarySearch() local
341 guess = (high + low) / 2; in binarySearch()
343 if (a[guess] < key) in binarySearch()
344 low = guess; in binarySearch()
346 high = guess; in binarySearch()
/external/srtp/crypto/include/
Drdbx.h85 xtd_seq_num_t *guess,
173 xtd_seq_num_t *guess,
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DOutputFinisher.java498 private Dop findOpcodeForInsn(DalvInsn insn, Dop guess) { in findOpcodeForInsn() argument
505 while (guess != null) { in findOpcodeForInsn()
506 if (guess.getFormat().isCompatible(insn)) { in findOpcodeForInsn()
510 guess = Dops.getNextOrNull(guess, dexOptions); in findOpcodeForInsn()
513 return guess; in findOpcodeForInsn()
/external/llvm/cmake/modules/
DGetHostTriple.cmake2 # Invokes config.guess
18 set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
/external/smali/util/src/test/java/org/jf/util/
DLinearSearchTest.java96 private void doTest(List<Integer> list, int key, int guess) { in doTest() argument
99 …ertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess)); in doTest()
/external/cmockery/cmockery_0_1_2/packages/deb/
Drules65 cp -f /usr/share/misc/config.guess config.guess
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DPowellOptimizer.java93 final double[] guess = point.clone(); in doOptimize() local
94 final int n = guess.length; in doOptimize()
101 double[] x = guess; in doOptimize()
/external/curl/
Dbuildconf299 config.guess \
395 if test ! -f ./config.guess; then
398 buildhost=`./config.guess 2>/dev/null|head -n 1`
/external/pdfium/third_party/libtiff/
Dtif_luv.c1279 int guess; in LogLuvGuessDataFmt() local
1288 guess = SGILOGDATAFMT_FLOAT; in LogLuvGuessDataFmt()
1293 guess = SGILOGDATAFMT_RAW; in LogLuvGuessDataFmt()
1298 guess = SGILOGDATAFMT_16BIT; in LogLuvGuessDataFmt()
1302 guess = SGILOGDATAFMT_8BIT; in LogLuvGuessDataFmt()
1305 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
1314 if (guess != SGILOGDATAFMT_RAW) in LogLuvGuessDataFmt()
1315 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
1318 if (guess == SGILOGDATAFMT_RAW) in LogLuvGuessDataFmt()
1319 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_luv.c1265 int guess; in LogLuvGuessDataFmt() local
1274 guess = SGILOGDATAFMT_FLOAT; in LogLuvGuessDataFmt()
1279 guess = SGILOGDATAFMT_RAW; in LogLuvGuessDataFmt()
1284 guess = SGILOGDATAFMT_16BIT; in LogLuvGuessDataFmt()
1288 guess = SGILOGDATAFMT_8BIT; in LogLuvGuessDataFmt()
1291 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
1300 if (guess != SGILOGDATAFMT_RAW) in LogLuvGuessDataFmt()
1301 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
1304 if (guess == SGILOGDATAFMT_RAW) in LogLuvGuessDataFmt()
1305 guess = SGILOGDATAFMT_UNKNOWN; in LogLuvGuessDataFmt()
[all …]
/external/mesa3d/bin/
D.gitignore1 config.guess

12345678910