MCPcopy Create free account
hub / github.com/djherbis/buffer / TestFilePartition

Function TestFilePartition

buffer_test.go:439–444  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

437}
438
439func TestFilePartition(t *testing.T) {
440 buf := NewPartition(NewFilePool(1024, ""))
441 checkCap(t, buf, math.MaxInt64)
442 runPerfectSeries(t, buf)
443 buf.Reset()
444}
445
446func TestSmallMulti(t *testing.T) {
447 if empty := NewMulti(); empty != nil {

Callers

nothing calls this directly

Calls 5

NewPartitionFunction · 0.85
NewFilePoolFunction · 0.85
checkCapFunction · 0.85
runPerfectSeriesFunction · 0.85
ResetMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…