Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for 0b111 (0.09 sec)

  1. test/fixedbugs/issue31747.go

    	_ = 0b111 // ERROR "binary literal requires go1.13 or later"
    	_ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later"
    
    	_ = 0b111 // ERROR "binary"
    	_ = 0o567 // ERROR "octal"
    	_ = 0xabc // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/go1_12.go

    // numeric literals
    const (
    	_ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later"
    	_ = 0b111 // ERROR "binary literal requires go1.13 or later"
    	_ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later"
    
    	_ = 0b111 // ERROR "binary"
    	_ = 0o567 // ERROR "octal"
    	_ = 0xabc // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/math/big/intconv_test.go

    	{"7", "7", 8, 7, true},
    	{"023", "19", 0, 19, true},
    	{"23", "23", 8, 19, true},
    	{"cafebabe", "cafebabe", 16, 0xcafebabe, true},
    	{"0b0", "0", 0, 0, true},
    	{"-111", "-111", 2, -7, true},
    	{"-0b111", "-7", 0, -7, true},
    	{"0b1001010111", "599", 0, 0x257, true},
    	{"1001010111", "1001010111", 2, 0x257, true},
    	{"A", "a", 36, 10, true},
    	{"A", "A", 37, 36, true},
    	{"ABCXYZ", "abcxyz", 36, 623741435, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 22:58:58 UTC 2019
    - 10K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/amd64/versions_test.go

    		}
    	}
    }
    
    // Test to use BLSMSK, if available
    func TestBLSMSK(t *testing.T) {
    	for _, tt := range []struct {
    		x, want uint64
    	}{
    		{0b00001111, 0b001},
    		{0b00001110, 0b011},
    		{0b00001100, 0b111},
    		{0b11000110, 0b011},
    		{0b00000000, 1<<64 - 1},
    	} {
    		if got := tt.x ^ (tt.x - 1); got != tt.want {
    			t.Errorf("%#x ^ (%#x-1) = %#x, want %#x", tt.x, tt.x, got, tt.want)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. src/fmt/scan_test.go

    		{"space vs newline 0010", "1\n2", "%d \n%d", 2, true},
    		{"space vs newline 0011", "1\n2", "%d \n %d", 2, true},
    		{"space vs newline 0100", "1\n 2", "%d\n%d", 2, true},
    		{"space vs newline 0101", "1\n 2", "%d\n%d ", 2, true},
    		{"space vs newline 0110", "1\n 2", "%d \n%d", 2, true},
    		{"space vs newline 0111", "1\n 2", "%d \n %d", 2, true},
    		{"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. src/fmt/fmt_test.go

    	{"%6.0d", 0, "      "},
    	{"%06.0d", 0, "      "},
    	{"% d", 12345, " 12345"},
    	{"%+d", 12345, "+12345"},
    	{"%+d", -12345, "-12345"},
    	{"%b", 7, "111"},
    	{"%b", -6, "-110"},
    	{"%#b", 7, "0b111"},
    	{"%#b", -6, "-0b110"},
    	{"%b", ^uint32(0), "11111111111111111111111111111111"},
    	{"%b", ^uint64(0), "1111111111111111111111111111111111111111111111111111111111111111"},
    	{"%b", int64(-1 << 63), zeroFill("-1", 63, "")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  7. cni/pkg/iptables/testdata/default.golden

    iptables -t mangle -A ISTIO_OUTPUT -m connmark --mark 0x111/0xfff -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
    iptables -t nat -A ISTIO_OUTPUT ! -o lo -p udp -m udp --dport 53 -j REDIRECT --to-port 15053
    iptables -t nat -A ISTIO_OUTPUT -p tcp -m mark --mark 0x111/0xfff -j ACCEPT
    iptables -t nat -A ISTIO_OUTPUT ! -d 127.0.0.1/32 -o lo -j ACCEPT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. cni/pkg/iptables/testdata/default_ipv6.golden

    iptables -t mangle -A ISTIO_OUTPUT -m connmark --mark 0x111/0xfff -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
    iptables -t nat -A ISTIO_OUTPUT ! -o lo -p udp -m udp --dport 53 -j REDIRECT --to-port 15053
    iptables -t nat -A ISTIO_OUTPUT -p tcp -m mark --mark 0x111/0xfff -j ACCEPT
    iptables -t nat -A ISTIO_OUTPUT ! -d 127.0.0.1/32 -o lo -j ACCEPT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 20:16:04 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/issue18676/main.go

    //     (concrete type / interface type).  This itab goes in hash bucket 0x111.
    //  2. The plugin adds that same itab again.  That makes a cycle in the itab
    //     chain rooted at hash bucket 0x111.
    //  3. The main binary then asks for the itab for *dynamodbstreamsevt.Event /
    //     json.Unmarshaler.  This itab happens to also live in bucket 0x111.
    //     The lookup code goes into an infinite loop searching for this itab.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/mpagecache_test.go

    			},
    			beforeScav: map[ChunkIdx][]BitRange{
    				BaseChunkIdx: {{0, 4}, {11, 1}},
    			},
    			hits: []PageCache{
    				NewPageCache(PageBase(BaseChunkIdx, 0), ^uint64(0x1|(0x3<<10)), 0x7<<1),
    			},
    			afterAlloc: map[ChunkIdx][]BitRange{
    				BaseChunkIdx: {{0, 64}},
    			},
    			afterScav: map[ChunkIdx][]BitRange{
    				BaseChunkIdx: {{0, 1}, {11, 1}},
    			},
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 10.8K bytes
    - Viewed (0)
Back to top