Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Haszing (0.2 sec)

  1. internal/event/name.go

    	ObjectCreatedAll
    	ObjectRemovedAll
    	ObjectReplicationAll
    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    
    	case ObjectAccessedAll:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. internal/grid/types.go

    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    		// time when fresh disks were supplied, it is a two dimensional
    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    		}
    		return r, err
    	}
    	return config.ToRetention(), nil
    }
    
    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. cmd/tier.go

    		return nil
    	}
    
    	config.RLock()
    	defer config.RUnlock()
    
    	var tierCfgs []madmin.TierConfig
    	for _, tier := range config.Tiers {
    		// This makes a local copy of tier config before
    		// passing a reference to it.
    		tier := tier.Clone()
    		tierCfgs = append(tierCfgs, tier)
    	}
    	return tierCfgs
    }
    
    // Edit replaces the credentials of the remote tier specified by tierName with creds.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	return muxRouter
    }
    
    // generateTLSCertKey creates valid key/cert with registered DNS or IP address
    // depending on the passed parameter. That way, we can use tls config without
    // passing InsecureSkipVerify flag.  This code is a simplified version of
    // https://golang.org/src/crypto/tls/generate_cert.go
    func generateTLSCertKey(host string) ([]byte, []byte, error) {
    	validFor := 365 * 24 * time.Hour
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    		if _, err := uuid.Parse(vid); err != nil {
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    	}
    
    	// default case of passing encryption headers to backend
    	opts, err = getDefaultOpts(r.Header, false, nil)
    	if err != nil {
    		return opts, err
    	}
    	opts.PartNumber = partNumber
    	opts.VersionID = vid
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    	}
    }
    
    // Tests validate bucket name.
    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    // Run runs the given function, passing it a stopper channel. If the deadline passes before
    // the function finishes executing, Run returns context.DeadlineExceeded to the caller.
    // channel so that the work function can attempt to exit gracefully.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top