HomeSort by relevance Sort by last modified time
    Searched refs:bincount (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/smhasher/src/
Stats.cpp 45 double calcScore ( const int * bins, const int bincount, const int keycount )
47 double n = bincount;
54 for(int i = 0; i < bincount; i++)
Stats.h 12 double calcScore ( const int * bins, const int bincount, const int ballcount );
134 int bincount = (1 << width); local
136 memset(&bins[0],0,sizeof(int)*bincount);
152 while(bincount >= 256)
154 double n = calcScore(&bins[0],bincount,(int)hashes.size());
166 bincount /= 2;
170 for(int i = 0; i < bincount; i++)
172 bins[i] += bins[i+bincount];

Completed in 42 milliseconds