Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mtimeInterval (0.28 sec)

  1. src/cmd/go/internal/cache/cache.go

    			lastTrim := time.Unix(t, 0)
    			if d := now.Sub(lastTrim); d < trimInterval && d > -mtimeInterval {
    				return nil
    			}
    		}
    	}
    
    	// Trim each of the 256 subdirectories.
    	// We subtract an additional mtimeInterval
    	// to account for the imprecision of our "last used" mtimes.
    	cutoff := now.Add(-trimLimit - mtimeInterval)
    	for i := 0; i < 256; i++ {
    		subdir := filepath.Join(c.dir, fmt.Sprintf("%02x", i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top