Searched defs:guess (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_biggest.c51 int size, guess, base, last; local
59 guess = size;
64 guess = (last+base)/2;
65 if (table[guess].num == n)
67 if (table[guess].num > n)
68 last = guess - 1;
70 base = guess + 1;
72 guess = last;
78 sizeof (nsc_keephot_t) * (guess-1));
79 table[guess]
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc1.c240 * using urec-srec data (if any), make best guess at login name
242 * must match on tty; use start time to help guess
256 char *guess; local
259 guess = NULL;
272 guess = up->ur_name;
277 return(guess);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c214 leak_ndx_t left = 0, right = lk_nbuffers - 1, guess; local
217 guess = (right + left) >> 1;
219 if (addr < LK_ADDR(lk_mtab[guess].lkm_base)) {
220 right = guess - 1;
224 if (addr >= lk_mtab[guess].lkm_limit) {
225 left = guess + 1;
229 return (guess);
H A Dtypegraph.c946 ssize_t left = 0, right = tg_nnodes - 1, guess; local
949 guess = (right + left) >> 1;
951 if (addr < tg_sorted[guess]->tgn_base) {
952 right = guess - 1;
956 if (addr >= tg_sorted[guess]->tgn_limit) {
957 left = guess + 1;
961 return (tg_sorted[guess]);
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dleaky_subr.c173 ssize_t left = 0, right = count - 1, guess; local
176 guess = (right + left) >> 1;
178 if (addr < listp[guess].ls_start) {
179 right = guess - 1;
183 if (addr >= listp[guess].ls_end) {
184 left = guess + 1;
188 return (guess);

Completed in 460 milliseconds