Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StorePointer (0.06 sec)

  1. cmd/data-scanner-metric.go

    	initialPtr := unsafe.Pointer(&initial)
    	tracker := &currentPathTracker{
    		name: &initialPtr,
    	}
    
    	p.currentPaths.Store(disk, tracker)
    	return func(path string) {
    			atomic.StorePointer(tracker.name, unsafe.Pointer(&path))
    		}, func() {
    			p.currentPaths.Delete(disk)
    		}
    }
    
    // getCurrentPaths returns the paths currently being processed.
    func (p *scannerMetrics) getCurrentPaths() []string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top