Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OpHash (0.05 sec)

  1. cmd/bucket-lifecycle.go

    }
    
    type expiryOp interface {
    	OpHash() uint64
    }
    
    type freeVersionTask struct {
    	ObjectInfo
    }
    
    func (f freeVersionTask) OpHash() uint64 {
    	return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name)
    }
    
    func (n noncurrentVersionsTask) OpHash() uint64 {
    	return xxh3.HashString(n.bucket + n.versions[0].ObjectName)
    }
    
    func (j jentry) OpHash() uint64 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	hash := hashPath(path)
    	if d.Cache == nil {
    		d.Cache = make(map[string]dataUsageEntry, 100)
    	}
    	d.Cache[hash.Key()] = e
    	if parent != "" {
    		phash := hashPath(parent)
    		p := d.Cache[phash.Key()]
    		p.addChild(hash)
    		d.Cache[phash.Key()] = p
    	}
    }
    
    // replaceHashed add or replaces an entry to the cache based on its hash.
    // If a parent is specified it will be added to that if not already there.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. lib/fips140/v1.0.0.zip

    seed []byte, keyLen int) []byte { labelAndSeed := make([]byte, len(label)+len(seed)) copy(labelAndSeed, label) copy(labelAndSeed[len(label):], seed) result := make([]byte, keyLen) pHash(hash, result, secret, labelAndSeed) return result } // pHash implements the P_hash function, as defined in RFC 5246, Section 5. func pHash[H fips140.Hash](hash func() H, result, secret, seed []byte) { h := hmac.New(hash, secret) h.Write(seed) a := h.Sum(nil) for len(result) > 0 { h.Reset() h.Write(a) h.Write(seed) b...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top