- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Brown (0.18 sec)
-
src/bytes/bytes_test.go
for i := 0; i < b.N; i++ { Trim(x[:k], cs[:j]) } }) } } } func BenchmarkTrimByte(b *testing.B) { x := []byte(" the quick brown fox ") for i := 0; i < b.N; i++ { Trim(x, " ") } } func BenchmarkIndexPeriodic(b *testing.B) { key := []byte{1, 1} for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
func (r panicReader) Read(p []byte) (int, error) { if r.panic { panic("oops") } return 0, io.EOF } // Make sure that an empty Buffer remains empty when // it is "grown" before a Read that panics func TestReadFromPanicReader(t *testing.T) { // First verify non-panic behaviour var buf Buffer i, err := buf.ReadFrom(panicReader{}) if err != nil { t.Fatal(err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/bytes/buffer.go
return nil } // WriteRune appends the UTF-8 encoding of Unicode code point r to the // buffer, returning its length and an error, which is always nil but is // included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed; // if it becomes too large, WriteRune will panic with [ErrTooLarge]. func (b *Buffer) WriteRune(r rune) (n int, err error) { // Compare as uint32 to correctly handle negative runes. if uint32(r) < utf8.RuneSelf {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
api/except.txt
pkg syscall (openbsd-386), type Dirent struct, Fileno uint32 pkg syscall (openbsd-386), type FdSet struct, Bits [32]int32 pkg syscall (openbsd-386), type Kevent_t struct, Data int32 pkg syscall (openbsd-386), type Mclpool struct, Grown uint32 pkg syscall (openbsd-386), type RtMetrics struct, Expire uint32 pkg syscall (openbsd-386), type Stat_t struct, Ino uint32 pkg syscall (openbsd-386), type Stat_t struct, Lspare0 int32
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu May 25 00:13:30 GMT 2023 - 34.6K bytes - Viewed (0)