Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getHashedSetIndex (0.07 sec)

  1. cmd/erasure-sets.go

    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSetIndex(input string) int {
    	return hashKey(s.distributionAlgo, input, len(s.sets), s.deploymentID)
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSet(input string) (set *erasureObjects) {
    	return s.sets[s.getHashedSetIndex(input)]
    }
    
    // listDeletedBuckets lists deleted buckets from all disks.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. cmd/metacache-server-pool.go

    	if o.pool < 0 {
    		// No space or similar, don't persist the listing.
    		o.pool = 0
    		o.Create = false
    		o.ID = ""
    		o.Transient = true
    		return entries, errDiskFull
    	}
    	o.set = z.serverPools[o.pool].getHashedSetIndex(o.ID)
    	saver := z.serverPools[o.pool].sets[o.set]
    
    	// Disconnect from call above, but cancel on exit.
    	listCtx, cancel := context.WithCancel(GlobalContext)
    	saveCh := make(chan metaCacheEntry, metacacheBlockSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	DeletePrefixObject                  bool      // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
    
    	Speedtest bool // object call specifically meant for SpeedTest code, set to 'true' when invoked by SpeedtestHandler.
    
    	// Use the maximum parity (N/2), used when saving server configuration files
    	MaxParity bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top