Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 32 (0.18 sec)

  1. cmd/data-usage-cache.go

    // If cycles is 1 true is always returned (as expected).
    func (h dataUsageHash) modAlt(cycle uint32, cycles uint32) bool {
    	if cycles <= 1 {
    		return cycles == 1
    	}
    	return uint32(xxhash.Sum64String(string(h))>>32)%(cycles) == cycle%cycles
    }
    
    // addChild will add a child based on its hash.
    // If it already exists it will not be added again.
    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
Back to top