Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for SIMPLE (0.19 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    				return false, errors.New("expected error when creating sentinel resource")
    			}
    
    			// Check to see if the returned error message contains our
    			// unique string. UUID should be unique enough to just check
    			// simple existence in the error.
    			if strings.Contains(err.Error(), uuidString) {
    				return true, nil
    			}
    
    			return false, nil
    		})
    	}
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  2. src/text/template/exec_test.go

    	return &n
    }
    
    func newString(s string) *string {
    	return &s
    }
    
    func newIntSlice(n ...int) *[]int {
    	p := new([]int)
    	*p = make([]int, len(n))
    	copy(*p, n)
    	return p
    }
    
    // Simple methods with and without arguments.
    func (t *T) Method0() string {
    	return "M0"
    }
    
    func (t *T) Method1(a int) int {
    	return a
    }
    
    func (t *T) Method2(a uint16, b string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/prove.go

    			// should be rewritten to:
    			//	for i := 5; 0 < i; i-- {
    			continue
    		}
    
    		if end.Block == ind.Block {
    			// we can't rewrite loops where the condition depends on the loop body
    			// this simple check is forced to work because if this is true a Phi in ind.Block must exists
    			continue
    		}
    
    		check := ind.Block.Controls[0]
    		// invert the check
    		check.Args[0], check.Args[1] = check.Args[1], check.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			query:      `SELECT * from s3object s WHERE 'bar' IN s.synonyms[*]`,
    			wantResult: `{"id":0,"title":"Test Record","desc":"Some text","synonyms":["foo","bar","whatever"]}`,
    		},
    		{
    			name:  "simple-in-array",
    			query: `SELECT * from s3object s WHERE s.id IN (1,3)`,
    			wantResult: `{"id":1,"title":"Second Record","desc":"another text","synonyms":["some","synonym","value"]}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        simultaneously. This can be used to implement interactive conversations within a single HTTP
        call.
    
        Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true.
        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
        The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top