- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSizeAllocs (0.18 sec)
-
src/encoding/binary/binary_test.go
uint16(0), uint32(0), uint64(0), float32(0), float64(0), complex64(0), complex128(0), Struct{}, &Struct{}, []Struct{}, ([]Struct)(nil), [1]Struct{}, } func TestSizeAllocs(t *testing.T) { for _, data := range sizableTypes { t.Run(fmt.Sprintf("%T", data), func(t *testing.T) { // Size uses a sync.Map behind the scenes. The slow lookup path of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0)