Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resetTimer (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    	// fuzz internal types
    	schema := &apiextensions.JSONSchemaProps{}
    	f.NilChance(0).NumElements(10, 10).MaxDepth(10).Fuzz(schema)
    
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		if SchemaHas(schema, func(_ *apiextensions.JSONSchemaProps) bool {
    			return false
    		}) {
    			b.Errorf("Function returned true")
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top