Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Preds (0.05 sec)

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

    		// blocks.  Therefore remove unchanged blocks from the
    		// 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 {
    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/prove.go

    		// facts of b.Preds[1] are (in general, b.Preds[1] is
    		// a loop-back edge, so we haven't even been there
    		// yet). As a conservative approximation, we look for
    		// this condition in the predecessor chain until we
    		// hit a join point.
    		uniquePred := func(b *Block) *Block {
    			if len(b.Preds) == 1 {
    				return b.Preds[0].b
    			}
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc.go

    		if b == f.Entry {
    			// Regalloc state is empty to start.
    			if nphi > 0 {
    				f.Fatalf("phis in entry block")
    			}
    		} else if len(b.Preds) == 1 {
    			// Start regalloc state with the end state of the previous block.
    			s.setState(s.endRegs[b.Preds[0].b.ID])
    			if nphi > 0 {
    				f.Fatalf("phis in single-predecessor block")
    			}
    			// Drop any values which are no longer live.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/iam.go

    func (sys *IAMSys) updateGroupMembershipsForLDAP(ctx context.Context) {
    	// 1. Collect all LDAP users with active creds.
    	allCreds := sys.store.GetSTSAndServiceAccounts()
    	// List of unique LDAP (parent) user DNs that have active creds
    	var parentUsers []string
    	// Map of LDAP user to list of active credential objects
    	parentUserToCredsMap := make(map[string][]auth.Credentials)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    	k8salpha "sigs.k8s.io/gateway-api/apis/v1alpha2"
    	k8sbeta "sigs.k8s.io/gateway-api/apis/v1beta1"
    
    	istio "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	creds "istio.io/istio/pilot/pkg/model/credentials"
    	"istio.io/istio/pilot/pkg/model/kstatus"
    	"istio.io/istio/pilot/pkg/serviceregistry/kube"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/constants"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	ctx := r.Context()
    
    	objectAPI, creds := validateAdminReq(ctx, w, r, policy.EnableUserAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    	status := vars["status"]
    
    	// you cannot enable or disable yourself.
    	if accessKey == creds.AccessKey {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top