- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for timeout (0.14 sec)
-
src/bufio/bufio_test.go
} var readMakers = []readMaker{ {"full", func(r io.Reader) io.Reader { return r }}, {"byte", iotest.OneByteReader}, {"half", iotest.HalfReader}, {"data+err", iotest.DataErrReader}, {"timeout", iotest.TimeoutReader}, } // Call ReadString (which ends up calling everything else) // to accumulate the text of a file. func readLines(b *Reader) string { s := "" for { s1, err := b.ReadString('\n')
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/bytes/bytes_test.go
var isValidRune = predicate{ func(r rune) bool { return r != utf8.RuneError }, "IsValidRune", } type TrimFuncTest struct { f predicate in string trimOut []byte leftOut []byte rightOut []byte } func not(p predicate) predicate { return predicate{ func(r rune) bool { return !p.f(r) }, "not " + p.name, } }
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)