MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / align

Function align

Libraries/Utilities/utf8.js:89–91  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

87
88// align to multiples of 8 bytes
89function align(size: number): number {
90 return size % 8 ? (Math.floor(size / 8) + 1) << 3 : size;
91}

Callers 1

_reallocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…