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

12345

/macosx-10.10/ntp-92/scripts/monitoring/
H A Dtimelocal.pl63 $guess = $^T;
64 @g = gmtime($guess);
67 $guess += $diff * (364 * $DAYS);
68 @g = gmtime($guess);
71 $guess += $diff * (28 * $DAYS);
72 @g = gmtime($guess);
75 $guess -= $g[0] * $SEC + $g[1] * $MIN + $g[2] * $HR + $g[3] * $DAYS;
76 $cheat{$ym} = $guess;
/macosx-10.10/ruby-106/ruby/test/nkf/
H A Dtest_nkf.rb12 assert_equal(::NKF::JIS, NKF.guess(str_jis))
13 assert_equal(::NKF::EUC, NKF.guess(str_euc))
H A Dtest_kconv.rb29 assert_equal(::Kconv::EUC, Kconv.guess(@euc_str))
41 assert_equal(::Kconv::SJIS, Kconv.guess(@sjis_str))
53 assert_equal(::Kconv::UTF8, Kconv.guess(@utf8_str))
64 assert_equal(::Kconv::JIS, Kconv.guess(@jis_str))
/macosx-10.10/dtrace-147/DTTk/Bin/
H A Dguess.d3 * guess.d - guessing game in D (DTrace)
7 * USAGE: guess.d
21 printf("guess.d - Guess a number between 1 and 100\n\n");
33 printf("Enter guess %d: ", num);
34 system("read guess");
59 guess = fac * (keys[pos] - '0');
62 guess = pos >= 0 ? guess + fac * (keys[pos] - '0') : guess;
65 guess
[all...]
/macosx-10.10/dtrace-147/DTTk/Extra/
H A Dguess.d3 * guess.d - guessing game in D (DTrace)
7 * USAGE: guess.d
21 printf("guess.d - Guess a number between 1 and 100\n\n");
33 printf("Enter guess %d: ", num);
34 system("read guess");
59 guess = fac * (keys[pos] - '0');
62 guess = pos >= 0 ? guess + fac * (keys[pos] - '0') : guess;
65 guess
[all...]
/macosx-10.10/tcsh-65/tcsh/
H A Dtw.spell.c43 struct Strbuf guess = Strbuf_INIT, newname = Strbuf_INIT; local
49 cleanup_push(&guess, Strbuf_cleanup);
65 cleanup_until(&guess);
68 guess.len = 0; /* start at beginning of buf */
69 Strbuf_append(&guess, newname.s); /* add current dir if any */
70 ws = guess.len;
72 Strbuf_append1(&guess, *old);
73 Strbuf_terminate(&guess);
80 retval = t_search(&guess, SPELL,
84 cleanup_until(&guess);
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/
H A Dspell.c67 char guess[PATH_MAX + 1], best[PATH_MAX + 1]; local
86 /* Copy next component into guess */
87 for (p = guess; *op != '/' && *op != '\0'; op++)
88 if (p < guess + PATH_MAX)
92 if (mindist(newname, guess, best) >= 3)
104 * Search directory for a guess
107 mindist(dir, guess, best)
109 char *guess;
126 * Look for a better guess. If the new guess i
[all...]
/macosx-10.10/groff-38/groff/src/utils/addftinfo/
H A Dguess.h44 void guess(const char *s, const font_params &param, char_metric *metric);
/macosx-10.10/apr-32/apr-util/apr-util/test/
H A Dtestdate.c145 apr_time_t guess; local
159 apr_generate_random_bytes((unsigned char *)&guess, sizeof(guess));
161 guess = apr_time_now() % APR_TIME_C(4294967291);
165 guess = (time_t)lgc((apr_uint32_t)guess);
166 if (guess < 0)
167 guess *= -1;
168 secstodate = guess + offset;
/macosx-10.10/libiconv-42/libiconv/libcharset/tools/
H A Dall-locales7 host=`/bin/sh ../build-aux/config.guess`
/macosx-10.10/ntp-92/libopts/
H A Dputshell.c130 * do something. I guess we'll emit the equivalenced-to option
/macosx-10.10/ntp-92/sntp/libopts/
H A Dputshell.c130 * do something. I guess we'll emit the equivalenced-to option
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dbigrat.pl148 local($gscale, $guess) = (0, '+1/1');
151 $guess = &'rmul(&'radd($guess,&'rdiv($x,$guess)),"+1/2");
153 "$guess"; # quotes necessary due to perl bug
H A Dbigfloat.pl250 local($gs, $guess) = (1, sprintf("1E%+d", (length($xm)+$xe-1)/2));
252 $guess = &'fmul(&'fadd($guess,&'fdiv($x,$guess,$gs*2)),".5");
255 &'fround($guess, $scale);
/macosx-10.10/WTF-7600.1.24/wtf/dtoa/
H A Dstrtod.cc365 // The variable guess should be a close guess that is either the correct double
373 double guess) {
374 if (guess == Double::Infinity()) {
375 return guess;
378 DiyFp upper_boundary = Double(guess).UpperBoundary();
404 return guess;
406 return Double(guess).NextDouble();
407 } else if ((Double(guess).Significand() & 1) == 0) {
409 return guess;
[all...]
/macosx-10.10/emacs-93/emacs/lisp/
H A Dffap.el35 ;; to guess a default file or URL from the text around the point
311 ;; then, broke it up into ffap-next-guess (noninteractive) and
326 (defvar ffap-next-guess nil
327 "Last value returned by `ffap-next-guess'.")
332 (defun ffap-next-guess (&optional back lim)
339 (let (guess)
340 (while (not (or guess (eq (point) lim)))
343 (setq guess (ffap-guesser)))
344 ;; Go to end, so we do not get same guess twice:
346 (setq ffap-next-guess gues
[all...]
/macosx-10.10/BerkeleyDB-21/db/dist/
H A Ds_config34 chmod 555 config.guess config.sub install-sh
/macosx-10.10/apr-32/apr-util/apr-util/
H A Dbuildconf62 build/config.guess build/config.sub build/get-version.sh
64 $apr_src_dir/build/install.sh $apr_src_dir/build/config.guess \
/macosx-10.10/ICU-531.30/icuSources/test/perf/collationperf/
H A Dcollperf.cpp499 int guess = -1; local
502 if (newGuess == guess)
504 guess = newGuess;
506 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name);
512 hi = guess;
514 lo = guess;
537 int guess = -1; local
540 if (newGuess == guess)
542 guess = newGuess;
546 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])
588 int guess = -1; local
639 int guess = -1; local
[all...]
/macosx-10.10/emacs-93/emacs/lisp/calc/
H A Dcalcalg3.el430 (defun math-newton-root (expr deriv guess orig-guess limit)
431 (math-working "newton" guess)
432 (let* ((var-DUMMY guess)
440 (setq next (math-sub guess (math-div next dval)))
441 (if (math-nearly-equal guess (setq next (math-float next)))
445 (if (Math-lessp (math-abs-approx (math-sub next orig-guess))
447 (math-newton-root expr deriv next orig-guess limit)
452 (defun math-newton-search-root (expr deriv guess vguess ostep oostep
454 (let ((var-DUMMY guess)
[all...]
/macosx-10.10/vim-55/runtime/tutor/
H A Dtutor.vim58 " The japanese tutor is available in two encodings, guess which one to use
68 " The korean tutor is available in two encodings, guess which one to use
75 " The Chinese tutor is available in two encodings, guess which one to use
86 " The Polish tutor is available in two encodings, guess which one to use.
93 " The Turkish tutor is available in two encodings, guess which one to use
100 " The Greek tutor is available in three encodings, guess what to use.
112 " The Slovak tutor is available in three encodings, guess which one to use
119 " The Czech tutor is available in three encodings, guess which one to use
126 " The Russian tutor is available in three encodings, guess which one to use.
135 " The Hungarian tutor is available in three encodings, guess whic
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/builtins/
H A Dcd.c471 char *guess; local
474 guess = (char *)xmalloc (n);
476 switch (spname (dirname, guess))
480 free (guess);
484 return guess;
/macosx-10.10/ruby-106/ruby/ext/nkf/lib/
H A Dkconv.rb133 # guess
137 # Kconv.guess(str) => encoding
139 # Guess input encoding by NKF.guess
140 def guess(str) method in class:Kconv
141 ::NKF::guess(str)
143 module_function :guess
/macosx-10.10/apache-793/
H A Dwebpromotion.rb50 plist.value = CFPropertyList.guess(@plistDict)
77 plist.value = CFPropertyList.guess(@plistDict)
/macosx-10.10/tcl-105/tcl_ext/expect/expect/example/
H A Dgethostbyaddr143 proc guessHost {guess} {
146 set guessHost $guess
149 proc guessDomain {guess} {
152 set guessDomain $guess
179 # split out hostname from FQDN as guess for later
321 # print our best guess as to the name

Completed in 280 milliseconds

12345