Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnsafeConversions (0.14 sec)

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

    func withAudit(ctx context.Context) context.Context {
    	ctx = audit.WithAuditContext(ctx)
    	ac := audit.AuditContextFrom(ctx)
    	ac.Event.Level = auditinternal.LevelMetadata
    	return ctx
    }
    
    func TestUnsafeConversions(t *testing.T) {
    	t.Parallel()
    
    	// needs to be large to force allocations so we pick a random value between [1024, 2048]
    	size := utilrand.IntnRange(1024, 2048+1)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top