- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for ErrUnexpectedEOF (0.22 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/s3select/jstream/decoder.go
if d.remaining() < 4 { return nil, Unknown, d.mkError(ErrUnexpectedEOF) } //nolint:gocritic if d.next() == 'a' && d.next() == 'l' && d.next() == 's' && d.next() == 'e' { return false, Boolean, nil } return nil, Unknown, d.mkError(ErrSyntax, "in literal false") case 't': if d.remaining() < 3 { return nil, Unknown, d.mkError(ErrUnexpectedEOF) } //nolint:gocritic
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
if err == io.EOF { err = io.ErrUnexpectedEOF } if err != nil { cr.err = err return n, cr.err } if !bytes.HasPrefix(signature[:], []byte("chunk-signature=")) { cr.err = errMalformedEncoding return n, cr.err } b, err := cr.reader.ReadByte() if err == io.EOF { err = io.ErrUnexpectedEOF } if err != nil { cr.err = err return n, cr.err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
src/archive/tar/reader_test.go
{data1[:511], 0, io.ErrUnexpectedEOF}, {data1[:512], 1, io.ErrUnexpectedEOF}, {data1[:1024], 1, io.EOF}, {data1[:1536], 2, io.ErrUnexpectedEOF}, {data1[:2048], 2, io.EOF}, {data1, 2, io.EOF}, {data1[:2048] + data2[:1536], 3, io.EOF}, {data2[:511], 0, io.ErrUnexpectedEOF}, {data2[:512], 1, io.ErrUnexpectedEOF}, {data2[:1195], 1, io.ErrUnexpectedEOF},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/archive/zip/reader.go
} if err == nil { return } if err == io.EOF { if r.nread != r.f.UncompressedSize64 { return 0, io.ErrUnexpectedEOF } if r.desr != nil { if err1 := readDataDescriptor(r.desr, r.f); err1 != nil { if err1 == io.EOF { err = io.ErrUnexpectedEOF } else { err = err1 } } else if r.hash.Sum32() != r.f.CRC32 { err = ErrChecksum } } else {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
cmd/storage-rest-client.go
return errRPCAPIVersionUnsupported case errServerTimeMismatch.Error(): return errServerTimeMismatch case io.EOF.Error(): return io.EOF case io.ErrUnexpectedEOF.Error(): return io.ErrUnexpectedEOF case errDiskStale.Error(): return errDiskNotFound case errDiskNotFound.Error(): return errDiskNotFound case errMaxVersionsExceeded.Error(): return errMaxVersionsExceeded
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/xl-storage.go
// read. On return, n == len(buf) if and only if err == nil. n == 0 // for io.EOF. // // If an EOF happens after reading some but not all the bytes, // ReadFile returns ErrUnexpectedEOF. // // If the BitrotVerifier is not nil or not verified ReadFile // tries to verify whether the disk has bitrot. // // Additionally ReadFile also starts reading from an offset. ReadFile
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
cmd/xl-storage_test.go
volume, "myobject", 0, 16, []byte("hello, world"), io.ErrUnexpectedEOF, }, // Reading from an offset success. - 7 { volume, "myobject", 7, 5, []byte("world"), nil, }, // Reading from an object but buffer size greater. - 8 { volume, "myobject", 7, 8, []byte("world"), io.ErrUnexpectedEOF, }, // Seeking ahead returns io.EOF. - 9 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
cmd/admin-handlers-site-replication.go
connectTime := time.Now() for { n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte) atomic.AddUint64(&globalSiteNetPerfRX.RX, uint64(n)) if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF { // If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec) // would mean the network is not stable. Logging here will help in debugging network issues.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.4K bytes - Click Count (0) -
src/archive/tar/writer_test.go
testRemaining{0, 0}, }, }, { maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testReadFrom{fileOps{"ab", int64(3), "cd"}, 7, io.ErrUnexpectedEOF}, testRemaining{1, 0}, }, }, { maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testReadFrom{fileOps{"ab", int64(3), "cde"}, 7, errMissData},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
cmd/admin-handlers.go
defer cancel() totalRx := int64(0) connectTime := time.Now() for { n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte) if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF { // would mean the network is not stable. Logging here will help in debugging network issues. if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) { adminLogIf(ctx, err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0)