- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,682 for writes (0.07 sec)
-
cmd/batch-job-common-types_gen.go
return } // EncodeMsg implements msgp.Encodable func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 2 // write "Key" err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79) if err != nil { return } err = en.WriteString(z.Key) if err != nil { err = msgp.WrapError(err, "Key") return } // write "Value" err = en.Append(0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
src/archive/zip/register.go
var flateWriterPool sync.Pool func newFlateWriter(w io.Writer) io.WriteCloser { fw, ok := flateWriterPool.Get().(*flate.Writer) if ok { fw.Reset(w) } else { fw, _ = flate.NewWriter(w, 5) } return &pooledFlateWriter{fw: fw} } type pooledFlateWriter struct { mu sync.Mutex // guards Close and Write fw *flate.Writer } func (w *pooledFlateWriter) Write(p []byte) (n int, err error) { w.mu.Lock()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
statement.go
writer.WriteByte('(') for idx, d := range v { if idx > 0 { writer.WriteByte(',') } stmt.QuoteTo(writer, d) } writer.WriteByte(')') case clause.Expr: v.Build(stmt) case string: stmt.DB.Dialector.QuoteTo(writer, v) case []string: writer.WriteByte('(') for idx, d := range v { if idx > 0 { writer.WriteByte(',') } stmt.DB.Dialector.QuoteTo(writer, d)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); try (Writer out = output) { new SettingsStaxWriter().write(out, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing settings", e); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/s3select/simdj/record.go
return sql.SelectFmtSIMDJSON, r.object } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { o := r.object elems, err := o.Parse(nil) if err != nil { return err } b, err := elems.MarshalJSON() if err != nil { return err } n, err := writer.Write(b) if err != nil { return err } if n != len(b) { return io.ErrShortWrite } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/admin-handlers.go
bugLogIf(ctx, err) writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } // Write a version for making *incompatible* changes. // The AdminClient will reject any version it does not know. if publicKey == nil { w.Write([]byte{1}) w.Write(key[:]) } stream, err := sio.AES_256_GCM.Stream(key[:]) if err != nil { bugLogIf(ctx, err) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
mappedResp[id] = string(resource.Value) + "\n" } else { _, _ = s.Writer.Write(resource.Value) _, _ = s.Writer.Write([]byte("\n")) } } } if len(mappedResp) > 0 { mresp, err := json.MarshalIndent(mappedResp, "", " ") if err != nil { return err } _, _ = s.Writer.Write(mresp) _, _ = s.Writer.Write([]byte("\n")) } return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
Name: "lorem.txt", Mode: 0600, Size: int64(len(inp)), }) if err != nil { f.Fatalf("failed to create writer: %s", err) } _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) } if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) } f.Add(b.Bytes()) f.Fuzz(func(t *testing.T, b []byte) { r := NewReader(bytes.NewReader(b))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
func (z *BucketReplicationStat) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 14 // write "ReplicatedSize" err = en.Append(0x8e, 0xae, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65) if err != nil { return } err = en.WriteInt64(z.ReplicatedSize) if err != nil { err = msgp.WrapError(err, "ReplicatedSize") return } // write "ReplicaSize"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/metacache-stream.go
} return nil } return &w } // write one or more objects to the stream in order. // It is favorable to send as many objects as possible in a single write, // but no more than math.MaxUint32 func (w *metacacheWriter) write(objs ...metaCacheEntry) error { if w == nil { return errors.New("metacacheWriter: nil writer") } if len(objs) == 0 { return nil } if w.creator != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0)