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

Method __init__

deps/v8/tools/grokdump.py:1384–1387  ·  view source on GitHub ↗
(self, heap, map, address)

Source from the content-addressed store, hash-verified

1382 return self.heap.TaggedPointerSize() * 3
1383
1384 def __init__(self, heap, map, address):
1385 String.__init__(self, heap, map, address)
1386 self.chars = heap.reader.ReadBytes(self.address + self.CharsOffset(),
1387 self.length).decode('utf8')
1388
1389 def GetChars(self):
1390 return self.chars

Callers

nothing calls this directly

Calls 4

CharsOffsetMethod · 0.95
ReadBytesMethod · 0.80
decodeMethod · 0.65
__init__Method · 0.45

Tested by

no test coverage detected