- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,506 for dwrite (0.21 sec)
-
src/io/multi_test.go
if writeDepth != 4*(myDepth+2) { // 2 should be multiWriter.Write and writerFunc.Write t.Errorf("multiWriter did not flatten chained multiWriters: expected writeDepth %d, got %d", 4*(myDepth+2), writeDepth) } } func TestMultiWriterError(t *testing.T) { f1 := writerFunc(func(p []byte) (int, error) { return len(p) / 2, ErrShortWrite }) f2 := writerFunc(func(p []byte) (int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:32 UTC 2022 - 10K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} } } // testNonEmptyWriter wraps an io.Writer and ensures that // Write is never called with an empty buffer. type testNonEmptyWriter struct{ io.Writer } func (w testNonEmptyWriter) Write(b []byte) (int, error) { if len(b) == 0 { return 0, errors.New("unexpected empty Write call") } return w.Writer.Write(b) } func TestFileWriter(t *testing.T) { type (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/internal/test2json/test2json.go
part: c.writeOutputEvent, }, } c.writeEvent(&event{Action: "start"}) return c } // Write writes the test input to the converter. func (c *Converter) Write(b []byte) (int, error) { c.input.write(b) return len(b), nil } // Exited marks the test process as having exited with the given error. func (c *Converter) Exited(err error) { if err == nil { if c.result != "skip" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 14.5K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} func (w *writer) Reloc(r *Reloc) { o := &w.tmpReloc o.SetOff(r.Off) o.SetSiz(r.Siz) o.SetType(uint16(r.Type)) o.SetAdd(r.Add) o.SetSym(makeSymRef(r.Sym)) o.Write(w.Writer) } func (w *writer) aux1(typ uint8, rs *LSym) { o := &w.tmpAux o.SetType(typ) o.SetSym(makeSymRef(rs)) o.Write(w.Writer) } func (w *writer) Aux(s *LSym) { if s.Gotype != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/net/http/requestwrite_test.go
func (f writerFunc) Write(p []byte) (int, error) { return f(p) } // TestRequestWriteError tests the Write err != nil checks in (*Request).write. func TestRequestWriteError(t *testing.T) { failAfter, writeCount := 0, 0 errFail := errors.New("fake write failure") // w is the buffered io.Writer to write the request to. It // fails exactly once on its Nth Write call, as controlled by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 23.3K bytes - Viewed (0) -
src/compress/flate/huffman_bit_writer.go
var codegenOrder = []uint32{16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15} type huffmanBitWriter struct { // writer is the underlying writer. // Do not use it directly; use the write method, which ensures // that Write errors are sticky. writer io.Writer // Data waiting to be written is bytes[0:nbytes] // and then the low nbits of bits. Data is always written // sequentially into the bytes array.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:59:14 UTC 2022 - 18.4K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
// write "bs" err = en.Append(0xa2, 0x62, 0x73) if err != nil { return } err = en.WriteUint64(z.Bytes) if err != nil { err = msgp.WrapError(err, "Bytes") return } // write "par" err = en.Append(0xa3, 0x70, 0x61, 0x72) if err != nil { return } err = en.WriteBool(z.Participating) if err != nil { err = msgp.WrapError(err, "Participating") return } // write "inf"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} public void write(byte[] b) throws IOException { stream.write(b); collector.write(b); } public void write(byte[] b, int off, int len) throws IOException { stream.write(b, off, len); collector.write(b, off, len); } public void write(int b) throws IOException { stream.write(b);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
h.Write(Separator) h.WriteString(strconv.FormatBool(bool(b.proxy.Metadata.DisableHBONESend))) h.Write(Separator) } h.WriteString(util.LocalityToString(b.locality)) h.Write(Separator) if len(b.failoverPriorityLabels) > 0 { h.Write(b.failoverPriorityLabels) h.Write(Separator) } if b.service.Attributes.NodeLocal { h.WriteString(b.proxy.GetNodeName()) h.Write(Separator) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0)