Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dataUsageHash (0.13 sec)

  1. cmd/data-usage-cache.go

    	leaves := make([]struct {
    		objects uint64
    		path    dataUsageHash
    	}, total)
    	// Collect current leaves that have children.
    	leaves = leaves[:0]
    	remove := total - limit
    	var add func(path dataUsageHash)
    	add = func(path dataUsageHash) {
    		e, ok := d.Cache[path.Key()]
    		if !ok {
    			return
    		}
    		if len(e.Children) == 0 {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen.go

    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *dataUsageHash) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 string
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = dataUsageHash(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z dataUsageHash) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    					scannerLogIf(ctx, fmt.Errorf("%w, Object %s", err, dataUsageBloomNamePath))
    				}
    			}
    		}
    	}
    }
    
    type cachedFolder struct {
    	name              string
    	parent            *dataUsageHash
    	objectHealProbDiv uint32
    }
    
    type folderScanner struct {
    	root        string
    	getSize     getSizeFn
    	oldCache    dataUsageCache
    	newCache    dataUsageCache
    	updateCache dataUsageCache
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top