Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for preds (0.04 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    		// predecessor list.
    		for i := len(preds) - 1; i >= 0; i-- {
    			pred := preds[i]
    			if blockLocs[pred.ID].lastChangedTime > locs.lastCheckedTime {
    				continue // keep this predecessor
    			}
    			preds[i] = preds[len(preds)-1]
    			preds = preds[:len(preds)-1]
    			if state.loggingLevel > 2 {
    				state.logf("Pruned b%d, lastChanged was %d but b%d lastChecked is %d\n", pred.ID, blockLocs[pred.ID].lastChangedTime, b.ID, locs.lastCheckedTime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	// Max distance
    	d := 100
    
    	for d > 0 {
    		for _, x := range a {
    			if b == x.Block {
    				goto found
    			}
    		}
    		if len(b.Preds) > 1 {
    			// Don't know which way to go back. Abort.
    			return nil
    		}
    		b = b.Preds[0].b
    		d--
    	}
    	return nil // too far away
    found:
    	// At this point, r is the first value in a that we find by walking backwards.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	})
    	if err != nil {
    		c.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			if ignoreWatchCacheTests && tt.ignoreForWatchCache {
    				t.Skip()
    			}
    
    			if tt.pred.GetAttrs == nil {
    				tt.pred.GetAttrs = getAttrs
    			}
    
    			out := &example.PodList{}
    			storageOpts := storage.ListOptions{
    				ResourceVersion:      tt.rv,
    				ResourceVersionMatch: tt.rvMatch,
    				Predicate:            tt.pred,
    				Recursive:            true,
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	if err := r.Source.Snowball.Validate(); err != nil {
    		return err
    	}
    
    	if !r.Source.Creds.Empty() {
    		if err := r.Source.Creds.Validate(); err != nil {
    			return err
    		}
    	}
    	if r.Target.Endpoint == "" && !r.Target.Creds.Empty() {
    		return errInvalidArgument
    	}
    
    	if r.Source.Endpoint == "" && !r.Source.Creds.Empty() {
    		return errInvalidArgument
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    func shouldDelegateListOnNotReadyCache(opts storage.ListOptions) bool {
    	pred := opts.Predicate
    	noLabelSelector := pred.Label == nil || pred.Label.Empty()
    	noFieldSelector := pred.Field == nil || pred.Field.Empty()
    	hasLimit := pred.Limit > 0
    	return noLabelSelector && noFieldSelector && hasLimit
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			t.Fatalf("unexpected error waiting for the cache to be ready")
    		}
    	}
    	pred := storage.Everything
    	pred.AllowWatchBookmarks = allowWatchBookmarks
    
    	ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
    	defer cancel()
    	w, err := cacher.Watch(ctx, "pods/ns", storage.ListOptions{ResourceVersion: "0", Predicate: pred})
    	if err != nil {
    		t.Fatalf("Failed to create watch: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    				return true
    			}
    		}
    	}
    	for i := range s.AllOf {
    		if schemaHasRecurse(&s.AllOf[i], pred) {
    			return true
    		}
    	}
    	for i := range s.AnyOf {
    		if schemaHasRecurse(&s.AnyOf[i], pred) {
    			return true
    		}
    	}
    	for i := range s.OneOf {
    		if schemaHasRecurse(&s.OneOf[i], pred) {
    			return true
    		}
    	}
    	if schemaHasRecurse(s.Not, pred) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    		}
    	}
    
    	if !asMultipart {
    		srcData := NewDummyDataGen(partSizes[0], 0)
    		req, err := newTestSignedRequestV4(http.MethodPut, getPutObjectURL("", bucketName, objectName),
    			partSizes[0], srcData, creds.AccessKey, creds.SecretKey, metadata)
    		if err != nil {
    			t.Fatalf("Unexpected err: %#v", err)
    		}
    		rec := httptest.NewRecorder()
    		apiRouter.ServeHTTP(rec, req)
    		checkRespErr(rec, http.StatusOK)
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
Back to top