Lines Matching defs:beg
42 dist_linear(int buckets, int beg, int end)
46 int dist = end - beg + 1;
49 out[pos] = beg + (pos * dist)/buckets;
58 * b_0 = beg;
65 * beg * r = end
70 * r = -------/ ((end + 1) / beg)
72 * log ((end + 1) / beg)
76 * (log ((end + 1) / beg)) / buckets
81 dist_geometric(int buckets, int beg, int end, int minbucketsize)
84 return (dist_linear(buckets, beg, end));
98 out[0] = beg;
103 begzero = (beg == 0);
105 beg = 1;
107 r = exp(log((double)(end + 1) / beg) / buckets);
124 * A final wrinkle is that beg *can* be zero. We compute r and b
125 * as if beg was 1, then start last as 0. This can lead to a bit
129 b = last = beg;