- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for 0B0 (0.02 sec)
-
src/internal/types/testdata/check/literals.go
assert(0o_1234 == 01234) assert(0o0123_4567 == 01234567) assert(0O_0 == 0) assert(0O_1234 == 01234) assert(0O0123_4567 == 01234567) // binaries assert(0b0 == 0) assert(0b1011 == 0xb) assert(0b00101101 == 0x2d) assert(0B0 == 0) assert(0B1011 == 0xb) assert(0B00101101 == 0x2d) assert(0b_0 == 0) assert(0b10_11 == 0xb) assert(0b_0010_1101 == 0x2d) // decimal floats
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt
assertSuccess(parser("0X0")) assertSuccess(parser("0Xff_ee")) assertSuccess(parser("0Xabc_e")) // binary numbers assertSuccess(parser("0b0")) assertSuccess(parser("0B0")) assertSuccess(parser("0b101010")) assertSuccess(parser("0b10101_0")) assertFailure( parser("bar"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.6K bytes - Viewed (0) -
src/reflect/abi.go
case Bool, Int, Uint, Int8, Uint8, Int16, Uint16, Int32, Uint32, Uintptr: return a.assignIntN(offset, t.Size(), 1, 0b0) case Int64, Uint64: switch goarch.PtrSize { case 4: return a.assignIntN(offset, 4, 2, 0b0) case 8: return a.assignIntN(offset, 8, 1, 0b0) } case Float32, Float64: return a.assignFloatN(offset, t.Size(), 1) case Complex64: return a.assignFloatN(offset, 4, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
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) -
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) -
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)