Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for readPtr (0.29 sec)

  1. cmd/bucket-replication-utils_gen.go

    import (
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BucketReplicationResyncStatus) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  2. cmd/bucket-stats_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BucketReplicationStat) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	const mapEntryOverhead = 200
    
    	var (
    		reader        io.Reader
    		fileSize      int64 = -1
    		fileName      string
    		fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100)
    	)
    
    	maxParts := 1000
    	// Canonicalize the form values into http.Header.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    	ndef         int      // cache goobj.Reader.NSym()
    	nhashed64def int      // cache goobj.Reader.NHashed64Def()
    	nhasheddef   int      // cache goobj.Reader.NHashedDef()
    	objidx       uint32   // index of this reader in the objs slice
    }
    
    // Total number of defined symbols (package symbols, hashed symbols, and
    // non-package symbols).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. src/net/http/client_test.go

    // Its Read returns readErr and increments *readCalls atomically.
    // Its Close returns nil and increments *closeCalls atomically.
    type issue18239Body struct {
    	readCalls  *int32
    	closeCalls *int32
    	readErr    error
    }
    
    func (b issue18239Body) Read([]byte) (int, error) {
    	atomic.AddInt32(b.readCalls, 1)
    	return 0, b.readErr
    }
    
    func (b issue18239Body) Close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. src/debug/elf/file_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			reader := dwarf.Reader()
    			idx := 0
    			for _, testEntry := range test.entries {
    				if testEntry.entryNumber < idx {
    					t.Fatalf("internal test error: %d < %d", testEntry.entryNumber, idx)
    				}
    				for ; idx < testEntry.entryNumber; idx++ {
    					entry, err := reader.Next()
    					if entry == nil || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  7. src/net/http/transport.go

    // call gzip.NewReader on the first call to Read
    type gzipReader struct {
    	_    incomparable
    	body *bodyEOFSignal // underlying HTTP/1 response body framing
    	zr   *gzip.Reader   // lazily-initialized gzip reader
    	zerr error          // any error from gzip.NewReader; sticky
    }
    
    func (gz *gzipReader) Read(p []byte) (n int, err error) {
    	if gz.zr == nil {
    		if gz.zerr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	}
    
    	return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), nil
    }
    
    // GetObjectNInfo - returns object info and an object
    // Read(Closer). When err != nil, the returned reader is always nil.
    func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
    	if !opts.NoAuditLog {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. src/crypto/tls/tls_test.go

    		f := v.Field(i)
    		// testing/quick can't handle functions or interfaces and so
    		// isn't used here.
    		switch fn := typ.Field(i).Name; fn {
    		case "Rand":
    			f.Set(reflect.ValueOf(io.Reader(os.Stdin)))
    		case "Time", "GetCertificate", "GetConfigForClient", "VerifyPeerCertificate", "VerifyConnection", "GetClientCertificate", "WrapSession", "UnwrapSession", "EncryptedClientHelloRejectionVerify":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  10. src/crypto/tls/common.go

    // modify it.
    type Config struct {
    	// Rand provides the source of entropy for nonces and RSA blinding.
    	// If Rand is nil, TLS uses the cryptographic random reader in package
    	// crypto/rand.
    	// The Reader must be safe for use by multiple goroutines.
    	Rand io.Reader
    
    	// Time returns the current time as the number of seconds since the epoch.
    	// If Time is nil, TLS uses time.Now.
    	Time func() time.Time
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
Back to top