- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testMakeInts (0.17 sec)
-
test/makeslice.go
} }() f() } func testInts(n uint64) { testMakeInts(n) testMakeCopyInts(n) testMakeInAppendInts(n) } func testBytes(n uint64) { testMakeBytes(n) testMakeCopyBytes(n) testMakeInAppendBytes(n) } // Test make panics for given length or capacity n. func testMakeInts(n uint64) { type T []int shouldPanic("len out of range", func() { _ = make(T, int(n)) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 07 17:50:24 UTC 2020 - 5.5K bytes - Viewed (0)