Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 299 for Terminate (0.13 sec)

  1. src/testing/quick/quick_test.go

    	if err == nil {
    		t.Errorf("#3 CheckEqual didn't return an error")
    	}
    	if _, ok := err.(SetupError); !ok {
    		t.Errorf("#3 Error was not a SetupError: %s", err)
    	}
    }
    
    // Recursive data structures didn't terminate.
    // Issues 8818 and 11148.
    func TestRecursive(t *testing.T) {
    	type R struct {
    		Ptr      *R
    		SliceP   []*R
    		Slice    []R
    		Map      map[int]R
    		MapP     map[int]*R
    		MapR     map[*R]*R
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go

    	// +optional
    	RestartPolicy RestartPolicy `json:"restartPolicy,omitempty" protobuf:"bytes,3,opt,name=restartPolicy,casttype=RestartPolicy"`
    	// Optional duration in seconds the carp needs to terminate gracefully. May be decreased in delete request.
    	// Value must be non-negative integer. The value zero indicates delete immediately.
    	// If this value is nil, the default grace period will be used instead.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // Default to Always.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#restartpolicy
      // +optional
      optional string restartPolicy = 3;
    
      // Optional duration in seconds the carp needs to terminate gracefully. May be decreased in delete request.
      // Value must be non-negative integer. The value zero indicates delete immediately.
      // If this value is nil, the default grace period will be used instead.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/crypto/dsa/dsa.go

    			if err != nil {
    				return
    			}
    			k.SetBytes(buf)
    			// priv.Q must be >= 128 because the test above
    			// requires it to be > 0 and that
    			//    ceil(log_2(Q)) mod 8 = 0
    			// Thus this loop will quickly terminate.
    			if k.Sign() > 0 && k.Cmp(priv.Q) < 0 {
    				break
    			}
    		}
    
    		kInv := fermatInverse(k, priv.Q)
    
    		r = new(big.Int).Exp(priv.G, k, priv.P)
    		r.Mod(r, priv.Q)
    
    		if r.Sign() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. src/go/types/mono.go

    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    	// found a path of length |V|. This allows us to terminate earlier
    	// when there are no cycles, which should be the common case.
    
    	again := true
    	for again {
    		again = false
    
    		for i, edge := range check.mono.edges {
    			src := &check.mono.vertices[edge.src]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/net/rpc/client.go

    			}
    			call.done()
    		default:
    			err = client.codec.ReadResponseBody(call.Reply)
    			if err != nil {
    				call.Error = errors.New("reading body " + err.Error())
    			}
    			call.done()
    		}
    	}
    	// Terminate pending calls.
    	client.reqMutex.Lock()
    	client.mutex.Lock()
    	client.shutdown = true
    	closing := client.closing
    	if err == io.EOF {
    		if closing {
    			err = ErrShutdown
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/strconv/quote_test.go

    	}
    
    	// Test QuotedPrefix.
    	// Adding an arbitrary suffix should not change the result of QuotedPrefix
    	// assume that the suffix doesn't accidentally terminate a truncated input.
    	if gotErr == nil {
    		want = in
    	}
    	suffix := "\n\r\\\"`'" // special characters for quoted strings
    	if len(in) > 0 {
    		suffix = strings.ReplaceAll(suffix, in[:1], "")
    	}
    	in += suffix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// +optional
    	RestartPolicy RestartPolicy `json:"restartPolicy,omitempty" protobuf:"bytes,3,opt,name=restartPolicy,casttype=RestartPolicy"`
    	// Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
    	// Value must be non-negative integer. The value zero indicates delete immediately.
    	// If this value is nil, the default grace period will be used instead.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/mono.go

    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    	// found a path of length |V|. This allows us to terminate earlier
    	// when there are no cycles, which should be the common case.
    
    	again := true
    	for again {
    		again = false
    
    		for i, edge := range check.mono.edges {
    			src := &check.mono.vertices[edge.src]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/math/big/floatconv.go

    // digit count. Incorrect placement of underscores is reported as an
    // error if there are no other errors. If base != 0, underscores are
    // not recognized and thus terminate scanning like any other character
    // that is not a valid radix point or digit.
    //
    // It sets z to the (possibly rounded) value of the corresponding floating-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top