- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for octal0 (0.25 sec)
-
test/fixedbugs/issue31747.go
_ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later" _ = 0b111 // ERROR "binary" _ = 0o567 // ERROR "octal" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point" _ = 1_000i // ERROR "underscore" _ = 0b111i // ERROR "binary" _ = 0o567i // ERROR "octal"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.norm
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0x0 _ = 0x1234 _ = 0xCAFEf00d _ = 0x_0 _ = 0x_1234 _ = 0x_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0o0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 17 02:15:01 UTC 2020 - 1.9K bytes - Viewed (0) -
src/internal/types/testdata/check/go1_12.go
_ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later" _ = 0b111 // ERROR "binary" _ = 0o567 // ERROR "octal" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point" _ = 1_000i // ERROR "underscore" _ = 0b111i // ERROR "binary" _ = 0o567i // ERROR "octal"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/gofmt/testdata/go2numbers.golden
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0x0 _ = 0x1234 _ = 0xCAFEf00d _ = 0x_0 _ = 0x_1234 _ = 0x_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0o0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 21 17:24:29 UTC 2019 - 1.9K bytes - Viewed (0) -
src/cmd/gofmt/testdata/go2numbers.input
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 21 17:24:29 UTC 2019 - 2K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.golden
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 21:54:06 UTC 2020 - 2K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.input
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 21:54:06 UTC 2020 - 2K bytes - Viewed (0) -
src/internal/types/testdata/check/literals.go
// of equal values. package literals func _() { // 0-octals assert(0_123 == 0123) assert(0123_456 == 0123456) // decimals assert(1_234 == 1234) assert(1_234_567 == 1234567) // hexadecimals assert(0X_0 == 0) assert(0X_1234 == 0x1234) assert(0X_CAFE_f00d == 0xcafef00d) // octals assert(0o0 == 0) assert(0o1234 == 01234) assert(0o01234567 == 01234567)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 2.4K bytes - Viewed (0) -
test/literal2.go
if !cond { panic("assertion failed") } } func equal(x, y interface{}) bool { if x != y { fmt.Printf("%g != %g\n", x, y) return false } return true } func main() { // 0-octals assert(0_1 == 01) assert(012 == 012) assert(0_1_2 == 012) assert(0_1_2i == complex(0, 12)) // decimal digits despite leading 0 for backward-compatibility
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/math/big/intconv.go
// Format implements [fmt.Formatter]. It accepts the formats // 'b' (binary), 'o' (octal with 0 prefix), 'O' (octal with 0o prefix), // 'd' (decimal), 'x' (lowercase hexadecimal), and // 'X' (uppercase hexadecimal). // Also supported are the full suite of package fmt's format // flags for integral types, including '+' and ' ' for sign // control, '#' for leading zero in octal and for hexadecimal, // a leading "0x" or "0X" for "%#x" and "%#X" respectively,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.7K bytes - Viewed (0)