Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 0b10i (0.08 sec)

  1. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    		{FloatLit, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{ImagLit, "0b10i", "0b10i", ""},
    		{ImagLit, "0b10.0i", "0b10.0i", "invalid radix point in binary literal"},
    
    		// octals
    		{IntLit, "0o0", "0o0", ""},
    		{IntLit, "0o1234", "0o1234", ""},
    		{IntLit, "0O1234", "0O1234", ""},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  2. src/go/scanner/scanner_test.go

    		{token.FLOAT, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    		{token.FLOAT, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{token.IMAG, "0b10i", "0b10i", ""},
    		{token.IMAG, "0b10.0i", "0b10.0i", "invalid radix point in binary literal"},
    
    		// octals
    		{token.INT, "0o0", "0o0", ""},
    		{token.INT, "0o1234", "0o1234", ""},
    		{token.INT, "0O1234", "0O1234", ""},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  3. src/strconv/atoi_test.go

    	{"01777777777777777777778", 0, 0, ErrSyntax},
    	{"02000000000000000000000", 0, 1<<64 - 1, ErrRange},
    	{"0200000000000000000000", 0, 1 << 61, nil},
    	{"0b", 0, 0, ErrSyntax},
    	{"0B", 0, 0, ErrSyntax},
    	{"0b101", 0, 5, nil},
    	{"0B101", 0, 5, nil},
    	{"0o", 0, 0, ErrSyntax},
    	{"0O", 0, 0, ErrSyntax},
    	{"0o377", 0, 255, nil},
    	{"0O377", 0, 255, nil},
    
    	// underscores allowed with base == 0 only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. src/math/big/intconv_test.go

    	{"+0", "0", 0, 0, true},
    	{"-0", "0", 0, 0, true},
    	{"10", "10", 0, 10, true},
    	{"10", "10", 10, 10, true},
    	{"10", "10", 16, 16, true},
    	{"-10", "-10", 16, -16, true},
    	{"+10", "10", 16, 16, true},
    	{"0b10", "2", 0, 2, true},
    	{"0o10", "8", 0, 8, true},
    	{"0x10", "16", 0, 16, true},
    	{in: "0x10", base: 16},
    	{"-0x10", "-16", 0, -16, true},
    	{"+0x10", "16", 0, 16, true},
    	{"00", "0", 0, 0, true},
    	{"0", "0", 8, 0, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 22:58:58 UTC 2019
    - 10K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/amd64/versions_test.go

    		}
    	}
    }
    
    // Test to use BLSI, if available
    func TestBLSI(t *testing.T) {
    	for _, tt := range []struct {
    		x, want uint64
    	}{
    		{0b00001111, 0b001},
    		{0b00001110, 0b010},
    		{0b00001100, 0b100},
    		{0b11000110, 0b010},
    		{0b00000000, 0b000},
    	} {
    		if got := tt.x & -tt.x; got != tt.want {
    			t.Errorf("%#x & (-%#x) = %#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)
  6. src/reflect/abi.go

    	case Complex128:
    		return a.assignFloatN(offset, 8, 2)
    	case String:
    		return a.assignIntN(offset, goarch.PtrSize, 2, 0b01)
    	case Interface:
    		return a.assignIntN(offset, goarch.PtrSize, 2, 0b10)
    	case Slice:
    		return a.assignIntN(offset, goarch.PtrSize, 3, 0b001)
    	case Array:
    		tt := (*arrayType)(unsafe.Pointer(t))
    		switch tt.Len {
    		case 0:
    			// There's nothing to assign, so don't modify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // begin: should be (0, -1, 0) or (-1, 0, 0) if it's time-majored.
      // new_axis_mask: should always be 0.
      // ellipsis_mask: should always be 0.
      // begin_mask & end_mask: should be 0b101 = 5 or 0b110 = 4 if it's
      // time-majored. shrink_axis_mask: should be 0b010 = 2 or 0b001 = 1 if it's
      // time-majored.
      SmallVector<int64_t, 2> last_output_shape({batch, n_output});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  8. src/runtime/trace.go

    	// we make sure to make the P field always non-zero: The ID of a real P will
    	// start at bit 1, and bit 0 will be set. Samples that arrive while no P is
    	// running (such as near syscalls) will set the first header field to 0b10.
    	// This careful handling of the first header field allows us to store ID of
    	// the active G directly in the second field, even though that will be 0
    	// when sampling g0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top