Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Hafner (3.07 sec)

  1. cmd/server_test.go

    	}{
    		// request for byte range 10-11.
    		// expecting the result to contain only putContent[10:12] bytes.
    		{"10-11", putContent[10:12]},
    		// request for object data after the first byte.
    		{"1-", putContent[1:]},
    		// request for object data after the first byte.
    		{"6-", putContent[6:]},
    		// request for last 2 bytes of the object.
    		{"-2", putContent[len(putContent)-2:]},
    		// request for last 7 bytes of the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    		started := false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/site-replication.go

    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    		err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    	} else {
    		_, err = globalIAMSys.SetPolicy(ctx, policyName, *p)
    	}
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. 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)
Back to top