Home
last modified time | relevance | path

Searched refs:prefix_hash (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-engine.h72 size_t prefix_hash; member
77 DCHECK_IMPLIES(eq, prefix_hash == other.prefix_hash);
82 if (prefix_hash != other.prefix_hash) {
85 return prefix_hash < other.prefix_hash;
93 DCHECK_EQ(prefix_hash, other.prefix_hash);
104 bool GetStreamingCompilationOwnership(size_t prefix_hash);
105 void StreamingCompilationFailed(size_t prefix_hash);
318 bool GetStreamingCompilationOwnership(size_t prefix_hash);
322 void StreamingCompilationFailed(size_t prefix_hash);
Dwasm-engine.cc188 size_t prefix_hash = PrefixHash(wire_bytes); in MaybeGetNativeModule() local
189 NativeModuleCache::Key key{prefix_hash, wire_bytes}; in MaybeGetNativeModule()
219 bool NativeModuleCache::GetStreamingCompilationOwnership(size_t prefix_hash) { in GetStreamingCompilationOwnership() argument
221 auto it = map_.lower_bound(Key{prefix_hash, {}}); in GetStreamingCompilationOwnership()
222 if (it != map_.end() && it->first.prefix_hash == prefix_hash) { in GetStreamingCompilationOwnership()
224 PrefixHash(it->first.bytes) == prefix_hash); in GetStreamingCompilationOwnership()
227 Key key{prefix_hash, {}}; in GetStreamingCompilationOwnership()
233 void NativeModuleCache::StreamingCompilationFailed(size_t prefix_hash) { in StreamingCompilationFailed() argument
235 Key key{prefix_hash, {}}; in StreamingCompilationFailed()
247 size_t prefix_hash = PrefixHash(native_module->wire_bytes()); in Update() local
[all …]