Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for callername (0.12 sec)

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

    			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,
    				}: 1,
    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 {
    			return nil, fmt.Errorf("preprocessed profile error processing call weight: %w", err)
    		}
    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/common_test.go

    				"random": []string{},
    				"authorization": []string{
    					"Basic callername",
    				},
    			},
    			expectedToken:            "",
    			extractBearerTokenErrMsg: "no bearer token exists in HTTP authorization header",
    		},
    		"With bearer token": {
    			metadata: metadata.MD{
    				"random": []string{},
    				"authorization": []string{
    					"Basic callername",
    					"Bearer bearer-token",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 16 02:16:57 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/serialize.go

    //
    // The format of the serialized output is as follows.
    //
    //      GO PREPROFILE V1
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //      ...
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //
    // Entries are sorted by "call edge weight", from highest to lowest.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/volume/csi/csi_plugin.go

    		}
    		return err
    	}
    
    	return nil
    }
    
    func (h *RegistrationHandler) validateVersions(callerName, pluginName string, endpoint string, versions []string) (*utilversion.Version, error) {
    	if len(versions) == 0 {
    		return nil, errors.New(log("%s for CSI driver %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: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. src/testing/testing.go

    		}
    		parent = parent.parent
    	}
    
    	return raceErrors
    }
    
    // callerName gives the function name (qualified with a package path)
    // for the caller after skip frames (where 0 means the current function).
    func callerName(skip int) string {
    	var pc [1]uintptr
    	n := runtime.Callers(skip+2, pc[:]) // skip + runtime.Callers + callerName
    	if n == 0 {
    		panic("testing: zero callers found")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top