- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 186 for error_0 (0.11 sec)
-
src/encoding/gob/decgen.go
if x < ^int64(^uint(0)>>1) || int64(^uint(0)>>1) < x { error_(ovfl) } slice[i] = int(x)`, }, { "int16", "Int16", `x := state.decodeInt() if x < math.MinInt16 || math.MaxInt16 < x { error_(ovfl) } slice[i] = int16(x)`, }, { "int32", "Int32", `x := state.decodeInt() if x < math.MinInt32 || math.MaxInt32 < x { error_(ovfl) } slice[i] = int32(x)`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 14:15:38 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/cgo/ast.go
if err != nil { if list, ok := err.(scanner.ErrorList); ok { // If err is a scanner.ErrorList, its String will print just // the first error and then (+n more errors). // Instead, turn it into a new Error that will return // details for all the errors. for _, e := range list { fmt.Fprintln(os.Stderr, e) } os.Exit(2) } fatalf("parsing %s: %s", name, err) } return ast1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
src/go/doc/testdata/error2.go
// license that can be found in the LICENSE file. package error2 type I0 interface { // When embedded, the locally-declared error interface // is only visible if all declarations are shown. error } type T0 struct { ExportedField interface { // error should not be visible error } } type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 618 bytes - Viewed (0) -
pkg/kubelet/checkpointmanager/errors/errors.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 16 05:30:20 UTC 2018 - 886 bytes - Viewed (0) -
internal/s3select/simdj/errors.go
message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go
utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/sets" ) // Error is an implementation of the 'error' interface, which represents a // field-level validation error. type Error struct { Type ErrorType Field string BadValue interface{} Detail string } var _ error = &Error{} // Error implements the error interface. func (v *Error) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.1K bytes - Viewed (0) -
src/encoding/gob/dec_helpers.go
} u := state.decodeUint() n := int(u) if n < 0 || uint64(n) != u || n > state.b.Len() { errorf("length of string exceeds input size (%d bytes)", u) } if n > state.b.Len() { errorf("string data too long for buffer: %d", n) } // Read the data. data := state.b.Bytes() if len(data) < n { errorf("invalid string length %d: exceeds input size %d", n, len(data)) } slice[i] = string(data[:n])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 19:28:46 UTC 2023 - 15.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_issue6480.txt
cmp errors.test$GOEXE errors2.test # // errors2.test has no exeSuffix because -o above doesn't have it # Check errors.test mtime is updated exec $GOBIN/now cp stdout start_time.txt go test -x -c -test.bench=XXX errors ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked exec $GOBIN/mtime errors.test$GOEXE cp stdout errors1_mod_time.txt exec $GOBIN/before start_time.txt errors1_mod_time.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.7K bytes - Viewed (0) -
src/encoding/gob/decode.go
b, err := state.b.ReadByte() if err != nil { error_(err) } if b <= 0x7f { return uint64(b) } n := -int(int8(b)) if n > uint64Size { error_(errBadUint) } buf := state.b.Bytes() if len(buf) < n { errorf("invalid uint data length %d: exceeds input size %d", n, len(buf)) } // Don't need to check error; it's safe to loop regardless.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:10:23 UTC 2023 - 40.1K bytes - Viewed (0) -
src/go/types/badlinkname.go
// See go.dev/issue/67401. // //go:linkname badlinkname_Checker_infer go/types.(*Checker).infer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 702 bytes - Viewed (0)