MCPcopy Create free account
hub / github.com/valyala/bytebufferpool / TestPoolCalibrate

Function TestPoolCalibrate

pool_test.go:33–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31}
32
33func TestPoolCalibrate(t *testing.T) {
34 for i := 0; i < steps*calibrateCallsThreshold; i++ {
35 n := 1004
36 if i%15 == 0 {
37 n = rand.Intn(15234)
38 }
39 testGetPut(t, n)
40 }
41}
42
43func TestPoolVariousSizesSerial(t *testing.T) {
44 testPoolVariousSizes(t)

Callers

nothing calls this directly

Calls 1

testGetPutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…