- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for flush (0.31 sec)
-
src/bufio/bufio_test.go
str := strings.Repeat("x", 1<<10) bs := []byte(str) for i := 0; i < b.N; i++ { bw := NewWriter(io.Discard) bw.Flush() bw.WriteByte('a') bw.Flush() bw.WriteRune('B') bw.Flush() bw.Write(bs) bw.Flush() bw.WriteString(str) bw.Flush() } } func BenchmarkWriterFlush(b *testing.B) { b.ReportAllocs() bw := NewWriter(io.Discard)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/archive/tar/writer.go
io.Writer fileState ReadFrom(io.Reader) (int64, error) } // Flush finishes writing the current file's block padding. // The current file must be fully written before Flush can be called. // // This is unnecessary as the next call to [Writer.WriteHeader] or [Writer.Close] // will implicitly flush out the file's padding. func (tw *Writer) Flush() error { if tw.err != nil { return tw.err }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
pList := new(obj.Plist) var ok bool testOut = new(strings.Builder) // The assembler writes test output to this buffer. ctxt.Bso = bufio.NewWriter(os.Stdout) ctxt.IsAsm = true defer ctxt.Bso.Flush() failed := false ctxt.DiagFunc = func(format string, args ...interface{}) { failed = true t.Errorf(format, args...) } pList.Firstpc, ok = parser.Parse() if !ok || failed {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
//go:cgo_import_dynamic __libc_start_main __libc_start_main#GLIBC_2.2.5 "libc.so.6" //go:cgo_import_dynamic stdout stdout#GLIBC_2.2.5 "libc.so.6" //go:cgo_import_dynamic fflush fflush#GLIBC_2.2.5 "libc.so.6" //go:cgo_import_dynamic _ _ "libpthread.so.0" //go:cgo_import_dynamic _ _ "libc.so.6" In the end, the compiled Go package, which will eventually be
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) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const BPF_X ideal-int pkg syscall (netbsd-arm64-cgo), const BRKINT = 2 pkg syscall (netbsd-arm64-cgo), const BRKINT ideal-int pkg syscall (netbsd-arm64-cgo), const CFLUSH = 15 pkg syscall (netbsd-arm64-cgo), const CFLUSH ideal-int pkg syscall (netbsd-arm64-cgo), const CLOCAL = 32768 pkg syscall (netbsd-arm64-cgo), const CLOCAL ideal-int pkg syscall (netbsd-arm64-cgo), const CLONE_CSIGNAL = 255
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (openbsd-amd64), const BPF_X = 8 pkg syscall (openbsd-amd64), const BRKINT = 2 pkg syscall (openbsd-amd64), const CCR0_FLUSH = 16 pkg syscall (openbsd-amd64), const CFLUSH = 15 pkg syscall (openbsd-amd64), const CLOCAL = 32768 pkg syscall (openbsd-amd64), const CPUID_CFLUSH = 524288 pkg syscall (openbsd-amd64), const CREAD = 2048 pkg syscall (openbsd-amd64), const CS5 = 0
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
src/bufio/example_test.go
fmt.Fprint(w, "Hello, ") fmt.Fprint(w, "world!") w.Flush() // Don't forget to flush! // Output: Hello, world! } func ExampleWriter_AvailableBuffer() { w := bufio.NewWriter(os.Stdout) for _, i := range []int64{1, 2, 3, 4} { b := w.AvailableBuffer() b = strconv.AppendInt(b, i, 10) b = append(b, ' ') w.Write(b) } w.Flush() // Output: 1 2 3 4 }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (openbsd-amd64), const BPF_X ideal-int pkg syscall (openbsd-amd64), const BRKINT ideal-int pkg syscall (openbsd-amd64), const CCR0_FLUSH ideal-int pkg syscall (openbsd-amd64), const CFLUSH ideal-int pkg syscall (openbsd-amd64), const CLOCAL ideal-int pkg syscall (openbsd-amd64), const CPUID_CFLUSH ideal-int pkg syscall (openbsd-amd64), const CREAD ideal-int pkg syscall (openbsd-amd64), const CS5 ideal-int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
src/archive/zip/register.go
package zip import ( "compress/flate" "errors" "io" "sync" ) // A Compressor returns a new compressing writer, writing to w. // The WriteCloser's Close method must be used to flush pending data to w. // The Compressor itself must be safe to invoke from multiple goroutines // simultaneously, but each returned writer will be used only by // one goroutine at a time.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Viewed (0) -
src/cmd/asm/main.go
// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil { log.Fatal(err) } defer buf.Close() if !*flags.SymABIs {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 2.7K bytes - Viewed (0)