Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for flush (0.29 sec)

  1. src/bufio/bufio.go

    // Writer implements buffering for an [io.Writer] object.
    // If an error occurs writing to a [Writer], no more data will be
    // accepted and all subsequent writes, and [Writer.Flush], will return the error.
    // After all data has been written, the client should call the
    // [Writer.Flush] method to guarantee all data has been forwarded to
    // the underlying [io.Writer].
    type Writer struct {
    	err error
    	buf []byte
    	n   int
    	wr  io.Writer
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg bufio, method (*Writer) Buffered() int
    pkg bufio, method (*Writer) Flush() error
    pkg bufio, method (*Writer) Write([]uint8) (int, error)
    pkg bufio, method (*Writer) WriteByte(uint8) error
    pkg bufio, method (*Writer) WriteRune(int32) (int, error)
    pkg bufio, method (*Writer) WriteString(string) (int, error)
    pkg bufio, method (ReadWriter) Available() int
    pkg bufio, method (ReadWriter) Flush() error
    pkg bufio, method (ReadWriter) Peek(int) ([]uint8, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  3. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const IPV6_FW_DEL = 31 #53466
    pkg syscall (freebsd-riscv64), const IPV6_FW_DEL ideal-int #53466
    pkg syscall (freebsd-riscv64), const IPV6_FW_FLUSH = 32 #53466
    pkg syscall (freebsd-riscv64), const IPV6_FW_FLUSH ideal-int #53466
    pkg syscall (freebsd-riscv64), const IPV6_FW_GET = 34 #53466
    pkg syscall (freebsd-riscv64), const IPV6_FW_GET 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)
  4. misc/go_android_exec/main.go

    	n := len(data)
    	f.buf.Write(data)
    	// Flush to w until a potential match of exitRe
    	b := f.buf.Bytes()
    	match := f.exitRe.FindIndex(b)
    	if match == nil {
    		// Flush all of the buffer.
    		_, err := f.w.Write(b)
    		f.buf.Reset()
    		if err != nil {
    			return n, err
    		}
    	} else {
    		// Flush up to the beginning of the (potential) match.
    		_, err := f.w.Write(b[:match[0]])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. api/except.txt

    pkg syscall (openbsd-386-cgo), type Timeval struct, Sec int32
    pkg syscall (openbsd-amd64), const CCR0_FLUSH = 16
    pkg syscall (openbsd-amd64), const CCR0_FLUSH ideal-int
    pkg syscall (openbsd-amd64), const CPUID_CFLUSH = 524288
    pkg syscall (openbsd-amd64), const CPUID_CFLUSH ideal-int
    pkg syscall (openbsd-amd64), const EFER_LMA = 1024
    pkg syscall (openbsd-amd64), const EFER_LMA ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    	if w.cw.count != 0 {
    		panic("zip: SetOffset called after data was written")
    	}
    	w.cw.count = n
    }
    
    // Flush flushes any buffered data to the underlying writer.
    // Calling Flush is not normally necessary; calling Close is sufficient.
    func (w *Writer) Flush() error {
    	return w.cw.w.(*bufio.Writer).Flush()
    }
    
    // SetComment sets the end-of-central-directory comment field.
    // It can only be called before [Writer.Close].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. misc/go_android_exec/exitcode_test.go

    		_, err := f.Finish()
    		// We should get a no exit code error
    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/addr2line/main.go

    		file, line, fn := tab.PCToLine(pc)
    		name := "?"
    		if fn != nil {
    			name = fn.Name
    		} else {
    			file = "?"
    			line = 0
    		}
    		fmt.Fprintf(stdout, "%s\n%s:%d\n", name, file, line)
    	}
    	stdout.Flush()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		}
    		if _, err := tw.Write([]byte("Kilts")); err != ErrWriteAfterClose {
    			t.Fatalf("Write() = %v, want %v", err, ErrWriteAfterClose)
    		}
    		if err := tw.Flush(); err != ErrWriteAfterClose {
    			t.Fatalf("Flush() = %v, want %v", err, ErrWriteAfterClose)
    		}
    		if err := tw.Close(); err != nil {
    			t.Fatalf("Close() = %v, want nil", err)
    		}
    	})
    
    	t.Run("PrematureFlush", func(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
Back to top