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

Method align_down

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

Source from the content-addressed store, hash-verified

3193 return
3194
3195 def align_down(self, a, size):
3196 alignment_correction = a % size
3197 return a - alignment_correction
3198
3199 def align_up(self, a, size):
3200 alignment_correction = (size - 1) - ((a + size - 1) % size)

Callers 2

output_wordsMethod · 0.95
output_asciiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected