/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...] |
SparseArray.java | 343 int high = start + len, low = start - 1, guess; local 346 guess = (high + low) / 2; 348 if (a[guess] < key) 349 low = guess; 351 high = guess;
|
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) {
|
/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/e2fsprogs/e2fsck/ |
readahead.c | 237 unsigned long long guess; local 245 guess = 2ULL * fs->blocksize * fs->inode_blocks_per_group; 248 if (get_memory_size() > (guess * 50)) 249 return guess / 1024;
|
/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()*/);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
GaussianParametersGuesser.java | 48 * @param observations observed points upon which should base guess 65 public double[] guess() { method in class:GaussianParametersGuesser 75 * @param points observed points upon which should base guess
|
HarmonicFitter.java | 30 * searched by a least square estimator initialized with a rough guess 52 * <p>This constructor can be used when a first guess of the 77 * the first guess cannot be computed 81 // shall we compute the first guess of the parameters ourselves ? 90 guesser.guess();
|
HarmonicCoefficientsGuesser.java | 26 * <p>The algorithm used to guess the coefficients is as follows:</p> 150 /** Estimate a first guess of the coefficients. 152 * the first guess cannot be computed (when the elements under the 155 public void guess() throws OptimizationException { method in class:HarmonicCoefficientsGuesser 189 /** Estimate a first guess of the a and ω coefficients. 191 * the first guess cannot be computed (when the elements under the 248 /** Estimate a first guess of the φ coefficient.
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
AppDataDirGuesser.java | 25 * Uses heuristics to guess the application's private data directory. 28 public File guess() { method in class:AppDataDirGuesser
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 307 int high = start + len, low = start - 1, guess; local 310 guess = (high + low) / 2; 312 if (a[guess] < key) 313 low = guess; 315 high = 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;
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
IntList.java | 422 int guess = values[guessIdx]; local 424 if (value <= guess) {
|
/dalvik/dx/src/com/android/dx/util/ |
IntList.java | 423 int guess = values[guessIdx]; local 425 if (value <= guess) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
PowellOptimizer.java | 93 final double[] guess = point.clone(); local 94 final int n = guess.length; 101 double[] x = guess;
|
/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/libvpx/libvpx/vp8/common/ |
mfqe.c | 90 unsigned int guess; local 95 guess = 0; 97 guess |= (1 << p); 98 if (x < guess * guess) guess -= (1 << p); 101 /* choose between guess or guess+1 */ 102 return guess + (guess * guess + guess + 1 <= x) [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;
|
/external/skia/src/utils/ |
SkInterpolator.cpp | 256 Dot14 guess = eval_cubic(t, A, B, C); local 257 if (x < guess) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
AParser.cpp | 142 guess(ANTLRParserState *st)
function in class:ANTLRParser 179 // if demand_look, then I guess we don't look backwards for these tokens.
698 /* MR23 */ printMessage(stderr,"guess done - returning to rule %s {\"%s\"} at depth %d",
703 /* MR23 */ printMessage(stderr," (guess mode continues - an enclosing guess is still active)");
705 /* MR23 */ printMessage(stderr," (guess mode ends)");
726 /* MR23 */ printMessage(stderr,"guess failed in %s\n",traceCurrentRuleName);
810 /* MR23 */ printMessage(stderr,"guess trace enabled in rule %s depth %d\n",traceCurrentRuleName,traceDepth);
813 /* MR23 */ printMessage(stderr,"guess trace disabled in rule %s depth %d\n",traceCurrentRuleName,traceDepth);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
AParser.cpp | 136 guess(ANTLRParserState *st)
function in class:ANTLRParser 170 // if demand_look, then I guess we don't look backwards for these tokens.
667 fprintf(stderr,"guess done - returning to rule %s {\"%s\"} at depth %d",
672 fprintf(stderr," (guess mode continues - an enclosing guess is still active)");
674 fprintf(stderr," (guess mode ends)");
695 fprintf(stderr,"guess failed\n");
779 fprintf(stderr,"guess trace enabled in rule %s depth %d\n",traceCurrentRuleName,traceDepth);
782 fprintf(stderr,"guess trace disabled in rule %s depth %d\n",traceCurrentRuleName,traceDepth);
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintsUserState.java | 115 int guess = 1; local 119 guess); 123 guess++;
|
/external/pdfium/third_party/libtiff/ |
tif_pixarlog.c | 605 int guess = PIXARLOGDATAFMT_UNKNOWN; local 609 * take our best guess from the bitspersample. 614 guess = PIXARLOGDATAFMT_FLOAT; 618 guess = PIXARLOGDATAFMT_16BIT; 622 guess = PIXARLOGDATAFMT_12BITPICIO; 626 guess = PIXARLOGDATAFMT_11BITLOG; 630 guess = PIXARLOGDATAFMT_8BIT; 634 return guess; [all...] |