- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for 0b10i (0.04 sec)
-
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) -
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) -
test/literal2.go
assert(0x_cafei == complex(0, 0xcafe)) // octals assert(0o_1 == 01) assert(0o12 == 012) assert(0o_1_2 == 012) assert(0o_1_2i == complex(0, 0o12)) // binaries assert(0b_1 == 1) assert(0b10 == 2) assert(0b_1_0 == 2) assert(0b_1_0i == complex(0, 2)) // decimal floats assert(0. == 0.0) assert(.0 == 0.0) assert(1_0. == 10.0) assert(.0_1 == 0.01) assert(1_0.0_1 == 10.01)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 19 22:45:09 UTC 2019 - 2.2K bytes - Viewed (0) -
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) -
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) -
src/runtime/tracecpu.go
if pp != nil { // Overflow records in profBuf have all header values set to zero. Make // sure that real headers have at least one bit set. hdr[0] = uint64(pp.id)<<1 | 0b1 } else { hdr[0] = 0b10 } if gp != nil { hdr[1] = gp.goid } hdr[2] = uint64(mp.procid) // Allow only one writer at a time for !trace.signalLock.CompareAndSwap(0, 1) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
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) -
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) -
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) -
src/html/template/exec_test.go
// Numbers {"decimal", "{{print 1234}}", "1234", tVal, true}, {"decimal _", "{{print 12_34}}", "1234", tVal, true}, {"binary", "{{print 0b101}}", "5", tVal, true}, {"binary _", "{{print 0b_1_0_1}}", "5", tVal, true}, {"BINARY", "{{print 0B101}}", "5", tVal, true}, {"octal0", "{{print 0377}}", "255", tVal, true}, {"octal", "{{print 0o377}}", "255", tVal, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0)