- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Estep (0.12 sec)
-
src/bytes/bytes_test.go
buf[n-7] = '\x00' }) } func BenchmarkCountSingle(b *testing.B) { benchBytes(b, indexSizes, func(b *testing.B, n int) { buf := bmbuf[0:n] step := 8 for i := 0; i < len(buf); i += step { buf[i] = 1 } expect := (len(buf) + (step - 1)) / step for i := 0; i < b.N; i++ { j := Count(buf, []byte{1}) if j != expect { b.Fatal("bad count", j, expect) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/bufio/scan.go
"bytes" "errors" "io" "unicode/utf8" ) // Scanner provides a convenient interface for reading data such as // a file of newline-delimited lines of text. Successive calls to // the [Scanner.Scan] method will step through the 'tokens' of a file, skipping // the bytes between the tokens. The specification of a token is // defined by a split function of type [SplitFunc]; the default split
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/cmd/cgo/doc.go
present to create such a binary. Most builds both compile source code and invoke the linker to create a binary. When cgo is involved, the compile step already requires gcc, so it is not problematic for the link step to require gcc too. An important exception is builds using a pre-compiled copy of the standard library. In particular, package net uses cgo on most systems,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
log.Fatal(err) } s := string(bs) // Diagnose common mistakes people make, // since there is no apifmt to format these files. // The missing final newline is important for the // final release step of cat next/*.txt >go1.X.txt. // If the files don't end in full lines, the concatenation goes awry. if strings.Contains(s, "\r") { log.Printf("%s: contains CRLFs", filename) exitCode = 1 }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0)