- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for 0b1 (0.02 sec)
-
src/math/big/ratconv_test.go
{"0x10.0", "16", true}, {"0x1.8", "3/2", true}, {"0X1.8p4", "24", true}, {"0x1.1E2", "2289/2048", true}, // E is part of hex mantissa, not exponent {"0b1.1E2", "150", true}, {"0B1.1P3", "12", true}, {"0o10e-2", "2/25", true}, {"0O10p-3", "1", true}, // valid with separators // (smoke tests only - a comprehensive set of tests is in natconv_test.go)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 19.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner_test.go
{IntLit, "0b01a0", "0b01 a0", ""}, // only accept 0-9 {FloatLit, "0b.", "0b.", "invalid radix point in binary literal"}, {FloatLit, "0b.1", "0b.1", "invalid radix point in binary literal"}, {FloatLit, "0b1.0", "0b1.0", "invalid radix point in binary literal"}, {FloatLit, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"}, {FloatLit, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
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/reflect/abi.go
// The receiver is always one word. a.valueStart = append(a.valueStart, len(a.steps)) var ok, ptr bool if rcvr.IfaceIndir() || rcvr.Pointers() { ok = a.assignIntN(0, goarch.PtrSize, 1, 0b1) ptr = true } else { // TODO(mknyszek): Is this case even possible? // The interface data work never contains a non-pointer // value. This case was copied over from older code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
assertOrder(X_GT_Y, "1.0.m", "1.0"); assertOrder(X_LT_Y, "1.0a1", "1.0"); assertOrder(X_LT_Y, "1.0-a1", "1.0"); assertOrder(X_LT_Y, "1.0.a1", "1.0"); assertOrder(X_LT_Y, "1.0b1", "1.0"); assertOrder(X_LT_Y, "1.0-b1", "1.0"); assertOrder(X_LT_Y, "1.0.b1", "1.0"); assertOrder(X_LT_Y, "1.0m1", "1.0"); assertOrder(X_LT_Y, "1.0-m1", "1.0");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 17.1K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
// binary floats (invalid) {Float, "0b.", "0b.", "invalid radix point in binary literal"}, {Float, "0b.1", "0b.1", "invalid radix point in binary literal"}, {Float, "0b1.0", "0b1.0", "invalid radix point in binary literal"}, {Float, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"}, {Float, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"}, // octals
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
src/math/big/natconv_test.go
{"0", 62, false, nil, 62, 1, nil, 0}, {"1", 0, false, nat{1}, 10, 1, nil, 0}, {"1", 10, false, nat{1}, 10, 1, nil, 0}, {"0 ", 0, false, nil, 10, 1, nil, ' '}, {"00 ", 0, false, nil, 8, 1, nil, ' '}, // octal 0 {"0b1", 0, false, nat{1}, 2, 1, nil, 0}, {"0B11000101", 0, false, nat{0xc5}, 2, 8, nil, 0}, {"0B110001012", 0, false, nat{0xc5}, 2, 8, nil, '2'}, {"07", 0, false, nat{7}, 8, 1, nil, 0}, {"08", 0, false, nil, 10, 1, nil, '8'},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 16.8K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{token.INT, "0b01a0", "0b01 a0", ""}, // only accept 0-9 {token.FLOAT, "0b.", "0b.", "invalid radix point in binary literal"}, {token.FLOAT, "0b.1", "0b.1", "invalid radix point in binary literal"}, {token.FLOAT, "0b1.0", "0b1.0", "invalid radix point in binary literal"}, {token.FLOAT, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"}, {token.FLOAT, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0)