Searched refs:NumShards (Results 1 – 2 of 2) sorted by relevance
92 NumShards = in DependencyScanningFilesystemSharedCache()94 CacheShards = std::make_unique<CacheShard[]>(NumShards); in DependencyScanningFilesystemSharedCache()101 return CacheShards[llvm::hash_value(Filename) % NumShards]; in getShardForFilename()108 return CacheShards[Hash % NumShards]; in getShardForUID()
225 unsigned NumShards; variable