MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / ensureSize

Function ensureSize

utilities/trie.go:125–130  ·  view source on GitHub ↗
(da *DoubleArray, i int)

Source from the content-addressed store, hash-verified

123}
124
125func ensureSize(da *DoubleArray, i int) {
126 for i >= len(da.Base) {
127 da.Base = append(da.Base, make([]int, len(da.Base)+1)...)
128 da.Check = append(da.Check, make([]int, len(da.Check)+1)...)
129 }
130}
131
132type byLex [][]int
133

Callers 1

addSeqsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected