Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for printhex (0.83 sec)

  1. src/runtime/print.go

    	i--
    	buf[i] = 'x'
    	i--
    	buf[i] = '0'
    	gwrite(buf[i:])
    }
    
    func printpointer(p unsafe.Pointer) {
    	printhex(uint64(uintptr(p)))
    }
    func printuintptr(p uintptr) {
    	printhex(uint64(p))
    }
    
    func printstring(s string) {
    	gwrite(bytes(s))
    }
    
    func printslice(s []byte) {
    	sp := (*slice)(unsafe.Pointer(&s))
    	print("[", len(s), "/", cap(s), "]")
    	printpointer(sp.array)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. src/go/ast/print.go

    // to that file set. Otherwise positions are printed as integer
    // values (file set specific offsets).
    //
    // A non-nil [FieldFilter] f may be provided to control the output:
    // struct fields for which f(fieldname, fieldvalue) is true are
    // printed; all others are filtered from the output. Unexported
    // struct fields are never printed.
    func Fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/go/printer/testdata/statements.input

    func _() {
    	if true {}
    	if; true {}  // no semicolon printed
    	if expr{}
    	if;expr{}  // no semicolon printed
    	if (expr){}  // no parens printed
    	if;((expr)){}  // no semicolon and parens printed
    	if x:=expr;true{
    	use(x)}
    	if x:=expr; expr {use(x)}
    }
    
    
    // Formatting of switch-statement headers.
    func _() {
    	switch {}
    	switch;{}  // no semicolon printed
    	switch expr {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 8.3K bytes
    - Viewed (0)
  5. src/go/printer/testdata/statements.golden

    		use(x)
    	}	// no parens printed
    }
    
    // Formatting of for-statement headers for multi-line for-loops.
    func _() {
    	for {
    	}
    	for expr {
    	}
    	for expr {
    	}	// no parens printed
    	for {
    	}	// no semicolons printed
    	for x := expr; ; {
    		use(x)
    	}
    	for expr {
    	}	// no semicolons printed
    	for expr {
    	}	// no semicolons and parens printed
    	for ; ; expr = false {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 12 18:18:12 UTC 2014
    - 8K bytes
    - Viewed (0)
  6. pkg/printers/tablegenerator.go

    //	func printFunc(object ObjectType, options GenerateOptions) ([]metav1.TableRow, error)
    //
    // where ObjectType is the type of the object that will be printed, and the first
    // return value is an array of rows, with each row containing a number of cells that
    // match the number of columns defined for that printer function.
    func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error {
    	if printFunc.Kind() != reflect.Func {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go

    	printer, err := NewGoTemplatePrinter([]byte(tmpl))
    	if err != nil {
    		t.Fatalf("tmpl fail: %v", err)
    	}
    	buffer := &bytes.Buffer{}
    	err = printer.PrintObj(&v1.Pod{}, buffer)
    	if err == nil {
    		t.Fatalf("expected that template to crash")
    	}
    	if buffer.String() == "" {
    		t.Errorf("no debugging info was printed")
    	}
    }
    
    func TestTemplateSuccess(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 22 23:10:00 UTC 2019
    - 7.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

    /**
     * Utility to print {@link Failure}s in the format matching that of {@link Throwable#printStackTrace()}.
     * <p>
     * Failures with multiple causes are printed similarly to {@link org.gradle.internal.exceptions.MultiCauseException}.
     * <p>
     * The printer additionally allows reacting to each frame to be printed via a {@link FailurePrinterListener}.
     */
    public class FailurePrinter {
    
        public static String printToString(Failure failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pkg/kubectl/cmd/convert/convert.go

    	o.validator = func() (validation.Schema, error) {
    		directive, err := cmdutil.GetValidationDirective(cmd)
    		if err != nil {
    			return nil, err
    		}
    		return f.Validator(directive)
    	}
    
    	// build the printer
    	o.Printer, err = o.PrintFlags.ToPrinter()
    	return err
    }
    
    // RunConvert implements the generic Convert command
    func (o *ConvertOptions) RunConvert() error {
    	b := o.builder().
    		WithScheme(scheme.Scheme).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/KtTypeParametersRenderer.kt

                        { declarationRenderer.nameRenderer.renderName(analysisSession, typeParameter, declarationRenderer, printer) },
                    )
                }
            }
    
            override fun renderWhereClause(
                analysisSession: KaSession,
                symbol: KaDeclarationSymbol,
                declarationRenderer: KaDeclarationRenderer,
                printer: PrettyPrinter,
            ) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top