- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUnmarshalTextAllocations (0.21 sec)
-
src/time/time_test.go
} if !t1.Equal(t2) { t.Errorf("The result t2: %+v after Unmarshal is not matched original t1: %+v", t2, t1) } } } func TestUnmarshalTextAllocations(t *testing.T) { in := []byte(testdataRFC3339UTC) // short enough to be stack allocated if allocs := testing.AllocsPerRun(100, func() { var t Time t.UnmarshalText(in) }); allocs != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0)