- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getu4 (0.03 sec)
-
src/encoding/json/decode.go
panic(phasePanicMsg) } n, err := d.convertNumber(string(item)) if err != nil { d.saveError(err) } return n } } // getu4 decodes \uXXXX from the beginning of s, returning the hex value, // or it returns -1. func getu4(s []byte) rune { if len(s) < 6 || s[0] != '\\' || s[1] != 'u' { return -1 } var r rune for _, c := range s[2:6] { switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0) -
src/time/zoneinfo_read.go
zheadersize = 30 zheader = 0x04034b50 ) buf := make([]byte, ztailsize) if err := preadn(fd, buf, -ztailsize); err != nil || get4(buf) != zecheader { return nil, errors.New("corrupt zip file " + zipfile) } n := get2(buf[10:]) size := get4(buf[12:]) off := get4(buf[16:]) buf = make([]byte, size) if err := preadn(fd, buf, off); err != nil { return nil, errors.New("corrupt zip file " + zipfile)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/go/internal/modget/query.go
} // If no version suffix is specified, assume @upgrade. // If -u=patch was specified, assume @patch instead. version := rawVers if version == "" { if getU.version == "" { version = "upgrade" } else { version = getU.version } } q := &query{ raw: raw, rawVersion: rawVers, pattern: pattern,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0)