Home
last modified time | relevance | path

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

12345678910>>...15

/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 …]
/external/icu/icu4c/source/i18n/
Ddouble-conversion-strtod.cpp439 double* guess) { in ComputeGuess() argument
441 *guess = 0.0; in ComputeGuess()
445 *guess = Double::Infinity(); in ComputeGuess()
449 *guess = 0.0; in ComputeGuess()
453 if (DoubleStrtod(trimmed, exponent, guess) || in ComputeGuess()
454 DiyFpStrtod(trimmed, exponent, guess)) { in ComputeGuess()
457 if (*guess == Double::Infinity()) { in ComputeGuess()
485 double guess; in StrtodTrimmed() local
486 const bool is_correct = ComputeGuess(trimmed, exponent, &guess); in StrtodTrimmed()
488 return guess; in StrtodTrimmed()
[all …]
/external/v8/src/numbers/
Dstrtod.cc349 double guess) { in BignumStrtod() argument
350 if (guess == V8_INFINITY) { in BignumStrtod()
351 return guess; in BignumStrtod()
354 DiyFp upper_boundary = Double(guess).UpperBoundary(); in BignumStrtod()
380 return guess; in BignumStrtod()
382 return Double(guess).NextDouble(); in BignumStrtod()
383 } else if ((Double(guess).Significand() & 1) == 0) { in BignumStrtod()
385 return guess; in BignumStrtod()
387 return Double(guess).NextDouble(); in BignumStrtod()
408 double guess; in Strtod() local
[all …]
/external/libsrtp2/crypto/replay/
Drdbx.c123 srtp_xtd_seq_num_t *guess, in srtp_index_guess() argument
158 *guess = make64(guess_roc >> 16, (guess_roc << 16) | guess_seq); in srtp_index_guess()
160 *guess = (((uint64_t)guess_roc) << 16) | guess_seq; in srtp_index_guess()
306 srtp_xtd_seq_num_t *guess, in srtp_rdbx_estimate_index() argument
324 return srtp_index_guess(&rdbx->index, guess, s); in srtp_rdbx_estimate_index()
328 *guess = make64(0, (uint32_t)s); in srtp_rdbx_estimate_index()
330 *guess = s; in srtp_rdbx_estimate_index()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp502 int guess = -1; in doBinarySearch() local
505 if (newGuess == guess) in doBinarySearch()
507 guess = newGuess; in doBinarySearch()
509 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); in doBinarySearch()
515 hi = guess; in doBinarySearch()
517 lo = guess; in doBinarySearch()
540 int guess = -1; in doBinarySearch() local
543 if (newGuess == guess) in doBinarySearch()
545 guess = newGuess; in doBinarySearch()
549 … ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey); in doBinarySearch()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java345 int guess = -1; in doBinarySearch() local
348 if(newGuess == guess){ in doBinarySearch()
351 guess = newGuess; in doBinarySearch()
352 r = tests[j].compareTo(tests[guess]); in doBinarySearch()
358 hi = guess; in doBinarySearch()
360 lo = guess; in doBinarySearch()
376 int guess = -1; in doBinarySearch() local
379 if(newGuess == guess){ in doBinarySearch()
382 guess = newGuess; in doBinarySearch()
383 …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.c90 unsigned int guess; in int_sqrt() local
95 guess = 0; in int_sqrt()
97 guess |= (1 << p); in int_sqrt()
98 if (x < guess * guess) guess -= (1 << p); in int_sqrt()
102 return guess + (guess * guess + guess + 1 <= x); in int_sqrt()
/external/smali/dexlib2/src/main/java/org/jf/util/
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/eigen/Eigen/src/IterativeLinearSolvers/
DSolveWithGuess.h49 SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess)
50 : m_dec(dec), m_rhs(rhs), m_guess(guess)
58 EIGEN_DEVICE_FUNC const GuessType& guess() const { return m_guess; }
85 m_result = solve.guess();
106 dst = src.guess();
/external/scapy/scapy/modules/
Dnmap.py181 guess = 0, []
188 if score > guess[0]:
189 guess = score, [osval]
190 elif score == guess[0]:
191 guess[1].append(osval)
192 return guess
/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/swiftshader/third_party/llvm-7.0/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/python/cpython3/Lib/
Dmimetypes.py603 guess = guess_extension(gtype, strict) variable
604 if not guess: print("I don't know anything about type", gtype)
605 else: print(guess)
607 guess, encoding = guess_type(gtype, strict) variable
608 if not guess: print("I don't know anything about type", gtype)
609 else: print('type:', guess, 'encoding:', encoding)
/external/python/cpython2/Lib/
Dmimetypes.py593 guess = guess_extension(gtype, strict) variable
594 if not guess: print "I don't know anything about type", gtype
595 else: print guess
597 guess, encoding = guess_type(gtype, strict) variable
598 if not guess: print "I don't know anything about type", gtype
599 else: print 'type:', guess, 'encoding:', encoding
/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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/guava/android/guava/src/com/google/common/math/
DLongMath.java332 long guess = (long) Math.sqrt(x); in sqrt() local
334 long guessSquared = guess * guess; in sqrt()
340 return guess; in sqrt()
344 return guess - 1; in sqrt()
346 return guess; in sqrt()
350 return guess + 1; in sqrt()
352 return guess; in sqrt()
356 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0); in sqrt()
/external/guava/guava/src/com/google/common/math/
DLongMath.java332 long guess = (long) Math.sqrt(x); in sqrt() local
334 long guessSquared = guess * guess; in sqrt()
340 return guess; in sqrt()
344 return guess - 1; in sqrt()
346 return guess; in sqrt()
350 return guess + 1; in sqrt()
352 return guess; in sqrt()
356 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0); in sqrt()
/external/e2fsprogs/e2fsck/
Dreadahead.c239 unsigned long long guess; in e2fsck_guess_readahead() local
247 guess = 2ULL * fs->blocksize * fs->inode_blocks_per_group; in e2fsck_guess_readahead()
250 if (get_memory_size() > (guess * 50)) in e2fsck_guess_readahead()
251 return guess / 1024; in e2fsck_guess_readahead()
/external/libsrtp2/crypto/include/
Drdbx.h113 srtp_xtd_seq_num_t *guess,
183 srtp_xtd_seq_num_t *guess,

12345678910>>...15