Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Sall (0.16 sec)

  1. src/bytes/reader.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // A Reader implements the io.Reader, io.ReaderAt, io.WriterTo, io.Seeker,
    // io.ByteScanner, and io.RuneScanner interfaces by reading from
    // a byte slice.
    // Unlike a [Buffer], a Reader is read-only and supports seeking.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			if err := tr.handleRegularFile(hdr); err != nil {
    				return nil, err
    			}
    
    			// Sparse formats rely on being able to read from the logical data
    			// section; there must be a preceding call to handleRegularFile.
    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/s3select/simdj/reader.go

    	return &Reader{
    		args:       args,
    		decoded:    ch,
    		err:        err,
    		readCloser: nil,
    	}
    }
    
    // safeCloser will wrap a Reader as a ReadCloser.
    // It is safe to call Close while the reader is being used.
    type safeCloser struct {
    	closed uint32
    	r      io.Reader
    }
    
    func (s *safeCloser) Read(p []byte) (n int, err error) {
    	if atomic.LoadUint32(&s.closed) == 1 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. internal/etag/reader.go

    		if etag := r.ETag(); !Equal(etag, r.checksum) {
    			return n, VerifyError{
    				Expected: r.checksum,
    				Computed: etag,
    			}
    		}
    	}
    	return n, err
    }
    
    // ETag returns the ETag of all the content read
    // so far. Reading more content changes the MD5
    // checksum. Therefore, calling ETag multiple
    // times may return different results.
    func (r *Reader) ETag() ETag {
    	sum := r.md5.Sum(nil)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    				cr := newReader(bytes.NewBuffer(in.input))
    				all := dst[:0]
    				err := func() error {
    					// Read all records until EOF or another error.
    					for {
    						record, err := cr.Read()
    						if err == io.EOF {
    							return nil
    						}
    						if err != nil {
    							return errCSVParsingError(err)
    						}
    						var recDst []string
    						if len(dst) > len(all) {
    							recDst = dst[len(all)]
    						}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/reader.go

    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    			tokens = need + hdr
    
    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    			need = 1 // to ensure we read at least one byte for every Read
    			tokens = b
    		}
    	} else { // all tokens go towards payload
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    }
    
    // Options are optional arguments to NewReaderWithOpts, Options
    // simply converts positional arguments to NewReader() into a
    // more flexible way to provide optional inputs. This is currently
    // used by the FanOut API call mostly to disable expensive md5sum
    // calculation repeatedly under hash.Reader.
    type Options struct {
    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    	ActualSize int64
    	DisableMD5 bool
    	ForceMD5   []byte
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    )
    
    var zipinsecurepath = godebug.New("zipinsecurepath")
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top