Searched refs:guess (Results 1 - 25 of 88) sorted by relevance

1234

/external/smali/util/src/main/java/org/jf/util/
H A DLinearSearch.java44 * @param initialGuess An initial guess of the location.
49 int guess = initialGuess;
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...]
H A DSparseIntArray.java246 int high = start + len, low = start - 1, guess;
249 guess = (high + low) / 2;
251 if (a[guess] < key)
252 low = guess;
254 high = guess;
H A DSparseArray.java343 int high = start + len, low = start - 1, guess;
346 guess = (high + low) / 2;
348 if (a[guess] < key)
349 low = guess;
351 high = guess;
/external/libmtp/
H A Dautogen.sh17 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/
H A Dstrtod.cc345 // 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...]
/external/eigen/Eigen/src/IterativeLinearSolvers/
H A DSolveWithGuess.h49 SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess) argument
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/
H A DGaussianFitter.java102 createParametersGuesser(fitter.getObservations()).guess()));
H A DHarmonicFitter.java30 * 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();
/external/cmockery/cmockery_0_1_2/packages/deb/
H A Drules14 # 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
/external/curl/docs/cmdline-opts/
H A Dproto-default.d17 Without this option curl would make a guess based on the host, see --url for
H A Durl.d9 then curl will make a guess based on the host. If the outermost sub-domain
/external/smali/util/src/test/java/org/jf/util/
H A DLinearSearchTest.java96 private void doTest(List<Integer> list, int key, int guess) { argument
99 Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
/external/python/cpython2/Lib/
H A Dmimetypes.py5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=1) -- guess the extension for a given MIME type.
61 URL, and can guess a reasonable extension given a MIME type.
565 --extension / -e -- guess extension instead of type
592 guess = guess_extension(gtype, strict)
593 if not guess: print "I don't know anything about type", gtype
594 else: print guess
596 guess, encoding = guess_type(gtype, strict)
597 if not guess: print "I don't know anything about type", gtype
598 else: print 'type:', guess, 'encodin
[all...]
/external/python/cpython3/Lib/
H A Dmimetypes.py5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=True) -- guess the extension for a given MIME type.
63 URL, and can guess a reasonable extension given a MIME type.
564 --extension / -e -- guess extension instead of type
591 guess = guess_extension(gtype, strict)
592 if not guess: print("I don't know anything about type", gtype)
593 else: print(guess)
595 guess, encoding = guess_type(gtype, strict)
596 if not guess: print("I don't know anything about type", gtype)
597 else: print('type:', guess, 'encodin
[all...]
/external/scapy/scapy/modules/
H A 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/libvpx/libvpx/vp8/common/
H A Dmfqe.c89 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 * gues
[all...]
/external/icu/icu4c/source/test/perf/collationperf/
H A Dcollperf.cpp503 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])
592 int guess = -1; local
643 int guess = -1; local
[all...]
/external/guava/guava/src/com/google/common/math/
H A DLongMath.java295 long guess = (long) Math.sqrt(x);
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
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSparseArray.java338 int high = start + len, low = start - 1, guess;
341 guess = (high + low) / 2;
343 if (a[guess] < key)
344 low = guess;
346 high = guess;
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DCollationPerformanceTest.java336 int guess = -1;
339 if(newGuess == guess){
342 guess = newGuess;
343 r = tests[j].compareTo(tests[guess]);
349 hi = guess;
351 lo = guess;
367 int guess = -1;
370 if(newGuess == guess){
373 guess = newGuess;
374 r = com.ibm.icu.text.Normalizer.compare(tests[j], tests[guess], Normalize
[all...]
/external/e2fsprogs/e2fsck/
H A Dreadahead.c237 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/crcalc/src/com/hp/creals/
H A DUnaryCRFunction.java355 // initial guess
447 // chosen point (guess) in the middle.
449 BigInteger guess;
456 guess = l.add(h).shiftRight(1);
465 // tentative adjustment to l to compute guess
484 guess = (adj.signum() <= 0? l.add(big2) : l.add(adj));
490 CR guess_cr = CR.valueOf(guess)
500 // and adjust guess slightly.
529 // guess might be exactly right; tweak it
531 trace("tweaking guess");
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
H A DPowellOptimizer.java93 final double[] guess = point.clone();
94 final int n = guess.length;
101 double[] x = guess;
/external/curl/
H A Dbuildconf299 config.guess \
390 # Depending on the libtool and automake versions being used, config.guess
394 if test ! -f ./config.guess; then
395 echo "buildconf: config.guess not found"
397 buildhost=`./config.guess 2>/dev/null|head -n 1`
/external/ltp/testcases/realtime/
H A DMakefile49 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Completed in 861 milliseconds

1234