Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for valfunc (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		milestones = append(milestones, s)
    	}
    
    	testCases := []struct {
    		name        string
    		decorator   func(runtime.Object)
    		beginCreate BeginCreateFunc
    		afterCreate AfterCreateFunc
    		// the TTLFunc is an easy hook to force a failure
    		ttl              func(obj runtime.Object, existing uint64, update bool) (uint64, error)
    		expectError      bool
    		expectAnnotation string   // to test object mutations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/routing.go

    		config:           configAll,
    		templateVars: func(src echo.Callers, dest echo.Instances) map[string]any {
    			return map[string]any{
    				"Headers":           []configData{{"X-Jwt-Nested-Key", "exact", "valueC"}},
    				"SystemNamespace":   t.Istio.Settings().SystemNamespace,
    				"GatewayIstioLabel": t.Istio.Settings().IngressGatewayIstioLabel,
    			}
    		},
    		opts: echo.CallOptions{
    			Count: 1,
    			Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    	}
    	conn.dc.ci.(*fakeConn).skipDirtySession = true
    	defer conn.Close()
    
    	sawFunc := false
    	err = conn.Raw(func(dc any) error {
    		sawFunc = true
    		if _, ok := dc.(*fakeConn); !ok {
    			return fmt.Errorf("got %T want *fakeConn", dc)
    		}
    		return nil
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !sawFunc {
    		t.Fatal("Raw func not called")
    	}
    
    	func() {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    // binary. Only a high-confidence subset of the default go vet checks are
    // used. That subset is: atomic, bool, buildtags, directive, errorsas,
    // ifaceassert, nilfunc, printf, and stringintconv. You can see
    // the documentation for these and other vet tests via "go doc cmd/vet".
    // To disable the running of go vet, use the -vet=off flag. To run all
    // checks, use the -vet=all flag.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top