Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for printArgs (0.26 sec)

  1. src/runtime/traceback.go

    		// Add cgo frames (if we're done skipping over the requested number of
    		// Go frames).
    		if skip == 0 {
    			n += copy(pcBuf[n:], cgoBuf[:cgoN])
    		}
    	}
    	return n
    }
    
    // printArgs prints function arguments in traceback.
    func printArgs(f funcInfo, argp unsafe.Pointer, pc uintptr) {
    	p := (*[abi.TraceArgsMaxLen]uint8)(funcdata(f, abi.FUNCDATA_ArgInfo))
    	if p == nil {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    			return
    		}
    		ps.inner = ps.inner[:len(ps.inner)-1]
    		ps.writeByte(' ')
    	}
    	ft.printArgs(ps)
    }
    
    func (ft *FunctionType) printInner(ps *printState) {
    	ft.printArgs(ps)
    }
    
    // printArgs prints the arguments of a function type.  It looks at the
    // inner types for spacing.
    func (ft *FunctionType) printArgs(ps *printState) {
    	paren := false
    	space := false
    	for i := len(ps.inner) - 1; i >= 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers.go

    func printPodList(podList *api.PodList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	rows := make([]metav1.TableRow, 0, len(podList.Items))
    	for i := range podList.Items {
    		r, err := printPod(&podList.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printPod(pod *api.Pod, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    				return printJob(&batch.Job{}, printers.GenerateOptions{})
    			},
    		},
    		{
    			name: "CronJob",
    			printer: func() ([]metav1.TableRow, error) {
    				return printCronJob(&batch.CronJob{}, printers.GenerateOptions{})
    			},
    		},
    		{
    			name: "Service",
    			printer: func() ([]metav1.TableRow, error) {
    				return printService(&api.Service{}, printers.GenerateOptions{})
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. staging/publishing/import-restrictions.yaml

      - k8s.io/client-go
      # TODO this one should be tightened.  We depend on it for testing, but we should instead create our own scheme
      - k8s.io/api/core/v1
      - k8s.io/cli-runtime/pkg/genericiooptions
      - k8s.io/cli-runtime/pkg/printers
      - k8s.io/cli-runtime/pkg/resource
      - k8s.io/cli-runtime/pkg/kustomize
      - k8s.io/utils/pointer
    
    - baseImportPath: "./staging/src/k8s.io/apimachinery"
      allowedImports:
      - k8s.io/apimachinery
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    // values.
    func valueOrDot(value int64, rpt *Report) string {
    	if value == 0 {
    		return "."
    	}
    	return rpt.formatValue(value)
    }
    
    // printTags collects all tags referenced in the profile and prints
    // them in a sorted table.
    func printTags(w io.Writer, rpt *Report) error {
    	p := rpt.prof
    
    	o := rpt.options
    	formatTag := func(v int64, key string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top