- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetByteBufferCap (0.05 sec)
-
internal/grid/grid.go
// There is no minimum size. var GetByteBuffer = func() []byte { b := *internalByteBuffer.Get() return b[:0] } // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity. func GetByteBufferCap(wantSz int) []byte { if wantSz < defaultBufferSize { b := GetByteBuffer()[:0] if cap(b) >= wantSz { return b } PutByteBuffer(b) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7K bytes - Viewed (0)