Searched refs:source_hash (Results 1 - 10 of 10) sorted by relevance
/third_party/node/deps/v8/src/objects/ |
H A D | lookup-cache-inl.h | 19 uint32_t source_hash = static_cast<uint32_t>(source.ptr()) >> kTaggedSizeLog2; in Hash() local 21 return (source_hash ^ name_hash) % kLength; in Hash()
|
/third_party/python/Lib/ |
H A D | py_compile.py | 165 source_hash = importlib.util.source_hash(source_bytes) 168 source_hash,
|
H A D | zipimport.py | 656 source_hash = _imp.source_hash( 662 data, source_hash, fullname, exc_details)
|
/third_party/python/Lib/importlib/ |
H A D | _bootstrap_external.py | 703 def _validate_hash_pyc(data, source_hash, name, exc_details): 710 *source_hash* is the importlib.util.source_hash() of the source file. 720 if data[8:16] != source_hash: 750 def _code_to_hash_pyc(code, source_hash, checked=True): 755 assert len(source_hash) == 8 756 data.extend(source_hash) 1017 source_hash = None 1050 source_hash = _imp.source_hash( [all...] |
H A D | util.py | 22 def source_hash(source_bytes): function 24 return _imp.source_hash(_RAW_MAGIC_NUMBER, source_bytes)
|
/third_party/node/deps/v8/src/snapshot/ |
H A D | code-serializer.h | 95 uint32_t source_hash() const { return source_hash_; } in source_hash() function in v8::internal::SerializedCodeSanityCheckResult::CodeSerializer 98 CodeSerializer(Isolate* isolate, uint32_t source_hash);
|
H A D | code-serializer.cc | 46 CodeSerializer::CodeSerializer(Isolate* isolate, uint32_t source_hash) in CodeSerializer() argument 48 source_hash_(source_hash) {} in CodeSerializer() 595 SetHeaderValue(kSourceHashOffset, cs->source_hash()); in SerializedCodeData() 619 uint32_t source_hash = GetHeaderValue(kSourceHashOffset); in SanityCheckJustSource() local 620 if (source_hash != expected_source_hash) { in SanityCheckJustSource()
|
/third_party/python/Lib/test/ |
H A D | test_zipimport.py | 195 source_hash = importlib.util.source_hash(source) 198 source_hash, 210 source_hash = importlib.util.source_hash(source) 213 source_hash,
|
H A D | test_imp.py | 354 self.assertEqual(_imp.source_hash(42, b'hi'), b'\xfb\xd9G\x05\xaf$\x9b~') 355 self.assertEqual(_imp.source_hash(43, b'hi'), b'\xd0/\x87C\xccC\xff\xe2')
|
/third_party/python/Lib/test/test_importlib/source/ |
H A D | test_file_loader.py | 267 self.util.source_hash(b'state = "new"'), 322 self.util.source_hash(b'state = "old"'), 353 self.util.source_hash(b'state = "new"'),
|
Completed in 10 milliseconds