MCPcopy Index your code
hub / github.com/nodejs/node / LengthOffset

Method LengthOffset

deps/v8/tools/grokdump.py:1362–1364  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1360
1361class String(HeapObject):
1362 def LengthOffset(self):
1363 # First word after the map is the hash, the second is the length.
1364 return self.heap.TaggedPointerSize() * 2
1365
1366 def __init__(self, heap, map, address):
1367 HeapObject.__init__(self, heap, map, address)

Callers 1

__init__Method · 0.95

Calls 1

TaggedPointerSizeMethod · 0.45

Tested by

no test coverage detected