- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for octal0 (0.11 sec)
-
src/cmd/compile/internal/syntax/scanner_test.go
// octals {IntLit, "0o0", "0o0", ""}, {IntLit, "0o1234", "0o1234", ""}, {IntLit, "0O1234", "0O1234", ""}, {IntLit, "0o", "0o", "octal literal has no digits"}, {IntLit, "0o8123", "0o8123", "invalid digit '8' in octal literal"}, {IntLit, "0o1293", "0o1293", "invalid digit '9' in octal literal"}, {IntLit, "0o12a3", "0o12 a3", ""}, // only accept 0-9
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/text/scanner/scanner_test.go
{Float, "0b1P-1", "0b1P-1", "'P' exponent requires hexadecimal mantissa"}, // octals {Int, "0o0", "0o0", ""}, {Int, "0o1234", "0o1234", ""}, {Int, "0O1234", "0O1234", ""}, {Int, "0o", "0o", "octal literal has no digits"}, {Int, "0o8123", "0o8123", "invalid digit '8' in octal literal"}, {Int, "0o1293", "0o1293", "invalid digit '9' in octal literal"}, {Int, "0o12a3", "0o12 a3", ""}, // only accept 0-9
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/go/scanner/scanner_test.go
// octals {token.INT, "0o0", "0o0", ""}, {token.INT, "0o1234", "0o1234", ""}, {token.INT, "0O1234", "0O1234", ""}, {token.INT, "0o", "0o", "octal literal has no digits"}, {token.INT, "0o8123", "0o8123", "invalid digit '8' in octal literal"}, {token.INT, "0o1293", "0o1293", "invalid digit '9' in octal literal"}, {token.INT, "0o12a3", "0o12 a3", ""}, // only accept 0-9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/math/big/ratconv.go
// or “0x” (or their upper-case variants) to denote a binary, octal, or // hexadecimal integer, respectively. The divisor may not be signed. // If a floating-point number is provided, it may be in decimal form or // use any of the same prefixes as above but for “0” to denote a non-decimal // mantissa. A leading “0” is considered a decimal leading 0; it does not // indicate octal representation in this case.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner.go
s.nextch() } } return } func (s *scanner) number(seenPoint bool) { ok := true kind := IntLit base := 10 // number base prefix := rune(0) // one of 0 (decimal), '0' (0-octal), 'x', 'o', or 'b' digsep := 0 // bit 0: digit present, bit 1: '_' present invalid := -1 // index of invalid digit in literal, or < 0 // integer part if !seenPoint { if s.ch == '0' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 28 18:17:41 UTC 2022 - 17.1K bytes - Viewed (0) -
src/go/constant/value_test.go
"go/token" "math" "math/big" "strings" "testing" ) var intTests = []string{ // 0-octals `0_123 = 0123`, `0123_456 = 0123456`, // decimals `1_234 = 1234`, `1_234_567 = 1234567`, // hexadecimals `0X_0 = 0`, `0X_1234 = 0x1234`, `0X_CAFE_f00d = 0xcafef00d`, // octals `0o0 = 0`, `0o1234 = 01234`, `0o01234567 = 01234567`, `0O0 = 0`, `0O1234 = 01234`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"\xff\x80\x00\x00\x00\x00\x00\x00\x00", math.MinInt64, true}, {"\xff\x7f\xff\xff\xff\xff\xff\xff\xff", 0, false}, {"\xf5\xec\xd1\xc7\x7e\x5f\x26\x48\x81\x9f\x8f\x9b", 0, false}, // Test base-8 (octal) encoded values. {"0000000\x00", 0, true}, {" \x0000000\x00", 0, true}, {" \x0000003\x00", 3, true}, {"00000000227\x00", 0227, true}, {"032033\x00 ", 032033, true}, {"320330\x00 ", 0320330, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
src/strconv/atoi_test.go
{"0x__12345", 0, 0, ErrSyntax}, {"0x1__2345", 0, 0, ErrSyntax}, {"0x1234__5", 0, 0, ErrSyntax}, {"0x12345_", 0, 0, ErrSyntax}, {"-0_1_2_3_4_5", 0, -012345, nil}, // octal {"0_1_2_3_4_5", 0, 012345, nil}, // octal {"-_012345", 0, 0, ErrSyntax}, {"_-012345", 0, 0, ErrSyntax}, {"_012345", 0, 0, ErrSyntax}, {"0__12345", 0, 0, ErrSyntax}, {"01234__5", 0, 0, ErrSyntax}, {"012345_", 0, 0, ErrSyntax},
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/text/template/parse/lex.go
fallthrough case eof, '\n': return l.errorf("unterminated character constant") case '\'': break Loop } } return l.emit(itemCharConstant) } // lexNumber scans a number: decimal, octal, hex, float, or imaginary. This // isn't a perfect number scanner - for instance it accepts "." and "0x0.2" // and "089" - but when it's wrong the input is invalid and the parser (via // strconv) will notice.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md
// dependencies. // We don’t mention the control token in the return type here, it is implicit. %0, %ctl0 = tf_executor.opA %feed#0, %feed#1 : tensor<*xf32> %1, %ctl1 = tf_executor.opB : tensor<*xf32> %2, %ctl2 = tf_executor.opC %1, %ctl0 : tensor<*xf32> %3, %ctl3 = tf_executor.opD %2 : tensor<*xf32> tf_executor.fetch %3 : tensor<*xf32> } // end of the “tf_executor.graph" operation/region
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 13 16:33:28 UTC 2021 - 16K bytes - Viewed (0)