- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 958 for write1 (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
} if (associatedStreamId == 0) { writer.headers(outFinished, streamId, requestHeaders) } else { require(!client) { "client streams shouldn't have associated stream IDs" } // HTTP/2 has a PUSH_PROMISE frame. writer.pushPromise(associatedStreamId, streamId, requestHeaders) } } if (flushHeaders) { writer.flush() } return stream }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
src/encoding/hex/hex.go
const bufferSize = 1024 type encoder struct { w io.Writer err error out [bufferSize]byte // output buffer } // NewEncoder returns an [io.Writer] that writes lowercase hexadecimal characters to w. func NewEncoder(w io.Writer) io.Writer { return &encoder{w: w} } func (e *encoder) Write(p []byte) (n int, err error) { for len(p) > 0 && e.err == nil { chunkSize := bufferSize / 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
out.Write32(uint32(e.Paddr)) out.Write32(uint32(e.Filesz)) out.Write32(uint32(e.Memsz)) out.Write32(uint32(e.Flags)) out.Write32(uint32(e.Align)) } func elf64shdr(out *OutBuf, e *ElfShdr) { out.Write32(e.Name) out.Write32(uint32(e.Type)) out.Write64(uint64(e.Flags)) out.Write64(e.Addr) out.Write64(e.Off) out.Write64(e.Size) out.Write32(e.Link) out.Write32(e.Info) out.Write64(e.Addralign)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/runtime/traceevent.go
} return traceEventWriter{w} } // commit writes out a trace event and calls end. It's a helper to make the // common case of writing out a single event less error-prone. func (e traceEventWriter) commit(ev traceEv, args ...traceArg) { e = e.write(ev, args...) e.end() } // write writes an event into the trace. func (e traceEventWriter) write(ev traceEv, args ...traceArg) traceEventWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/runtime/tracebuf.go
// we can change it if it's deemed too error-prone. type traceWriter struct { traceLocker *traceBuf } // write returns an a traceWriter that writes into the current M's stream. func (tl traceLocker) writer() traceWriter { return traceWriter{traceLocker: tl, traceBuf: tl.mp.trace.buf[tl.gen%2]} } // unsafeTraceWriter produces a traceWriter that doesn't lock the trace. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
internal/ioutil/ioutil.go
// we have written the entire stream, return right here. return written, nil } if eof { // We reached EOF prematurely but we did not write everything // that we promised that we would write. if totalSize > 0 && written != totalSize { return written, io.ErrUnexpectedEOF } return written, nil } } } // SafeClose safely closes any channel of any type
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 10.2K bytes - Viewed (0) -
src/internal/coverage/cfile/apis.go
} return emitMetaDataToDirectory(dir, rtcov.Meta.List) } // WriteMeta implements [runtime/coverage.WriteMeta]. func WriteMeta(w io.Writer) error { if w == nil { return fmt.Errorf("error: nil writer in WriteMeta") } if !finalHashComputed { return fmt.Errorf("error: no meta-data available (binary not built with -cover?)") } ml := rtcov.Meta.List
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 5.4K bytes - Viewed (0) -
src/index/suffixarray/suffixarray.go
} return nil } // Write writes the index x to w. func (x *Index) Write(w io.Writer) error { // buffer for all writes buf := make([]byte, bufSize) // write length if err := writeInt(w, buf, len(x.data)); err != nil { return err } // write data if _, err := w.Write(x.data); err != nil { return err } // write index sa := x.sa for sa.len() > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.5K bytes - Viewed (0) -
src/compress/flate/deflate.go
} func (w *dictWriter) Write(b []byte) (n int, err error) { return w.w.Write(b) } var errWriterClosed = errors.New("flate: closed writer") // A Writer takes data written to it and writes the compressed // form of that data to an underlying writer (see [NewWriter]). type Writer struct { d compressor dict []byte } // Write writes data to w, which will eventually write the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 20.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go
"io" ) type lengthDelimitedFrameWriter struct { w io.Writer h [4]byte } func NewLengthDelimitedFrameWriter(w io.Writer) io.Writer { return &lengthDelimitedFrameWriter{w: w} } // Write writes a single frame to the nested writer, prepending it with the length // in bytes of data (as a 4 byte, bigendian uint32). func (w *lengthDelimitedFrameWriter) Write(data []byte) (int, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 4.9K bytes - Viewed (0)