MCPcopy Index your code
hub / github.com/segmentio/encoding / align

Function align

json/codec.go:859–864  ·  view source on GitHub ↗
(align, size uintptr)

Source from the content-addressed store, hash-verified

857}
858
859func align(align, size uintptr) uintptr {
860 if align != 0 && (size%align) != 0 {
861 size = ((size / align) + 1) * align
862 }
863 return size
864}
865
866func inlined(t reflect.Type) bool {
867 switch t.Kind() {

Callers 6

alignedSizeFunction · 0.70
encodeMapStringStringMethod · 0.70
encodeMapStringBoolMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…