Searched refs:numKeysOfSize (Results 1 – 2 of 2) sorted by relevance
793 int *numKeysOfSize = new int[maxLen+1]; in doKeyHist() local796 numKeysOfSize[i] = 0; in doKeyHist()803 numKeysOfSize[len] += 1; in doKeyHist()809 if (numKeysOfSize[i] > 0) { in doKeyHist()810 printf("%d, %f, %f\n", i, (float)accumulatedLen[i] / (float)numKeysOfSize[i], in doKeyHist()811 (float)accumulatedLen[i] / (float)(numKeysOfSize[i] * i)); in doKeyHist()815 delete []numKeysOfSize ; in doKeyHist()
558 int[] numKeysOfSize = new int[maxLen + 1]; in doKeyHist() local564 numKeysOfSize[len] += 1; in doKeyHist()570 if (numKeysOfSize[i] > 0) { in doKeyHist()571 … System.out.println(i + ", " + nf.format(accumulatedLen[i] / (numKeysOfSize[i]+ 0.0)) + ", " in doKeyHist()572 + nf.format(accumulatedLen[i] / (numKeysOfSize[i] * i + 0.0))); in doKeyHist()