Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for printuint (0.14 sec)

  1. test/print.go

    	println(([]int)(nil))       // printslice
    	println(int64(-7))          // printint
    	println(uint64(7))          // printuint
    	println(uint32(7))          // printuint
    	println(uint16(7))          // printuint
    	println(uint8(7))           // printuint
    	println(uint(7))            // printuint
    	println(uintptr(7))         // printuint
    	println(8.0)                // printfloat
    	println(complex(9.0, 10.0)) // printcomplex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/print.go

    	print("(", real(c), imag(c), "i)")
    }
    
    func printuint(v uint64) {
    	var buf [100]byte
    	i := len(buf)
    	for i--; i > 0; i-- {
    		buf[i] = byte(v%10 + '0')
    		if v < 10 {
    			break
    		}
    		v /= 10
    	}
    	gwrite(buf[i:])
    }
    
    func printint(v int64) {
    	if v < 0 {
    		printstring("-")
    		v = -v
    	}
    	printuint(uint64(v))
    }
    
    var minhexdigits = 0 // protected by printlock
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.goPanicSlice3C", 1},
    	{"runtime.goPanicSlice3CU", 1},
    	{"runtime.goPanicSliceConvert", 1},
    	{"runtime.printbool", 1},
    	{"runtime.printfloat", 1},
    	{"runtime.printint", 1},
    	{"runtime.printhex", 1},
    	{"runtime.printuint", 1},
    	{"runtime.printcomplex", 1},
    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go

    // AllowedFormats returns slice of string of allowed JSONYaml printing format
    func (f *JSONYamlPrintFlags) AllowedFormats() []string {
    	if f == nil {
    		return []string{}
    	}
    	return []string{"json", "yaml"}
    }
    
    // JSONYamlPrintFlags provides default flags necessary for json/yaml printing.
    // Given the following flag values, a printer can be requested that knows
    // how to handle printing based on these values.
    type JSONYamlPrintFlags struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 04 13:00:03 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/output/output.go

    	// JSONYamlPrintFlags provides default flags necessary for json/yaml printing.
    	JSONYamlPrintFlags *genericclioptions.JSONYamlPrintFlags
    	// KubeTemplatePrintFlags composes print flags that provide both a JSONPath and a go-template printer.
    	KubeTemplatePrintFlags *genericclioptions.KubeTemplatePrintFlags
    	// TextPrintFlags provides default flags necessary for kubeadm text printing.
    	TextPrintFlags TextPrintFlags
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go

    	"go-template":      true,
    	"go-template-file": true,
    	"templatefile":     true,
    }
    
    // GoTemplatePrintFlags provides default flags necessary for template printing.
    // Given the following flag values, a printer can be requested that knows
    // how to handle printing based on these values.
    type GoTemplatePrintFlags struct {
    	// indicates if it is OK to ignore missing keys for rendering
    	// an output template.
    	AllowMissingKeys *bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/name_flags.go

    	return nil
    }
    
    // AllowedFormats returns slice of string of allowed Name printing format
    func (f *NamePrintFlags) AllowedFormats() []string {
    	if f == nil {
    		return []string{}
    	}
    	return []string{"name"}
    }
    
    // ToPrinter receives an outputFormat and returns a printer capable of
    // handling --output=name printing.
    // Returns false if the specified outputFormat does not match a supported format.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 12:19:00 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go

    	"jsonpath":         true,
    	"jsonpath-file":    true,
    	"jsonpath-as-json": true,
    }
    
    // JSONPathPrintFlags provides default flags necessary for template printing.
    // Given the following flag values, a printer can be requested that knows
    // how to handle printing based on these values.
    type JSONPathPrintFlags struct {
    	// indicates if it is OK to ignore missing keys for rendering
    	// an output template.
    	AllowMissingKeys *bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. test/simassign.go

    // Test simultaneous assignment.
    
    package main
    
    var a, b, c, d, e, f, g, h, i int
    
    func printit() {
    	println(a, b, c, d, e, f, g, h, i)
    }
    
    func testit(permuteok bool) bool {
    	if a+b+c+d+e+f+g+h+i != 45 {
    		print("sum does not add to 45\n")
    		printit()
    		return false
    	}
    	return permuteok ||
    		a == 1 &&
    			b == 2 &&
    			c == 3 &&
    			d == 4 &&
    			e == 5 &&
    			f == 6 &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go

    func (f *KubeTemplatePrintFlags) AllowedFormats() []string {
    	if f == nil {
    		return []string{}
    	}
    	return append(f.GoTemplatePrintFlags.AllowedFormats(), f.JSONPathPrintFlags.AllowedFormats()...)
    }
    
    // ToPrinter receives an outputFormat and returns a printer capable of
    // handling --template printing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top