Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for callerSave (0.18 sec)

  1. src/cmd/internal/pgo/pprof.go

    		ei, ej := edges[i], edges[j]
    		if wi, wj := weight[ei], weight[ej]; wi != wj {
    			return wi > wj // want larger weight first
    		}
    		// same weight, order by name/line number
    		if ei.CallerName != ej.CallerName {
    			return ei.CallerName < ej.CallerName
    		}
    		if ei.CalleeName != ej.CalleeName {
    			return ei.CalleeName < ej.CalleeName
    		}
    		return ei.CallSiteOffset < ej.CallSiteOffset
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/internal/pgo/serialize_test.go

    			ByWeight: []NamedCallEdge{
    				{
    					CallerName: "a",
    					CalleeName: "b",
    					CallSiteOffset: 14,
    				},
    				{
    					CallerName: "c",
    					CalleeName: "d",
    					CallSiteOffset: 15,
    				},
    			},
    			Weight: map[NamedCallEdge]int64{
    				{
    					CallerName: "a",
    					CalleeName: "b",
    					CallSiteOffset: 14,
    				}: 2,
    				{
    					CallerName: "c",
    					CalleeName: "d",
    					CallSiteOffset: 15,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/deserialize.go

    		}
    
    		co, err := strconv.Atoi(split[0])
    		if err != nil {
    			return nil, fmt.Errorf("preprocessed profile error processing call line: %w", err)
    		}
    
    		edge := NamedCallEdge{
    			CallerName:     callerName,
    			CalleeName:     calleeName,
    			CallSiteOffset: co,
    		}
    
    		weight, err := strconv.ParseInt(split[1], 10, 64)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    				"authorization": []string{
    					"Basic callername",
    				},
    			},
    			expectedErrMsg: "target JWT extraction error: no bearer token exists in HTTP authorization header",
    		},
    		"token not authenticated": {
    			token: invlidToken,
    			metadata: metadata.MD{
    				"clusterid": []string{primaryCluster},
    				"authorization": []string{
    					"Basic callername",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/plugin.go

    	return nil
    }
    
    func (h *RegistrationHandler) validateVersions(
    	callerName string,
    	pluginName string,
    	versions []string,
    ) (*utilversion.Version, error) {
    	if len(versions) == 0 {
    		return nil, errors.New(
    			log(
    				"%s for DRA plugin %q failed. Plugin returned an empty list for supported versions",
    				callerName,
    				pluginName,
    			),
    		)
    	}
    
    	// Validate version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/internal/pgo/pgo.go

    	// edge weight.
    	NamedEdgeMap NamedEdgeMap
    }
    
    // NamedCallEdge identifies a call edge by linker symbol names and call site
    // offset.
    type NamedCallEdge struct {
    	CallerName     string
    	CalleeName     string
    	CallSiteOffset int // Line offset from function start line.
    }
    
    // NamedEdgeMap contains all unique call edges in the profile and their
    // edge weight.
    type NamedEdgeMap struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/internal/pgo/serialize.go

    	written += int64(n)
    	if err != nil {
    		return written, err
    	}
    
    	for _, edge := range d.NamedEdgeMap.ByWeight {
    		weight := d.NamedEdgeMap.Weight[edge]
    
    		n, err = fmt.Fprintln(bw, edge.CallerName)
    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    
    		n, err = fmt.Fprintln(bw, edge.CalleeName)
    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top