Lines Matching refs:n
62 size_t n; in addEvents_generic() local
64 for (n = 0; n < limit; n+=samplingRate) { in addEvents_generic()
65 fp->events[hash2(p+n, hashLog)]++; in addEvents_generic()
99 size_t n; in fpDistance() local
101 for (n = 0; n < ((size_t)1 << hashLog); n++) { in fpDistance()
103 … abs64((S64)fp1->events[n] * (S64)fp2->nbEvents - (S64)fp2->events[n] * (S64)fp1->nbEvents); in fpDistance()
127 size_t n; in mergeEvents() local
128 for (n = 0; n < HASHTABLESIZE; n++) { in mergeEvents()
129 acc->events[n] += newfp->events[n]; in mergeEvents()
136 size_t n; in flushEvents() local
137 for (n = 0; n < HASHTABLESIZE; n++) { in flushEvents()
138 fpstats->pastEvents.events[n] = fpstats->newEvents.events[n]; in flushEvents()
146 size_t n; in removeEvents() local
147 for (n = 0; n < HASHTABLESIZE; n++) { in removeEvents()
148 assert(acc->events[n] >= slice->events[n]); in removeEvents()
149 acc->events[n] -= slice->events[n]; in removeEvents()