- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 120 for error (0.2 sec)
-
src/cmd/asm/internal/asm/testdata/amd64error.s
MOVQ 2147483647+1(AX), AX // ERROR "offset too large" MOVQ 3395469782(R10), R8 // ERROR "offset too large" LEAQ 3395469782(AX), AX // ERROR "offset too large" ADDQ 3395469782(AX), AX // ERROR "offset too large" ADDL 3395469782(AX), AX // ERROR "offset too large" ADDW 3395469782(AX), AX // ERROR "offset too large" LEAQ 433954697820(AX), AX // ERROR "offset too large"
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 14 00:03:57 GMT 2023 - 8.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
if err != nil { in.Error("error parsing #line (cannot happen):", err) } tok = in.Stack.Next() if tok != scanner.String { in.expectText("expected file name in #line") } file, err := strconv.Unquote(in.Stack.Text()) if err != nil { in.Error("unquoting #line file name: ", err) } tok = in.Stack.Next() if tok != '\n' { in.Error("unexpected token at end of #line: ", tok) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 12.6K bytes - Viewed (0) -
src/bytes/reader_test.go
pos, err := r.Seek(tt.off, tt.seek) if err == nil && tt.seekerr != "" { t.Errorf("%d. want seek error %q", i, tt.seekerr) continue } if err != nil && err.Error() != tt.seekerr { t.Errorf("%d. seek error = %q; want %q", i, err.Error(), tt.seekerr) continue } if tt.wantpos != 0 && tt.wantpos != pos { t.Errorf("%d. pos = %d, want %d", i, pos, tt.wantpos) } buf := make([]byte, tt.n)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Viewed (0) -
src/archive/tar/writer.go
hdr Header // Shallow copy of Header that is safe for mutations blk block // Buffer to use as temporary local storage // err is a persistent error. // It is only the responsibility of every exported method of Writer to // ensure that this error is sticky. err error } // NewWriter creates a new Writer writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{w: w, curr: ®FileWriter{w, 0}} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/bytes/reader.go
func (r *Reader) Read(b []byte) (n int, err error) { if r.i >= int64(len(r.s)) { return 0, io.EOF } r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return } // ReadAt implements the [io.ReaderAt] interface. func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) { // cannot modify state - see io.ReaderAt if off < 0 { return 0, errors.New("bytes.Reader.ReadAt: negative offset") }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 3.9K bytes - Viewed (0) -
src/archive/zip/zip_test.go
t.Fatalf("error creating header: %v", err) } if _, err := f.Write([]byte("hi")); err != nil { t.Fatalf("error writing content: %v", err) } if err := z.Close(); err != nil { t.Fatalf("error closing zip writer: %v", err) } b := buf.Bytes() zf, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil { t.Fatalf("got %v, expected nil", err) } zh := zf.File[0].FileHeader
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} } // panicOnError is enabled when testing to abort execution on the first error // and turn it into a recoverable panic. var panicOnError bool func (p *Parser) errorf(format string, args ...interface{}) { if panicOnError { panic(fmt.Errorf(format, args...)) } if p.lineNum == p.errorLine { // Only one error per line. return } p.errorLine = p.lineNum if p.lex != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/builtin/builtin.go
// to stay in the language. func println(args ...Type) // The error built-in interface type is the conventional interface for // representing an error condition, with the nil value representing no error. type error interface { Error() string
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
misc/ios/detect.go
out, err := cmd.Output() if err != nil { fmt.Println(strings.Join(cmd.Args, "\n")) fmt.Fprintln(os.Stderr, err) os.Exit(1) } return out } func check(err error) { if err != nil { fail(err.Error()) } } func fail(msg string, v ...interface{}) { fmt.Fprintf(os.Stderr, msg, v...) fmt.Fprintln(os.Stderr) os.Exit(1)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0)