- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for MinInt64 (0.19 sec)
-
test/loopbce.go
} for i := int64(math.MinInt64 + 7); i > math.MinInt64+2; i -= 4 { useString("foo") } for i := int64(math.MinInt64 + 6); i > math.MinInt64+2; i -= 4 { // ERROR "Induction variable: limits \[-9223372036854775802,-9223372036854775802\], increment 4" useString("foo") } for i := int64(math.MinInt64 + 9); i >= math.MinInt64+2; i -= 4 { // ERROR "Induction variable: limits \[-9223372036854775803,-9223372036854775799\], increment 4"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 13.8K bytes - Viewed (0) -
test/fixedbugs/issue53653.go
h() } func f() { for i := int64(math.MinInt64); i >= math.MinInt64; i-- { if i > 0 { println("done") return } println(i, i > 0) } } func g() { for i := int64(math.MinInt64) + 1; i >= math.MinInt64; i-- { if i > 0 { println("done") return } println(i, i > 0) } } func h() { for i := int64(math.MinInt64) + 2; i >= math.MinInt64; i -= 2 { if i > 0 { println("done")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 06 17:00:37 UTC 2022 - 659 bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
_ = uintptr(smallestFloat64 /* ERROR "cannot convert" */) ) const ( _ float32 = minInt64 _ float64 = minInt64 _ complex64 = minInt64 _ complex128 = minInt64 _ = float32(minInt64) _ = float64(minInt64) _ = complex64(minInt64) _ = complex128(minInt64) ) const ( _ float32 = maxUint64 _ float64 = maxUint64 _ complex64 = maxUint64
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/internal/itoa/itoa_test.go
package itoa_test import ( "fmt" "internal/itoa" "math" "testing" ) var ( minInt64 int64 = math.MinInt64 maxInt64 int64 = math.MaxInt64 maxUint64 uint64 = math.MaxUint64 ) func TestItoa(t *testing.T) { tests := []int{int(minInt64), math.MinInt32, -999, -100, -1, 0, 1, 100, 999, math.MaxInt32, int(maxInt64)} for _, tt := range tests { got := itoa.Itoa(tt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 02:53:50 UTC 2023 - 1.1K bytes - Viewed (0) -
src/math/const_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 03 22:44:33 UTC 2021 - 1.3K bytes - Viewed (0) -
src/math/const.go
MinInt = -1 << (intSize - 1) // MinInt32 or MinInt64 depending on intSize. MaxInt8 = 1<<7 - 1 // 127 MinInt8 = -1 << 7 // -128 MaxInt16 = 1<<15 - 1 // 32767 MinInt16 = -1 << 15 // -32768 MaxInt32 = 1<<31 - 1 // 2147483647 MinInt32 = -1 << 31 // -2147483648 MaxInt64 = 1<<63 - 1 // 9223372036854775807 MinInt64 = -1 << 63 // -9223372036854775808
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 14:07:39 UTC 2022 - 2.8K bytes - Viewed (0) -
test/fixedbugs/issue53600.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "math" func main() { f() g() h() j(math.MinInt64) } func f() { for i := int64(math.MaxInt64); i <= math.MaxInt64; i++ { if i < 0 { println("done") return } println(i, i < 0) } } func g() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 06 17:00:37 UTC 2022 - 802 bytes - Viewed (0) -
internal/s3select/sql/value_test.go
}, want: math.MaxInt64, wantOK: true, }, { name: "min", fields: fields{ value: []byte(strconv.FormatInt(math.MinInt64, 10)), }, want: math.MinInt64, wantOK: true, }, { name: "max-overflow", fields: fields{ value: []byte("9223372036854775808"), }, // Seems to be what strconv.ParseInt returns
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{math.MaxInt64, "0000000\x00", false}, {math.MaxInt64, "\x80\x00\x00\x00\x7f\xff\xff\xff\xff\xff\xff\xff", true}, {math.MinInt64, "0000000\x00", false}, {math.MinInt64, "\xff\xff\xff\xff\x80\x00\x00\x00\x00\x00\x00\x00", true}, {math.MaxInt64, "\x80\x7f\xff\xff\xff\xff\xff\xff\xff", true}, {math.MinInt64, "\xff\x80\x00\x00\x00\x00\x00\x00\x00", true}, } for _, v := range vectors { var f formatter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go
}, { name: "int64", obj: int64(5), }, { name: "int64 max", obj: int64(math.MaxInt64), }, { name: "int64 min", obj: int64(math.MinInt64), }, { name: "int64 zero", obj: int64(math.MinInt64), }, { name: "uint64 zero", obj: uint64(0), }, { name: "int32 max", obj: int32(math.MaxInt32), }, { name: "int32 min",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 21:48:12 UTC 2024 - 7.1K bytes - Viewed (0)