- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ErrTooLong (0.18 sec)
-
src/cmd/go/testdata/script/test_fuzz_mutator.txt
return fmt.Errorf("worker: tested something other than target: %s", line) } if strings.TrimPrefix(line, "FuzzA ") != `"seed"` { sawAMutant = true } } if err := scan.Err(); err != nil && err != bufio.ErrTooLong { return err } if !sawAMutant { return fmt.Errorf("worker: did not test any mutants") } return nil } -- mutator_test.go -- package fuzz_test import ( "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go
n, err = r.Read(b) if err != nil { t.Fatalf("expected nil: %d / %v", n, err) } r = NewDocumentDecoder(io.NopCloser(bytes.NewReader([]byte(dd)))) b = make([]byte, maxLen) n, err = r.Read(b) if err != bufio.ErrTooLong { t.Fatalf("bufio.Scanner: token too long: %d / %v", n, err) } } func TestYAMLDecoderCallsAfterErrShortBufferRestOfFrame(t *testing.T) { d := `--- stuff: 1 test-foo: 1`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 12.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"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}, {"NewWriter", Func, 0},
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.1.txt
pkg bufio, type Scanner struct pkg bufio, type SplitFunc func([]uint8, bool) (int, []uint8, error) pkg bufio, var ErrAdvanceTooFar error pkg bufio, var ErrNegativeAdvance error pkg bufio, var ErrTooLong error pkg bytes, const MinRead = 512 pkg bytes, func TrimPrefix([]uint8, []uint8) []uint8 pkg bytes, func TrimSuffix([]uint8, []uint8) []uint8 pkg bytes, method (*Buffer) Grow(int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)