Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Redundancy/go-sync
/ MakeC2Buffer
Function
MakeC2Buffer
circularbuffer/noalloc.go:38–51 ·
view source on GitHub ↗
(blockSize int)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
NewRollsum32
Function · 0.92
BenchmarkIncrementalRollsum32WithC2
Function · 0.92
startFindMatchingBlocks_int
Method · 0.92
TestCreateC2Buffer
Function · 0.85
TestWriteBlock
Function · 0.85
TestWritingUnderCapacityGivesEmptyEvicted
Function · 0.85
TestWritingMultipleBytesWhenBufferIsNotFull
Function · 0.85
TestEvictedRegession1
Function · 0.85
TestGetBlock
Function · 0.85
TestWriteTwoBlocksGet
Function · 0.85
TestWriteSingleByteGetSingleByte
Function · 0.85
TestWriteTwoBlocksGetEvicted
Function · 0.85
Calls
no outgoing calls
Tested by
14
BenchmarkIncrementalRollsum32WithC2
Function · 0.74
TestCreateC2Buffer
Function · 0.68
TestWriteBlock
Function · 0.68
TestWritingUnderCapacityGivesEmptyEvicted
Function · 0.68
TestWritingMultipleBytesWhenBufferIsNotFull
Function · 0.68
TestEvictedRegession1
Function · 0.68
TestGetBlock
Function · 0.68
TestWriteTwoBlocksGet
Function · 0.68
TestWriteSingleByteGetSingleByte
Function · 0.68
TestWriteTwoBlocksGetEvicted
Function · 0.68
TestWriteSingleByteReturnsSingleEvictedByte
Function · 0.68
TestTruncatingAfterWriting
Function · 0.68