- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for fast (0.13 sec)
-
src/bufio/scan.go
func ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 { return 0, nil, nil } // Fast path 1: ASCII. if data[0] < utf8.RuneSelf { return 1, data[0:1], nil } // Fast path 2: Correct UTF-8 decode without error. _, width := utf8.DecodeRune(data) if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
b.ReportAllocs() for i := 0; i < b.N; i++ { bb.Reset() b := bb.AvailableBuffer() b = b[:cap(b)] // use max capacity to simulate a large append operation bb.Write(b) // should be nearly infinitely fast }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/bytes/bytes.go
n += wasSpace & ^isSpace wasSpace = isSpace } if setBits >= utf8.RuneSelf { // Some runes in the input slice are not ASCII. return FieldsFunc(s, unicode.IsSpace) } // ASCII fast path a := make([][]byte, n) na := 0 fieldStart := 0 i := 0 // Skip spaces in the front of the input. for i < len(s) && asciiSpace[s[i]] != 0 { i++ } fieldStart = i for i < len(s) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/archive/zip/zip_test.go
buf []repeatedByte } func (r *rleBuffer) Size() int64 { if len(r.buf) == 0 { return 0 } last := &r.buf[len(r.buf)-1] return last.off + last.n } func (r *rleBuffer) Write(p []byte) (n int, err error) { var rp *repeatedByte if len(r.buf) > 0 { rp = &r.buf[len(r.buf)-1] // Fast path, if p is entirely the same byte repeated. if lastByte := rp.b; len(p) > 0 && p[0] == lastByte {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const BPF_T_BINTIME_FAST = 258 pkg syscall (freebsd-arm64), const BPF_T_BINTIME_FAST ideal-int pkg syscall (freebsd-arm64), const BPF_T_BINTIME_MONOTONIC = 514 pkg syscall (freebsd-arm64), const BPF_T_BINTIME_MONOTONIC ideal-int pkg syscall (freebsd-arm64), const BPF_T_BINTIME_MONOTONIC_FAST = 770 pkg syscall (freebsd-arm64), const BPF_T_BINTIME_MONOTONIC_FAST ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const BPF_T_NANOTIME_FAST ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_T_NANOTIME_MONOTONIC = 513 #53466 pkg syscall (freebsd-riscv64), const BPF_T_NANOTIME_MONOTONIC ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_T_NANOTIME_MONOTONIC_FAST = 769 #53466 pkg syscall (freebsd-riscv64), const BPF_T_NANOTIME_MONOTONIC_FAST ideal-int #53466
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
src/cmd/cgo/ast.go
// These are ordered and grouped to match ../../go/ast/ast.go case *ast.Field: if len(n.Names) == 0 && context == ctxField { f.walk(&n.Type, ctxEmbedType, visit) } else { f.walk(&n.Type, ctxType, visit) } case *ast.FieldList: for _, field := range n.List { f.walk(field, context, visit) } case *ast.BadExpr: case *ast.Ident: case *ast.Ellipsis: f.walk(&n.Elt, ctxType, visit)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/bytes/buffer.go
} var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was not a successful read") // UnreadByte unreads the last byte returned by the most recent successful // read operation that read at least one byte. If a write has happened since // the last read, if the last read returned an error, or if the read read zero // bytes, UnreadByte returns an error. func (b *Buffer) UnreadByte() error {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/cmd/cgo/ast_go118.go
} func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return n.TypeParams } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList { return n.TypeParams
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Nov 30 21:45:10 GMT 2022 - 730 bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const IFT_FAST = 125 pkg syscall (netbsd-arm64-cgo), const IFT_FASTETHER = 62 pkg syscall (netbsd-arm64-cgo), const IFT_FASTETHERFX = 69 pkg syscall (netbsd-arm64-cgo), const IFT_FASTETHERFX ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_FASTETHER ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_FAST ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_FDDI = 15
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0)