Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Donner (0.2 sec)

  1. internal/cachevalue/cache.go

    	// updateFn must return an updated value.
    	// If an error is returned the cached value is not set.
    	// Only one caller will call this function at any time, others will be blocking.
    	// The returned value can no longer be modified once returned.
    	// Should be set before calling Get().
    	updateFn func() (T, error)
    
    	// ttl for a cached value.
    	ttl time.Duration
    
    	opts Opts
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader.go

    	dst   chan [][]string // result of block decode
    	err   error           // any error encountered will be set here
    }
    
    // Read - reads single record.
    // Once Read is called the previous record should no longer be referenced.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	// If we have have any records left, return these before any error.
    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    			return nil, r.err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes.go

    	// what decoding mechanisms must be applied to obtain the object referenced
    	// by the Content-Type header field.
    	ContentEncoding string
    
    	// Date and time at which the object is no longer able to be cached
    	Expires time.Time
    
    	// Cache-Control - Specifies caching behavior along the request/reply chain
    	CacheControl string
    
    	// Specify object storage class
    	StorageClass string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. internal/grid/handlers.go

    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	Requests chan<- Req
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    		appendHyphen = true
    	}
    	if p.sealMD5Fn != nil {
    		md5sumCurr = p.sealMD5Fn(md5sumCurr)
    	}
    	if appendHyphen {
    		// Make sure to return etag string upto 32 length, for SSE
    		// requests ETag might be longer and the code decrypting the
    		// ETag ignores ETag in multipart ETag form i.e <hex>-N
    		return hex.EncodeToString(md5sumCurr)[:32] + "-1"
    	}
    	return hex.EncodeToString(md5sumCurr)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. cmd/bucket-replication.go

    		opType:             op,
    		replicationRequest: opts.ReplicationRequest,
    	}
    }
    
    // mustReplicate returns 2 booleans - true if object meets replication criteria and true if replication is to be done in
    // a synchronous manner.
    func mustReplicate(ctx context.Context, bucket, object string, mopts mustReplicateOptions) (dsc ReplicateDecision) {
    	// object layer not initialized we return with no decision.
    	if newObjectLayerFn() == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/metacache-server-pool.go

    			if rpc != nil {
    				ctx, cancel := context.WithTimeout(GlobalContext, 5*time.Second)
    				defer cancel()
    				c, err := rpc.GetMetacacheListing(ctx, *o)
    				if err == nil {
    					c.error = "no longer used"
    					c.status = scanStateError
    					rpc.UpdateMetacacheListing(ctx, *c)
    				}
    			}
    		}()
    		o.ID = ""
    	}
    
    	// Do listing in-place.
    	// Create output for our results.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. internal/grid/stream.go

    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	// Requests sent cannot be used any further by the called.
    	Requests chan<- []byte
    
    	muxID uint64
    	ctx   context.Context
    }
    
    // Send a payload to the remote server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. cmd/tier-sweeper.go

    			ObjName:   os.RemoteObject,
    			VersionID: os.TransitionVersionID,
    			TierName:  os.TransitionTier,
    		}, true
    	}
    	return jentry{}, false
    }
    
    // Sweep removes the transitioned object if it's no longer referred to.
    func (os *objSweeper) Sweep() {
    	if je, ok := os.shouldRemoveRemoteObject(); ok {
    		globalExpiryState.enqueueTierJournalEntry(je)
    	}
    }
    
    type jentry struct {
    	ObjName   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. internal/auth/credentials_test.go

    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top