Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for globAbs (0.06 sec)

  1. src/internal/trace/testdata/testprog/cpu-profile.go

    		accum = f(accum)
    	}
    	*y = accum
    }
    
    var (
    	salt1 = 0
    )
    
    // The actual CPU hogging function.
    // Must not call other functions nor access heap/globals in the loop,
    // otherwise under race detector the samples will be in the race runtime.
    func cpuHog1(x int) int {
    	return cpuHog0(x, 1e5)
    }
    
    func cpuHog0(x, n int) int {
    	foo := x
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pkg/config/security/security.go

    		}
    	}
    	return nil
    }
    
    func CheckValidPathTemplate(key string, paths []string) error {
    	for _, path := range paths {
    		containsPathTemplate := ContainsPathTemplate(path)
    		globs := strings.Split(path, "/")
    		for _, glob := range globs {
    			// If glob is a supported path template, skip the check.
    			if glob == MatchAnyTemplate || glob == MatchOneTemplate {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top