- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for cvtInt (0.17 sec)
-
src/reflect/value.go
// for classes of conversions. For example, the first function, cvtInt, // takes any value v of signed int type and returns the value converted // to type t, where t is any signed or unsigned int type. // convertOp: intXX -> [u]intXX func cvtInt(v Value, t Type) Value { return makeInt(v.flag.ro(), uint64(v.Int()), t) } // convertOp: uintXX -> [u]intXX func cvtUint(v Value, t Type) Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go
return gover{} } v.kind, x = x[:i], x[i:] if x == "" { return v } v.pre, x, ok = cutInt(x) if !ok || x != "" { return gover{} } return v } // cutInt scans the leading decimal number at the start of x to an integer // and returns that value and the rest of the string. func cutInt(x string) (n, rest string, ok bool) { i := 0 for i < len(x) && '0' <= x[i] && x[i] <= '9' { i++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:52:54 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/gover/gover.go
} v.Kind, x = x[:i], x[i:] if x == "" { return v } v.Pre, x, ok = cutInt(x) if !ok || x != "" { return Version{} } return v } // cutInt scans the leading decimal number at the start of x to an integer // and returns that value and the rest of the string. func cutInt(x string) (n, rest string, ok bool) { i := 0 for i < len(x) && '0' <= x[i] && x[i] <= '9' { i++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 5.8K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
// Next object is used to ignore new objects in the source & target nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) { for { ctnt, ok := <-ch if !ok { return minio.ObjectInfo{}, false } if ctnt.LastModified.Before(maxObjectModTime) { return ctnt, ok } } } sclnt, err := buildS3Client(sourceEndpoint, sourceAccessKey, sourceSecretKey, insecure)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 22 15:12:47 UTC 2022 - 8.4K bytes - Viewed (0)