Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for openMapped (0.09 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		return expire, nop
    	}
    
    	m, err := openMapped(name, f.meta, nil)
    	if err != nil {
    		// Mapping failed:
    		// If there used to be a mapped file, after cleanup
    		// incrementing counters will only change their internal state.
    		// (before cleanup the existing mapped file would be updated)
    		f.current.Store(nil) // invalidate the current mapping
    		debugPrintf("rotate: openMapped: %v\n", err)
    		return time.Time{}, cleanup
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top