- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,635 for writer (0.1 sec)
-
cmd/object-api-interface.go
// tests are adjusted to use GetObjectNInfo this function can be removed. func GetObject(ctx context.Context, api ObjectLayer, bucket, object string, startOffset int64, length int64, writer io.Writer, etag string, opts ObjectOptions) (err error) { var header http.Header if etag != "" { header.Set("ETag", etag) } Range := &HTTPRangeSpec{Start: startOffset, End: startOffset + length}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
} // EncodeMsg implements msgp.Encodable func (z RStat) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 2 // write "Count" err = en.Append(0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74) if err != nil { return } err = en.WriteInt64(z.Count) if err != nil { err = msgp.WrapError(err, "Count") return } // write "Bytes" err = en.Append(0xa5, 0x42, 0x79, 0x74, 0x65, 0x73) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
misc/go_android_exec/main.go
return &exitCodeFilter{w: w, exitRe: exitRe}, exitStr } func (f *exitCodeFilter) Write(data []byte) (int, error) { 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 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
cmd/metacache_gen.go
} // EncodeMsg implements msgp.Encodable func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 13 // write "end" err = en.Append(0x8d, 0xa3, 0x65, 0x6e, 0x64) if err != nil { return } err = en.WriteTime(z.ended) if err != nil { err = msgp.WrapError(err, "ended") return } // write "st" err = en.Append(0xa2, 0x73, 0x74) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
api/go1.2.txt
pkg archive/zip, type Compressor func(io.Writer) (io.WriteCloser, error) pkg archive/zip, type Decompressor func(io.Reader) io.ReadCloser pkg bufio, method (*Reader) Reset(io.Reader) pkg bufio, method (*Writer) Reset(io.Writer) pkg compress/flate, method (*Writer) Reset(io.Writer) pkg compress/gzip, method (*Writer) Reset(io.Writer) pkg compress/zlib, method (*Writer) Reset(io.Writer) pkg container/heap, func Fix(Interface, int)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0) -
src/archive/tar/reader.go
} return n, err } // writeTo writes the content of the current file to w. // The bytes written matches the number of remaining bytes in the current file. // // If the current file is sparse and w is an io.WriteSeeker, // then writeTo uses Seek to skip past holes defined in Header.SparseHoles, // assuming that skipped regions are filled with NULs. // This always writes the last byte to ensure w is the right size. //
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/tier_gen.go
if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z *TierConfigMgr) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 1 // write "Tiers" err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73) if err != nil { return } err = en.WriteMapHeader(uint32(len(z.Tiers))) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen.go
func (z *ServerSystemConfig) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "NEndpoints" err = en.Append(0x84, 0xaa, 0x4e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73) if err != nil { return } err = en.WriteInt(z.NEndpoints) if err != nil { err = msgp.WrapError(err, "NEndpoints") return } // write "CmdLines"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 14:49:49 UTC 2024 - 7K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
return debug, err } func setupConfigdumpZtunnelConfigWriter(debug []byte, out io.Writer) (*ztunnelDump.ConfigWriter, error) { cw := &ztunnelDump.ConfigWriter{Stdout: out, FullDump: debug} err := cw.Prime(debug) if err != nil { return nil, err } return cw, nil } func setupFileZtunnelConfigdumpWriter(filename string, out io.Writer) (*ztunnelDump.ConfigWriter, error) { data, err := readFile(filename) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
}, } for i, c := range cases { t.Run(fmt.Sprintf("[%v] %v ", i, c.name), func(tt *testing.T) { defer func() { recover() }() v := &validator{} var writer io.Writer warn, err := v.validateResource("istio-system", "", fromYAML(c.in), writer) if (err == nil) != c.valid { tt.Fatalf("unexpected validation result: got %v want %v: err=%v", err == nil, c.valid, err) } if (warn != nil) != c.warn {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0)