Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for newTree (0.15 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. test/fixedbugs/issue44330.dir/b.go

    // the LICENSE file.
    
    package main
    
    import (
    	"./a"
    )
    
    type Term struct {
    	top *a.Table
    }
    
    //go:noinline
    func NewFred() *Term {
    	table := a.NewTable()
    	return &Term{top: table}
    }
    
    func main() {
    	NewFred()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 01 20:59:43 UTC 2021
    - 346 bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    	newReq := req.WithContext(newCtx)
    	newReq.Header = utilnet.CloneHeader(req.Header)
    	newReq.URL = location
    	newReq.Host = location.Host
    
    	// If the original request has an audit ID, let's make sure we propagate this
    	// to the aggregated server.
    	if auditID, found := audit.AuditIDFrom(req.Context()); found {
    		newReq.Header.Set(auditinternal.HeaderAuditID, string(auditID))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/injector/injector-list.go

    	}
    	newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName]
    	// If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
    	if newRev == "" && (ok && oldLabel == "disabled" || !ok) {
    		return ""
    	}
    	if newRev != "" {
    		return fmt.Sprintf("MISSING/%s", newRev)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    	if res.IsValid() {
    		return res
    	}
    
    	// Current ratcheting rule is to ratchet errors if DeepEqual(old, new) is true.
    	if r.correlation.CachedDeepEqual() {
    		newRes := &validate.Result{}
    		newRes.MergeAsWarnings(res)
    		return newRes
    	}
    
    	return res
    }
    
    // SubPropertyValidator overrides the standard validator constructor for sub-properties by
    // returning our special ratcheting variant.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/hash/crc32/crc32.go

    	}
    	return &digest{0, tab}
    }
    
    // NewIEEE creates a new [hash.Hash32] computing the CRC-32 checksum using
    // the [IEEE] polynomial. Its Sum method will lay the value out in
    // big-endian byte order. The returned Hash32 also implements
    // [encoding.BinaryMarshaler] and [encoding.BinaryUnmarshaler] to marshal
    // and unmarshal the internal state of the hash.
    func NewIEEE() hash.Hash32 { return New(IEEETable) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top