Lines Matching defs:prefix_hash
188 size_t prefix_hash = PrefixHash(wire_bytes);
189 NativeModuleCache::Key key{prefix_hash, wire_bytes};
219 bool NativeModuleCache::GetStreamingCompilationOwnership(size_t prefix_hash) {
221 auto it = map_.lower_bound(Key{prefix_hash, {}});
222 if (it != map_.end() && it->first.prefix_hash == prefix_hash) {
224 PrefixHash(it->first.bytes) == prefix_hash);
227 Key key{prefix_hash, {}};
233 void NativeModuleCache::StreamingCompilationFailed(size_t prefix_hash) {
235 Key key{prefix_hash, {}};
247 size_t prefix_hash = PrefixHash(native_module->wire_bytes());
249 map_.erase(Key{prefix_hash, {}});
250 const Key key{prefix_hash, wire_bytes};
280 size_t prefix_hash = PrefixHash(native_module->wire_bytes());
281 map_.erase(Key{prefix_hash, native_module->wire_bytes()});
1251 bool WasmEngine::GetStreamingCompilationOwnership(size_t prefix_hash) {
1253 if (native_module_cache_.GetStreamingCompilationOwnership(prefix_hash)) {
1263 void WasmEngine::StreamingCompilationFailed(size_t prefix_hash) {
1264 native_module_cache_.StreamingCompilationFailed(prefix_hash);