- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ErrNegativeCount (0.29 sec)
-
src/bufio/bufio.go
) var ( ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte") ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune") ErrBufferFull = errors.New("bufio: buffer full") ErrNegativeCount = errors.New("bufio: negative count") ) // Buffered input. // Reader implements buffering for an io.Reader object. type Reader struct { buf []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/bufio/bufio_test.go
} if s, err := buf.Peek(4); string(s) != "abcd" || err != nil { t.Fatalf("want %q got %q, err=%v", "abcd", string(s), err) } if _, err := buf.Peek(-1); err != ErrNegativeCount { t.Fatalf("want ErrNegativeCount got %v", err) } if s, err := buf.Peek(32); string(s) != "abcdefghijklmnop" || err != ErrBufferFull { t.Fatalf("want %q, ErrBufFull got %q, err=%v", "abcdefghijklmnop", string(s), err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ErrBadReadCount", Var, 15}, {"ErrBufferFull", Var, 0}, {"ErrFinalToken", Var, 6}, {"ErrInvalidUnreadByte", Var, 0}, {"ErrInvalidUnreadRune", Var, 0}, {"ErrNegativeAdvance", Var, 1}, {"ErrNegativeCount", Var, 0}, {"ErrTooLong", Var, 1}, {"MaxScanTokenSize", Const, 1}, {"NewReadWriter", Func, 0}, {"NewReader", Func, 0}, {"NewReaderSize", Func, 0}, {"NewScanner", Func, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg bufio, type Reader struct pkg bufio, type Writer struct pkg bufio, var ErrBufferFull error pkg bufio, var ErrInvalidUnreadByte error pkg bufio, var ErrInvalidUnreadRune error pkg bufio, var ErrNegativeCount error pkg bytes, const MinRead ideal-int pkg bytes, func Compare([]uint8, []uint8) int pkg bytes, func Contains([]uint8, []uint8) bool pkg bytes, func Count([]uint8, []uint8) int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)