Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for SIMPLE (0.16 sec)

  1. src/cmd/go/internal/modget/get.go

    //
    // Note: we're only doing very simple disambiguation here. The goal is to
    // reproduce the user's intent, not to find a solution that a human couldn't.
    // In the vast majority of cases, we expect only one module per pathSet,
    // but we want to give some minimal additional tools so that users can add an
    // extra argument or two on the command line to resolve simple ambiguities.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    func (t *tester) addTest(name, heading string, fn func(*distTest) error) {
    	if t.testNames[name] {
    		panic("duplicate registered test name " + name)
    	}
    	if heading == "" {
    		panic("empty heading")
    	}
    	// Two simple checks for cases that would conflict with the fast path in registerTests.
    	if !strings.Contains(name, ":") && heading != "Testing packages." {
    		panic("empty variant is reserved exclusively for registerStdTest")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    	tcs := []struct {
    		name              string
    		in                *api.Pod
    		opts              *api.PodLogOptions
    		expectedErr       error
    		expectedTransport http.RoundTripper
    	}{
    		{
    			name: "simple",
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: fakePodName},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "mycontainer"},
    					},
    					NodeName: "foo",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_test.go

    			status: &apps.ReplicaSetStatus{},
    			cond:   condReplicaFailure(),
    
    			expectedStatus: &apps.ReplicaSetStatus{Conditions: []apps.ReplicaSetCondition{condReplicaFailure()}},
    		},
    		{
    			name: "simple set",
    
    			status: &apps.ReplicaSetStatus{Conditions: []apps.ReplicaSetCondition{condImagePullBackOff()}},
    			cond:   condReplicaFailure(),
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  5. src/internal/trace/order.go

    	return curCtx, true, nil
    }
    
    func (o *ordering) advanceAnnotation(ev *baseEvent, evt *evTable, m ThreadID, gen uint64, curCtx schedCtx) (schedCtx, bool, error) {
    	// Handle simple instantaneous events that require a G.
    	if err := validateCtx(curCtx, event.UserGoReqs); err != nil {
    		return curCtx, false, err
    	}
    	o.queue.push(Event{table: evt, ctx: curCtx, base: *ev})
    	return curCtx, true, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context_test.go

    	}{
    		{
    			"left nil",
    			nil,
    			&PushRequest{Full: true},
    			PushRequest{Full: true},
    		},
    		{
    			"right nil",
    			&PushRequest{Full: true},
    			nil,
    			PushRequest{Full: true},
    		},
    		{
    			"simple merge",
    			&PushRequest{
    				Full:  true,
    				Push:  push0,
    				Start: t0,
    				ConfigsUpdated: sets.Set[ConfigKey]{
    					{Kind: kind.Kind(1), Namespace: "ns1"}: {},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			expectCalcCostExceedsLimit: costLimit,
    			setMaxElements:             10,
    			expectedSetCost:            3552,
    		},
    		{
    			name:             "regex matches simple",
    			schemaGenerator:  genStringWithRule(`self.matches("x")`),
    			expectedCalcCost: 314574,
    			setMaxElements:   50,
    			expectedSetCost:  22,
    		},
    		{
    			name:             "regex matches empty string",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. src/testing/testing.go

    // command-line flags, including those of the testing package, it should call
    // flag.Parse explicitly. Command line flags are always parsed by the time test
    // or benchmark functions run.
    //
    // A simple implementation of TestMain is:
    //
    //	func TestMain(m *testing.M) {
    //		// call flag.Parse() here if TestMain uses flags
    //		os.Exit(m.Run())
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                //   operator fun Int.invoke(b: Boolean) {}
                //   <expr>x()</expr>
                // }
                // ```
                // The candidates for the call will both be `invoke`. We can keep it simple by getting the name from the callee reference's PSI
                // element (`x` in the above example) if possible.
                return when (val psi = psi) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_mounter_test.go

    	// TODO (vladimirvivien) specName with slashes will not work
    	testCases := []struct {
    		name           string
    		specVolumeName string
    		path           string
    	}{
    		{
    			name:           "simple specName",
    			specVolumeName: "spec-0",
    			path:           filepath.Join(tmpDir, fmt.Sprintf("pods/%s/volumes/kubernetes.io~csi/%s/%s", testPodUID, "spec-0", "/mount")),
    		},
    		{
    			name:           "specName with dots",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top