Home
last modified time | relevance | path

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

12345678910>>...13

/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/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.cpp503 int guess = -1; in doBinarySearch() local
506 if (newGuess == guess) in doBinarySearch()
508 guess = newGuess; in doBinarySearch()
510 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); in doBinarySearch()
516 hi = guess; in doBinarySearch()
518 lo = guess; in doBinarySearch()
541 int guess = -1; in doBinarySearch() local
544 if (newGuess == guess) in doBinarySearch()
546 guess = newGuess; in doBinarySearch()
550 … ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey); in doBinarySearch()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java336 int guess = -1; in doBinarySearch() local
339 if(newGuess == guess){ in doBinarySearch()
342 guess = newGuess; in doBinarySearch()
343 r = tests[j].compareTo(tests[guess]); in doBinarySearch()
349 hi = guess; in doBinarySearch()
351 lo = guess; in doBinarySearch()
367 int guess = -1; in doBinarySearch() local
370 if(newGuess == guess){ in doBinarySearch()
373 guess = newGuess; in doBinarySearch()
374 …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.c89 unsigned int guess; in int_sqrt() local
94 guess = 0; in int_sqrt()
96 guess |= (1 << p); in int_sqrt()
97 if (x < guess * guess) guess -= (1 << p); in int_sqrt()
101 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/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/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/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/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.py591 guess = guess_extension(gtype, strict) variable
592 if not guess: print("I don't know anything about type", gtype)
593 else: print(guess)
595 guess, encoding = guess_type(gtype, strict) variable
596 if not guess: print("I don't know anything about type", gtype)
597 else: print('type:', guess, 'encoding:', encoding)
/external/python/cpython2/Lib/
Dmimetypes.py592 guess = guess_extension(gtype, strict) variable
593 if not guess: print "I don't know anything about type", gtype
594 else: print guess
596 guess, encoding = guess_type(gtype, strict) variable
597 if not guess: print "I don't know anything about type", gtype
598 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/test/Transforms/SimplifyCFG/
D2005-12-03-IncorrectPHIFold.ll38 %guess = alloca %struct.anon* ; <%struct.anon**> [#uses=7]
76 call void @init_num( %struct.anon** %guess )
87 store %struct.anon* %tmp42, %struct.anon** %guess
90 call void @int2num( %struct.anon** %guess, i32 10 )
101 %tmp53 = load %struct.anon** %guess ; <%struct.anon*> [#uses=1]
103 call void @bc_raise( %struct.anon* %tmp53, %struct.anon* %tmp54, %struct.anon** %guess, i32 %max )
117 %tmp88 = load %struct.anon** %guess ; <%struct.anon*> [#uses=1]
120 call void @free_num( %struct.anon** %guess )
/external/libmtp/
Dautogen.sh17 rm -f ltmain.sh config.guess config.sub
54 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
55 mv tmpfile config.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/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/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/e2fsprogs/e2fsck/
Dreadahead.c237 unsigned long long guess; in e2fsck_guess_readahead() local
245 guess = 2ULL * fs->blocksize * fs->inode_blocks_per_group; in e2fsck_guess_readahead()
248 if (get_memory_size() > (guess * 50)) in e2fsck_guess_readahead()
249 return guess / 1024; in e2fsck_guess_readahead()
/external/swiftshader/third_party/LLVM/cmake/modules/
DGetTargetTriple.cmake2 # Invokes config.guess
18 set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
/external/llvm/cmake/modules/
DGetHostTriple.cmake2 # Invokes config.guess
18 set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/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

12345678910>>...13