Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for newTree (0.12 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	ts := tags{t, flat}
    	sort.Sort(ts)
    	return ts.t
    }
    
    // New summarizes performance data from a profile into a graph.
    func New(prof *profile.Profile, o *Options) *Graph {
    	if o.CallTree {
    		return newTree(prof, o)
    	}
    	g, _ := newGraph(prof, o)
    	return g
    }
    
    // newGraph computes a graph from a profile. It returns the graph, and
    // a map from the profile location indices to the corresponding graph
    // nodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    	// root user.
    	if newCred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    			Type: madmin.SRIAMItemSvcAcc,
    			SvcAccChange: &madmin.SRSvcAccChange{
    				Create: &madmin.SRSvcAccCreate{
    					Parent:        newCred.ParentUser,
    					AccessKey:     newCred.AccessKey,
    					SecretKey:     newCred.SecretKey,
    					Groups:        newCred.Groups,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    	s := SingleHandler[Req, Resp]{id: h}
    	s.newReq, s.recycleReq = recycleFunc[Req](newReq)
    	s.newResp, s.recycleResp = recycleFunc[Resp](newResp)
    	if _, ok := any(newReq()).(Recycler); ok {
    		s.callReuseReq = true
    	}
    	return &s
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. pkg/kube/krt/collection.go

    			for key := range allKeys {
    				// Find new O object
    				newRes, newExists := results[key]
    				// Find the old O object
    				oldRes, oldExists := h.collectionState.outputs[key]
    				e := Event[O]{}
    				if newExists && oldExists {
    					if equal(newRes, oldRes) {
    						// NOP change, skip
    						continue
    					}
    					e.Event = controllers.EventUpdate
    					e.New = &newRes
    					e.Old = &oldRes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      for (auto res : llvm::enumerate(call_op.getResultTypes())) {
        Type res_type = res.value();
        if (mlir::dyn_cast<TFRTensorType>(res_type)) {
          Value new_res = new_op->getResult(res.index());
          auto casted = rewriter.create<CastOp>(loc, res_type, new_res);
          new_results.push_back(casted.getOut());
        } else if (auto list_type =
                       mlir::dyn_cast<TFRTensorListType>(res.value())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_test.go

    func TestCastagnoliRace(t *testing.T) {
    	// The MakeTable(Castagnoli) lazily initializes castagnoliTable,
    	// which races with the switch on tab during Write to check
    	// whether tab == castagnoliTable.
    	ieee := NewIEEE()
    	go MakeTable(Castagnoli)
    	ieee.Write([]byte("hello"))
    }
    
    type test struct {
    	ieee, castagnoli    uint32
    	in                  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/graph_builder.go

    		isUnblocked := c.newRef.BlockOwnerDeletion == nil || (c.newRef.BlockOwnerDeletion != nil && !*c.newRef.BlockOwnerDeletion)
    		if wasBlocked && isUnblocked {
    			node, found := gb.uidToNode.Read(c.newRef.UID)
    			if !found {
    				logger.V(5).Info("cannot find uid in uidToNode", "uid", c.newRef.UID)
    				continue
    			}
    			gb.attemptToDelete.Add(node)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. pkg/kube/inject/webhook.go

    					if len(pair[0]) > 0 && len(pair) == 2 {
    						newRes = append(newRes, pair...)
    					}
    				}
    				return newRes
    			}
    			newRes = strings.Split(parts[2], "/")
    		}
    		for i, value := range newRes {
    			if i%2 != 0 {
    				// Replace --slash-- with / in values.
    				newRes[i] = strings.ReplaceAll(value, "--slash--", "/")
    			}
    		}
    		return newRes
    	}(path)
    	newEnvs := make(map[string]string)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer_test.go

    	defer timeout(60 * time.Second)()
    	const debug = false
    
    	var readBytes int
    	var wroteBytes int
    	var readBuf bytes.Buffer
    	var wroteBuf bytes.Buffer
    	readHash := crc32.NewIEEE()
    	wroteHash := crc32.NewIEEE()
    	read := io.Writer(readHash)
    	wrote := io.Writer(wroteHash)
    	if debug {
    		read = io.MultiWriter(read, &readBuf)
    		wrote = io.MultiWriter(wrote, &wroteBuf)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/expand/expand_controller.go

    			}
    
    			oldReq := oldPVC.Spec.Resources.Requests[v1.ResourceStorage]
    			oldCap := oldPVC.Status.Capacity[v1.ResourceStorage]
    			newPVC, ok := new.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    			newReq := newPVC.Spec.Resources.Requests[v1.ResourceStorage]
    			newCap := newPVC.Status.Capacity[v1.ResourceStorage]
    			// PVC will be enqueued under 2 circumstances
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top