/external/smali/util/src/main/java/org/jf/util/ |
LinearSearch.java | 44 * @param initialGuess An initial guess of the location. 49 int guess = initialGuess; local 50 if (guess >= list.size()) { 51 guess = list.size()-1; 53 int comparison = comparator.compare(list.get(guess), key); 55 return guess; 58 guess++; 59 while (guess < list.size()) { 60 comparison = comparator.compare(list.get(guess), key); 62 return guess; [all...] |
SparseIntArray.java | 246 int high = start + len, low = start - 1, guess; local 249 guess = (high + low) / 2; 251 if (a[guess] < key) 252 low = guess; 254 high = guess;
|
/dalvik/libdex/ |
DexCatch.cpp | 59 int guess = (min + max) >> 1; local 60 const DexTry* pTry = &pTries[guess]; 64 max = guess - 1; 71 min = guess + 1;
|
DexDataMap.cpp | 105 u4 guess = offsets[guessIdx]; local 107 if (offset < guess) { 109 } else if (offset > guess) {
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cris/ |
break.s | 1 ; No-brainer doing an exhaustive test for this one, I guess.
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 47 TimeZone guess; local 50 guess = guessTimeZone(c, "us"); 51 assertEquals(name, guess.getID()); 54 guess = guessTimeZone(c, "us"); 55 assertEquals(name, guess.getID()); 69 TimeZone guess; local 72 guess = guessTimeZone(c, "us"); 73 assertEquals(name, guess.getID()); 86 TimeZone guess; local 89 guess = guessTimeZone(c, "us") 107 TimeZone guess; local [all...] |
/external/libmtp/ |
autogen.sh | 17 rm -f ltmain.sh config.guess config.sub 47 # Autoupdate config.sub and config.guess 51 echo "Autoupdate config.sub and config.guess (y/n)?" 54 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 55 mv tmpfile config.guess 60 echo "Could not autoupdate config.sub and config.guess"
|
/external/v8/src/ |
strtod.cc | 345 // The variable guess should be a close guess that is either the correct double 353 double guess) { 354 if (guess == V8_INFINITY) { 355 return guess; 358 DiyFp upper_boundary = Double(guess).UpperBoundary(); 384 return guess; 386 return Double(guess).NextDouble(); 387 } else if ((Double(guess).Significand() & 1) == 0) { 389 return guess; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 499 // There is no separator. Try to guess family name. 888 * Makes the best guess at the expected full name style based on the character set 922 * Makes the best guess at the expected full name style based on the character set 939 int guess = guessFullNameStyle(name.familyName); local 1044 int guess = guessPhoneticNameStyle(name.phoneticGivenName); local [all...] |
/external/curl/docs/cmdline-opts/ |
proto-default.d | 17 Without this option curl would make a guess based on the host, see --url for
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue21668.go | 5 // Fail to guess the kind of the constant "x".
|
/prebuilts/go/darwin-x86/src/cmd/go/testdata/src/multimain/ |
multimain_test.go | 8 // This used to work so I guess now it has to keep working.
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue21668.go | 5 // Fail to guess the kind of the constant "x".
|
/prebuilts/go/linux-x86/src/cmd/go/testdata/src/multimain/ |
multimain_test.go | 8 // This used to work so I guess now it has to keep working.
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
SolveWithGuess.h | 49 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; } function in class:Eigen::SolveWithGuess 85 m_result = solve.guess(); 106 dst = src.guess(); 107 src.dec()._solve_with_guess_impl(src.rhs(), dst/*, src.guess()*/);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
SparseLongArray.java | 226 int high = start + len, low = start - 1, guess; local 229 guess = (high + low) / 2; 231 if (a[guess] < key) 232 low = guess; 234 high = guess;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
GaussianFitter.java | 102 createParametersGuesser(fitter.getObservations()).guess()));
|
/external/cmockery/cmockery_0_1_2/packages/deb/ |
rules | 14 # from having to guess our platform (since we know it already) 64 ifneq "$(wildcard /usr/share/misc/config.guess)" "" 65 cp -f /usr/share/misc/config.guess config.guess
|
/hardware/intel/img/psb_video/debian/ |
rules | 39 ifneq "$(wildcard /usr/share/misc/config.guess)" "" 40 cp -f /usr/share/misc/config.guess config.guess
|
/external/smali/util/src/test/java/org/jf/util/ |
LinearSearchTest.java | 96 private void doTest(List<Integer> list, int key, int guess) { 99 Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
|
/external/scapy/scapy/modules/ |
nmap.py | 181 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/libvpx/libvpx/vp8/common/ |
mfqe.c | 89 unsigned int guess; local 94 guess = 0; 96 guess |= (1 << p); 97 if (x < guess * guess) guess -= (1 << p); 100 /* choose between guess or guess+1 */ 101 return guess + (guess * guess + guess + 1 <= x) [all...] |
/external/icu/icu4c/source/test/perf/collationperf/ |
collperf.cpp | 503 int guess = -1; local 506 if (newGuess == guess) 508 guess = newGuess; 510 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); 516 hi = guess; 518 lo = guess; 541 int guess = -1; local 544 if (newGuess == guess) 546 guess = newGuess; 550 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey) 592 int guess = -1; local 643 int guess = -1; local [all...] |
/external/guava/guava/src/com/google/common/math/ |
LongMath.java | 295 long guess = (long) Math.sqrt(x); local 296 // Note: guess is always <= FLOOR_SQRT_MAX_LONG. 297 long guessSquared = guess * guess; 303 return guess; 307 return guess - 1; 309 return guess; 313 return guess + 1; 315 return guess; 319 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSparseArray.java | 338 int high = start + len, low = start - 1, guess; local 341 guess = (high + low) / 2; 343 if (a[guess] < key) 344 low = guess; 346 high = guess;
|