Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,541 for casePC (0.44 sec)

  1. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    	}
    	config := configure("fuzzer")
    	config.skipIfCSanitizerBroken(t)
    
    	cases := []struct {
    		goSrc         string
    		cSrc          string
    		expectedError string
    	}{
    		{goSrc: "libfuzzer1.go", expectedError: "panic: found it"},
    		{goSrc: "libfuzzer2.go", cSrc: "libfuzzer2.c", expectedError: "panic: found it"},
    	}
    	for _, tc := range cases {
    		tc := tc
    		name := strings.TrimSuffix(tc.goSrc, ".go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go

    	switch nativeType {
    	case reflect.TypeOf(""):
    		return apiservercel.StringType
    	case reflect.TypeOf([]string{}):
    		return apiservercel.NewListType(apiservercel.StringType, -1)
    	case reflect.TypeOf(map[string]v1.ExtraValue{}):
    		return apiservercel.NewMapType(apiservercel.StringType, apiservercel.NewListType(apiservercel.StringType, -1), -1)
    	case reflect.TypeOf(&v1.ResourceAttributes{}):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy.go

    	}
    
    	// The only case left is if the current best bestHint and the candidate
    	// hint are both non-preferred. In this case, try and find a hint whose
    	// affinity count is as close to (but not higher than) the
    	// bestNonPreferredAffinityCount as possible. To do this we need to
    	// consider the following cases and react accordingly:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list_test.go

    					},
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision":"test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) {
    			assert.Equal(t, c.expectedRevision, extractRevisionFromPod(c.pod))
    		})
    	}
    }
    
    func Test_getNamespaces(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 04:33:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/authz_test.go

    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, authzCmd, c)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. maven-core/src/site/apt/offline-mode.apt

      * The file wagon, provided the referenced location is on a local
        filesystem.
    
        It is not possible to determine whether a file-based location will
        be available except on a case-by-case basis (or a root-url by
        root-url basis). We may want to move the offline sensitivity entirely to
        Maven-Artifact, below, so we can be smarter about testing filesystem-based
        repositories, etc.
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/math/log1p.go

    		Lp6         = 1.531383769920937332e-01     // 3FC39A09D078C69F
    		Lp7         = 1.479819860511658591e-01     // 3FC2F112DF3E5244
    	)
    
    	// special cases
    	switch {
    	case x < -1 || IsNaN(x): // includes -Inf
    		return NaN()
    	case x == -1:
    		return Inf(-1)
    	case IsInf(x, 1):
    		return Inf(1)
    	}
    
    	absx := Abs(x)
    
    	var f float64
    	var iu uint64
    	k := 1
    	if absx < Sqrt2M1 { //  |x| < Sqrt(2)-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/testing/slogtest/slogtest.go

    		c := cases[i]
    		for _, check := range c.checks {
    			if problem := check(got); problem != "" {
    				errs = append(errs, fmt.Errorf("%s: %s", problem, c.explanation))
    			}
    		}
    	}
    	return errors.Join(errs...)
    }
    
    // Run exercises a [slog.Handler] on the same test cases as [TestHandler], but
    // runs each case in a subtest. For each test case, it first calls newHandler to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/concepts.md

    Of course, there are some cases where there's no problem in running the previous steps multiple times, in that case, it's a lot easier to handle.
    
    !!! tip
        Also, keep in mind that depending on your setup, in some cases you **might not even need any previous steps** before starting your application.
    
        In that case, you wouldn't have to worry about any of this. 🤷
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    				},
    				{
    					ContainerPort: 8014,
    					HostPort:      8014,
    					Protocol:      v1.ProtocolTCP,
    				},
    			},
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("case_%d", i), func(t *testing.T) {
    			result := getContainerPorts(test.pod1, test.pod2)
    			if diff := cmp.Diff(test.expected, result); diff != "" {
    				t.Errorf("container ports: container ports does not match (-want,+got): %s", diff)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top