Lines Matching defs:totalLength
807 int totalLength = 0;
814 totalLength += wordLength;
821 if (totalLength <= 0 || totalFreq <= 0) {
866 const int normalizedScoreNotEnoughDemotionAdjustment = 100 - 100 / (totalLength * totalLength);
871 // * (1 - 1 / totalLength) / (1 - 1 / (totalLength + 1))
873 multiplyIntCapped(powerIntCapped(typedLetterMultiplier, totalLength), &totalFreq);
880 const int normalizedScoreDemotionRateOffset = (100 + 100 / totalLength);