- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for xbufio (0.06 sec)
-
cmd/storage-rest-client.go
"github.com/minio/minio/internal/grid" xhttp "github.com/minio/minio/internal/http" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/rest" xnet "github.com/minio/pkg/v3/net" xbufio "github.com/philhofer/fwd" "github.com/tinylib/msgp/msgp" ) func isNetworkError(err error) bool { if err == nil { return false } if nerr, ok := err.(*rest.NetworkError); ok {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
req.Trailer = nil } return &s3UnsignedChunkedReader{ trailers: req.Trailer, reader: bufio.NewReader(req.Body), buffer: make([]byte, 64*1024), }, ErrNone } // Represents the overall state that is required for decoding a // AWS Signature V4 chunked reader. type s3UnsignedChunkedReader struct { reader *bufio.Reader trailers http.Header buffer []byte offset int err error debug bool }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
cmd/untar.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "archive/tar" "bufio" "bytes" "context" "errors" "fmt" "io" "io/fs" "os" "path" "runtime" "sync" "time" "github.com/cosnicolaou/pbzip2" "github.com/klauspost/compress/s2"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
internal/s3select/jstream/scanner_test.go
} }) b.Run("large", func(b *testing.B) { for b.Loop() { benchmarkBufioScanner(largeInput) } }) } func benchmarkBufioScanner(b []byte) { s := bufio.NewScanner(bytes.NewReader(b)) s.Split(bufio.ScanBytes) for s.Scan() { s.Bytes() } } func BenchmarkBufioReader(b *testing.B) { b.Run("small", func(b *testing.B) { for b.Loop() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package mountinfo import ( "bufio" "fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" ) const ( // Number of fields per line in /proc/mounts as per the fstab man page. expectedNumFieldsPerLine = 6
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
} bf := bytes.Buffer{} save := func(s string) { bf.WriteString(s + "\n") } reset := func() { bf.Reset() } ret := make(map[time.Duration][]string) s := bufio.NewScanner(f) s.Split(bufio.ScanLines) var ( t time.Duration skip, record bool ) for s.Scan() { line := s.Text() switch { case skip && line != "": case skip && line == "":Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
} testCases := []testCase{ // Test - 1 - small bufio reader. { bufio.NewReaderSize(readers[0], 16), errLineTooLong, nil, nil, }, // Test - 2 - unexpected end of the reader. { bufio.NewReader(readers[1]), io.ErrUnexpectedEOF, nil, nil, }, // Test - 3 - line too long bigger than 4k+1 { bufio.NewReader(readers[2]), errLineTooLong, nil, nil,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
internal/http/response-recorder.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "bufio" "bytes" "errors" "fmt" "io" "net" "net/http" "time" "github.com/klauspost/compress/gzip" ) // ResponseRecorder - is a wrapper to trap the http response
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.5K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// The returned bytes are owned by the bufio.Reader // so they are only valid until the next bufio read. func readChunkLine(b *bufio.Reader) ([]byte, []byte, error) { buf, err := b.ReadSlice('\n') if err != nil { // We always know when EOF is coming. // If the caller asked for a line, there should be a line. switch err { case io.EOF: err = io.ErrUnexpectedEOF case bufio.ErrBufferFull: err = errLineTooLong
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 18.2K bytes - Viewed (0) -
internal/s3select/json/preader.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package json import ( "bufio" "bytes" "io" "runtime" "sync" "github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/s3select/jstream" "github.com/minio/minio/internal/s3select/sql" )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 6.5K bytes - Viewed (0)