- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for ReadCloser (0.15 sec)
-
cmd/bucket-replication.go
atomic.AddUint64(&p.stats.mrfStats.TotalDroppedBytes, uint64(entry.sz)) } } } func (p *ReplicationPool) persistToDrive(ctx context.Context, v MRFReplicateEntries) { newReader := func() io.ReadCloser { r, w := io.Pipe() go func() { // Initialize MRF meta header. var data [4]byte binary.LittleEndian.PutUint16(data[0:2], mrfMetaFormat)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0) -
api/go1.5.txt
pkg go/constant, type Value interface, unexported methods pkg go/importer, func Default() types.Importer pkg go/importer, func For(string, Lookup) types.Importer pkg go/importer, type Lookup func(string) (io.ReadCloser, error) pkg go/parser, func ParseExprFrom(*token.FileSet, string, interface{}, Mode) (ast.Expr, error) pkg go/types, const Bool = 1 pkg go/types, const Bool BasicKind pkg go/types, const Byte = 8
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
internal/s3select/select_test.go
) func newStringRSC(s string) io.ReadSeekCloser { return newBytesRSC([]byte(s)) } func newBytesRSC(b []byte) io.ReadSeekCloser { r := bytes.NewReader(b) segmentReader := func(offset int64) (io.ReadCloser, error) { _, err := r.Seek(offset, io.SeekStart) if err != nil { return nil, err } return io.NopCloser(r), nil } return NewObjectReadSeekCloser(segmentReader, int64(len(b))) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
if err != nil { t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err) return } defer os.Remove(tf) path = tf } var rc *ReadCloser rc, err = OpenReader(path) if err == nil { defer rc.Close() z = &rc.Reader } var err2 error raw, err2 = os.ReadFile(path) if err2 != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
continue } stats, err := disk.StatInfoFile(ctx, volume, file, true) if err != nil { continue } for _, si := range stats { found++ var r io.ReadCloser if !si.Dir { r, err = disk.ReadFileStream(ctx, volume, si.Name, 0, si.Size) if err != nil { continue } } else { r = io.NopCloser(bytes.NewBuffer([]byte{})) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0) -
cmd/xl-storage.go
io.Reader io.Closer } // ReadFileStream - Returns the read stream of the file. func (s *xlStorage) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { if offset < 0 { return nil, errInvalidArgument } volumeDir, err := s.getVolDir(volume) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
api/go1.txt
pkg io, type LimitedReader struct, N int64 pkg io, type LimitedReader struct, R Reader pkg io, type PipeReader struct pkg io, type PipeWriter struct pkg io, type ReadCloser interface { Close, Read } pkg io, type ReadCloser interface, Close() error pkg io, type ReadCloser interface, Read([]uint8) (int, error) pkg io, type ReadSeeker interface { Read, Seek } pkg io, type ReadSeeker interface, Read([]uint8) (int, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
doc/go1.17_spec.html
methods of each method set exactly once, and methods with the <a href="#Uniqueness_of_identifiers">same</a> names must have <a href="#Type_identity">identical</a> signatures. </p> <pre> type ReadCloser interface { Reader // includes methods of Reader in ReadCloser's method set Close() // illegal: signatures of Reader.Close and Close are different } </pre> <p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
api/go1.16.txt
pkg archive/zip, method (*ReadCloser) Open(string) (fs.File, error) pkg archive/zip, method (*Reader) Open(string) (fs.File, error) pkg crypto/x509, method (SystemRootsError) Unwrap() error pkg debug/elf, const DT_ADDRRNGHI = 1879047935 pkg debug/elf, const DT_ADDRRNGHI DynTag pkg debug/elf, const DT_ADDRRNGLO = 1879047680 pkg debug/elf, const DT_ADDRRNGLO DynTag pkg debug/elf, const DT_AUDIT = 1879047932 pkg debug/elf, const DT_AUDIT DynTag
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
doc/go_spec.html
</pre> <p> When embedding interfaces, methods with the <a href="#Uniqueness_of_identifiers">same</a> names must have <a href="#Type_identity">identical</a> signatures. </p> <pre> type ReadCloser interface { Reader // includes methods of Reader in ReadCloser's method set Close() // illegal: signatures of Reader.Close and Close are different } </pre>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)