- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Hancic (0.16 sec)
-
src/bytes/bytes.go
if count == 0 { return []byte{} } // Since we cannot return an error on overflow, // we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 { panic("bytes: negative Repeat count") } if len(b) >= maxInt/count { panic("bytes: Repeat output length overflow") } n := len(b) * count if len(b) == 0 { return []byte{} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0)