Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fnvHashFunc (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    		// used. Currently we advertise support 5k nodes and 10k
    		// namespaces; a 32k entry cache is therefore a 2x safety
    		// margin.
    		cache: newStripedCache(32, fnvHashFunc, func() cache { return newSimpleCache(clock) }),
    
    		hashPool: &sync.Pool{
    			New: func() interface{} {
    				return hmac.New(sha256.New, randomCacheKey)
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top