- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for MinInt (0.19 sec)
-
api/go1.17.txt
pkg math (darwin-arm64), const MinInt = -9223372036854775808 pkg math (darwin-arm64-cgo), const MaxInt = 9223372036854775807 pkg math (darwin-arm64-cgo), const MaxUint = 18446744073709551615 pkg math (darwin-arm64-cgo), const MinInt = -9223372036854775808 pkg math (freebsd-386), const MaxInt = 2147483647 pkg math (freebsd-386), const MaxUint = 4294967295 pkg math (freebsd-386), const MinInt = -2147483648
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
_ = int64(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ int = minInt /* ERROR "overflows" */ - 1 _ int = minInt _ int = maxInt _ int = maxInt /* ERROR "overflows" */ + 1 _ int = smallestFloat64 /* ERROR "truncated" */ _ = int(minInt /* ERROR "overflows" */ - 1) _ = int(minInt) _ = int(maxInt) _ = int(maxInt /* ERROR "overflows" */ + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
src/math/const.go
) // Integer limit values. const ( intSize = 32 << (^uint(0) >> 63) // 32 or 64 MaxInt = 1<<(intSize-1) - 1 // MaxInt32 or MaxInt64 depending on intSize. MinInt = -1 << (intSize - 1) // MinInt32 or MinInt64 depending on intSize. MaxInt8 = 1<<7 - 1 // 127 MinInt8 = -1 << 7 // -128 MaxInt16 = 1<<15 - 1 // 32767
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 14:07:39 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopbce.go
if step > 0 { if limit.isGenericIntConst() { // Figure out the actual largest value. v := limit.AuxInt if !inclusive { if v == minSignedValue(limit.Type) { return false // < minint is never satisfiable. } v-- } if init.isGenericIntConst() { // Use stride to compute a better lower limit. if init.AuxInt > v { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/encoding/gob/decgen.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 14:15:38 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
wantOK: true, }, { name: "maxint", fields: fields{ value: []byte(strconv.FormatInt(math.MaxInt64, 10)), }, want: math.MaxInt64, wantOK: true, }, { name: "minint", fields: fields{ value: []byte(strconv.FormatInt(math.MinInt64, 10)), }, want: math.MinInt64, wantOK: true, }, { name: "max-overflow-int", fields: fields{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
test/loopbce.go
useString(a[i:]) // ERROR "(\([0-9]+\) )?Proved IsSliceInBounds$" } for i := int64(0); i < j+122+int64(-1<<63); i++ { // ERROR "Induction variable: limits \[0,\?\), increment 1$" // len(a)-123+122+MinInt overflows when len(a) == 0, so a bound check is needed here useString(a[i:]) } } func nobce3(a [100]int64) [100]int64 { min := int64((-1) << 63) max := int64((1 << 63) - 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 13.8K bytes - Viewed (0) -
src/encoding/gob/dec_helpers.go
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/compile/internal/ssa/rewrite.go
} if fcs.V { fc |= 8 } return fc } // Note: addFlags(x,y) != subFlags(x,-y) in some situations: // - the results of the C flag are different // - the results of the V flag when y==minint are different // addFlags64 returns the flags that would be set from computing x+y. func addFlags64(x, y int64) flagConstant { var fcb flagConstantBuilder fcb.Z = x+y == 0 fcb.N = x+y < 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/runtime/defs_windows_arm64.go
// So we set both here, to make a working _CONTEXT_CONTROL. const _CONTEXT_CONTROL = 0x400003 type neon128 struct { low uint64 high int64 } // See https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-arm64_nt_context type context struct { contextflags uint32 cpsr uint32 x [31]uint64 // fp is x[29], lr is x[30] xsp uint64 pc uint64 v [32]neon128
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.1K bytes - Viewed (0)