- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MaxInt64 (0.03 sec)
-
schema/serializer_test.go
var ( intValue = math.MaxInt64 int8Value = int8(math.MaxInt8) int16Value = int16(math.MaxInt16) int32Value = int32(math.MaxInt32) int64Value = int64(math.MaxInt64) uintValue = uint(math.MaxInt64) uint8Value = uint8(math.MaxUint8) uint16Value = uint16(math.MaxUint16) uint32Value = uint32(math.MaxUint32) uint64Value = uint64(math.MaxInt64) maxInt64Plus1 = uint64(math.MaxInt64 + 1)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 4.8K bytes - Viewed (0) -
schema/serializer.go
rv := reflect.ValueOf(fieldValue) switch fieldValue.(type) { case int, int8, int16, int32, int64: result = time.Unix(rv.Int(), 0).UTC() case uint, uint8, uint16, uint32, uint64: if uv := rv.Uint(); uv > math.MaxInt64 { err = fmt.Errorf("integer overflow conversion uint64(%d) -> int64", uv) } else { result = time.Unix(int64(uv), 0).UTC() //nolint:gosec } case *int, *int8, *int16, *int32, *int64: if rv.IsZero() {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 5.1K bytes - Viewed (0)