Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for 0B0 (0.06 sec)

  1. src/go/constant/value_test.go

    	`0O01234567 = 01234567`,
    
    	`0o_0 = 0`,
    	`0o_1234 = 01234`,
    	`0o0123_4567 = 01234567`,
    
    	`0O_0 = 0`,
    	`0O_1234 = 01234`,
    	`0O0123_4567 = 01234567`,
    
    	// binaries
    	`0b0 = 0`,
    	`0b1011 = 0xb`,
    	`0b00101101 = 0x2d`,
    
    	`0B0 = 0`,
    	`0B1011 = 0xb`,
    	`0B00101101 = 0x2d`,
    
    	`0b_0 = 0`,
    	`0b10_11 = 0xb`,
    	`0b_0010_1101 = 0x2d`,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/scanner_test.go

    		}
    	}
    }
    
    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		kind             LitKind
    		src, tokens, err string
    	}{
    		// binaries
    		{IntLit, "0b0", "0b0", ""},
    		{IntLit, "0b1010", "0b1010", ""},
    		{IntLit, "0B1110", "0B1110", ""},
    
    		{IntLit, "0b", "0b", "binary literal has no digits"},
    		{IntLit, "0b0190", "0b0190", "invalid digit '9' in binary literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  3. src/math/big/intconv_test.go

    	{"00", "0", 0, 0, true},
    	{"0", "0", 8, 0, true},
    	{"07", "7", 0, 7, true},
    	{"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},
    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/text/scanner/scanner_test.go

    	for r := s.Scan(); r != EOF; r = s.Scan() {
    	}
    }
    
    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		tok              rune
    		src, tokens, err string
    	}{
    		// binaries
    		{Int, "0b0", "0b0", ""},
    		{Int, "0b1010", "0b1010", ""},
    		{Int, "0B1110", "0B1110", ""},
    
    		{Int, "0b", "0b", "binary literal has no digits"},
    		{Int, "0b0190", "0b0190", "invalid digit '9' in binary literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  5. src/go/scanner/scanner_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		tok              token.Token
    		src, tokens, err string
    	}{
    		// binaries
    		{token.INT, "0b0", "0b0", ""},
    		{token.INT, "0b1010", "0b1010", ""},
    		{token.INT, "0B1110", "0B1110", ""},
    
    		{token.INT, "0b", "0b", "binary literal has no digits"},
    		{token.INT, "0b0190", "0b0190", "invalid digit '9' in binary literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      // the operation has Options in the serialized FlatBuffer.
    
      // Whether the TFLite operator has options in the schema representation.
      bit hasOptions = 0b0;
      // Whether the TFLite operator has options2 in the schema representation.
      bit hasOptions2 = 0b0;
    
      // Use to specify a custom options type for TFLite operators where
      // the option's name does not match the TFLite operator's name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top