| 12345678910111213141516171819202122 | package kcp_testimport (	"testing"	"github.com/v2ray/v2ray-core/testing/assert"	. "github.com/v2ray/v2ray-core/transport/internet/kcp")func TestBuffer(t *testing.T) {	assert := assert.On(t)	b := NewBuffer()	for i := 0; i < NumDistro; i++ {		x := b.Allocate()		assert.Pointer(x).IsNotNil()		x.Release()	}	assert.Pointer(b.Allocate()).IsNil()	b.Release()}
 |