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

Method align_up

deps/v8/tools/grokdump.py:3199–3201  ·  view source on GitHub ↗
(self, a, size)

Source from the content-addressed store, hash-verified

3197 return a - alignment_correction
3198
3199 def align_up(self, a, size):
3200 alignment_correction = (size - 1) - ((a + size - 1) % size)
3201 return a + alignment_correction
3202
3203 def format_object(self, address):
3204 heap_object = self.padawan.SenseObject(address)

Callers 1

output_wordsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected