Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reduceChildrenOf (0.17 sec)

  1. cmd/data-usage-cache.go

    	}
    	if parent != nil {
    		p := d.Cache[parent.Key()]
    		p.addChild(hash)
    		d.Cache[parent.Key()] = p
    	}
    }
    
    // reduceChildrenOf will reduce the recursive number of children to the limit
    // by compacting the children with the least number of objects.
    func (d *dataUsageCache) reduceChildrenOf(path dataUsageHash, limit int, compactSelf bool) {
    	e, ok := d.Cache[path.Key()]
    	if !ok {
    		return
    	}
    	if e.Compacted {
    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