Lines Matching refs:cacheSize
49 if (static_cast<unsigned>(i) < cacheSize)
61 if (i < cacheSize)
71 static const size_t cacheSize = 64;
79 CacheEntry<double>& lookup(double d) { return doubleCache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; }
80 CacheEntry<int>& lookup(int i) { return intCache[WTF::IntHash<int>::hash(i) & (cacheSize - 1)]; }
81 CacheEntry<unsigned>& lookup(unsigned i) { return unsignedCache[WTF::IntHash<unsigned>::hash(i) & (cacheSize - 1)]; }
84 ASSERT(i < cacheSize);
90 std::array<CacheEntry<double>, cacheSize> doubleCache;
91 std::array<CacheEntry<int>, cacheSize> intCache;
92 std::array<CacheEntry<unsigned>, cacheSize> unsignedCache;
93 std::array<String, cacheSize> smallIntCache;