- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for hexadecimal (0.18 sec)
-
test/fixedbugs/issue9036.go
// for non-hexadecimal floats. package main import "fmt" const ( x1 = 1.1 // float x2 = 1e10 // float x3 = 0x1e10 // integer (e is a hex digit) ) const x4 = 0x1p10 // valid hexadecimal float const x5 = 1p10 // ERROR "'p' exponent requires hexadecimal mantissa|invalid prefix" const x6 = 0P0 // ERROR "'P' exponent requires hexadecimal mantissa|invalid prefix" func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 10 18:34:40 UTC 2020 - 805 bytes - Viewed (0) -
test/fixedbugs/issue31747.go
_ = 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" _ = 0xabci // ERROR "hexadecimal floating-point" _ = 0x0p1i // ERROR "hexadecimal floating-point"
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/compile/internal/syntax/scanner_test.go
{FloatLit, "0x.", "0x.", "hexadecimal literal has no digits"}, {FloatLit, "0x0.", "0x0.", "hexadecimal mantissa requires a 'p' exponent"}, {FloatLit, "0x.0", "0x.0", "hexadecimal mantissa requires a 'p' exponent"}, {FloatLit, "0x1.1", "0x1.1", "hexadecimal mantissa requires a 'p' exponent"}, {FloatLit, "0x1.1e0", "0x1.1e0", "hexadecimal mantissa requires a 'p' exponent"},
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/internal/types/testdata/check/go1_12.go
_ = 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" _ = 0xabci // ERROR "hexadecimal floating-point" _ = 0x0p1i // ERROR "hexadecimal floating-point"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
test/fixedbugs/issue32133.go
// ERROR "newline in string" // ERROR "string not terminated" //line :10:1 import "foo //line :19:1 func _() { 0x // ERROR "hexadecimal literal has no digits" } func _() { 0x1.0 // ERROR "hexadecimal mantissa requires a 'p' exponent" } func _() { 0_i // ERROR "'_' must separate successive digits" } func _() { //line :11:1 ' } func _() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 00:40:38 UTC 2020 - 718 bytes - Viewed (0) -
src/testing/iotest/logger.go
log.Printf("%s %x", l.prefix, p[0:n]) } return } // NewWriteLogger returns a writer that behaves like w except // that it logs (using [log.Printf]) each write to standard error, // printing the prefix and the hexadecimal data written. func NewWriteLogger(prefix string, w io.Writer) io.Writer { return &writeLogger{prefix, w} } type readLogger struct { prefix string r io.Reader }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 1.3K bytes - Viewed (0) -
src/encoding/hex/hex.go
return dst[:len(dst)+n], err } // EncodeToString returns the hexadecimal encoding of src. func EncodeToString(src []byte) string { dst := make([]byte, EncodedLen(len(src))) Encode(dst, src) return string(dst) } // DecodeString returns the bytes represented by the hexadecimal string s. // // DecodeString expects that src contains only hexadecimal // characters and that src has even length.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences. */ public static Escaper urlPathSegmentEscaper() { return URL_PATH_SEGMENT_ESCAPER; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 28 15:04:33 UTC 2021 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences. */ public static Escaper urlPathSegmentEscaper() { return URL_PATH_SEGMENT_ESCAPER; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 28 15:04:33 UTC 2021 - 6.9K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
{Float, "0x.", "0x.", "hexadecimal literal has no digits"}, {Float, "0x0.", "0x0.", "hexadecimal mantissa requires a 'p' exponent"}, {Float, "0x.0", "0x.0", "hexadecimal mantissa requires a 'p' exponent"}, {Float, "0x1.1", "0x1.1", "hexadecimal mantissa requires a 'p' exponent"}, {Float, "0x1.1e0", "0x1.1e0", "hexadecimal mantissa requires a 'p' exponent"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0)