Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for 18446744073709551615B (0.29 sec)

  1. src/internal/types/testdata/fixedbugs/issue63563.go

    	_ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
    
    	_ = uint8(1 /* ERROR "constant 256 overflows uint8" */ << 8)
    	_ = uint16(1 /* ERROR "constant 65536 overflows uint16" */ << 16)
    	_ = uint32(1 /* ERROR "constant 4294967296 overflows uint32" */ << 32)
    	_ = uint64(1 /* ERROR "constant 18446744073709551616 overflows uint64" */ << 64)
    )
    
    func _[P int8 | uint8]() {
    	_ = P(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arithConst_test.go

    	test_uint64{fn: or_uint64_9223372036854775808, fnname: "or_uint64_9223372036854775808", in: 18446744073709551615, want: 18446744073709551615},
    	test_uint64{fn: or_18446744073709551615_uint64, fnname: "or_18446744073709551615_uint64", in: 0, want: 18446744073709551615},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 633.8K bytes
    - Viewed (0)
  3. api/go1.17.txt

    pkg math (darwin-amd64), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64), const MinInt = -9223372036854775808
    pkg math (darwin-amd64-cgo), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64-cgo), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64-cgo), const MinInt = -9223372036854775808
    pkg math (darwin-arm64), const MaxInt = 9223372036854775807
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. test/fixedbugs/bug012.go

    // license that can be found in the LICENSE file.
    
    package main
    
    
    func main() {
    	var u30 uint64 = 0;
    	var u31 uint64 = 1;
    	_, _ = u30, u31;
    	var u32 uint64 = 18446744073709551615;
    	var u33 uint64 = +18446744073709551615;
    	if u32 != (1<<64)-1 { panic("u32\n"); }
    	if u33 != (1<<64)-1 { panic("u33\n"); }
    	var i34 int64 = ^0;  // note: 2's complement means ^0 == -1
    	if i34 != -1 { panic("i34") }
    }
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 756 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/unsignedParameter.kt

    // WITH_STDLIB
    
    annotation class A(vararg val xs: ULong)
    
    @A(1234u, 18446744073709551615u)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Feb 22 13:55:50 UTC 2023
    - 117 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

                          + UnsignedLongs.remainder(dividend, divisor)))
              .isEqualTo(0);
        }
      }
    
      public void testParseLong() {
        assertThat(UnsignedLongs.parseUnsignedLong("18446744073709551615"))
            .isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.parseUnsignedLong("9223372036854775807"))
            .isEqualTo(0x7fffffffffffffffL);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-annotations.test

    UserRegionBegin dt=278 task=0 name_string=29 stack=23
    EventBatch gen=1 m=18446744073709551615 time=28113086280061 size=57
    GoStatus dt=318 g=2 m=18446744073709551615 gstatus=4
    GoStatus dt=3 g=3 m=18446744073709551615 gstatus=4
    GoStatus dt=1 g=4 m=18446744073709551615 gstatus=4
    GoStatus dt=1 g=5 m=18446744073709551615 gstatus=4
    EventBatch gen=1 m=18446744073709551615 time=28113086280852 size=488
    Stacks
    Stack id=17 nframes=3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/arithBoundary_test.go

    	utd64{a: 4294967296, b: 18446744073709551615, add: 4294967295, sub: 4294967297, mul: 18446744069414584320, div: 0, mod: 4294967296},
    	utd64{a: 18446744073709551615, b: 0, add: 18446744073709551615, sub: 18446744073709551615, mul: 0},
    	utd64{a: 18446744073709551615, b: 1, add: 0, sub: 18446744073709551614, mul: 18446744073709551615, div: 18446744073709551615, mod: 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 31.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue5609.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 5609: overflow when calculating array size
    
    package pkg
    
    const Large uint64 = 18446744073709551615
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 27 18:59:51 UTC 2023
    - 385 bytes
    - Viewed (0)
  10. test/fixedbugs/bug156.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func f(a int64) int64 {
    	const b int64 = 0;
    	n := a &^ b;
    	return n;
    }
    
    func main() {
    	f(1)
    }
    
    /*
    bug156.go:7: constant 18446744073709551615 overflows int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 346 bytes
    - Viewed (0)
Back to top