Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 785 for printhex (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

    // value is also printed; when T is a (const) char pointer, both the
    // pointer value and the NUL-terminated string it points to are
    // printed.
    //
    // We also provide some convenient wrappers:
    //
    //   // Prints a value to a string.  For a (const or not) char
    //   // pointer, the NUL-terminated string (but not the pointer) is
    //   // printed.
    //   std::string ::testing::PrintToString(const T& value);
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  5. src/cmd/doc/pkg.go

    }
    
    // valueDoc prints the docs for a constant or variable. The printed map records
    // which values have been printed already to avoid duplication. Otherwise, a
    // declaration like:
    //
    //	const ( c = 1; C = 2 )
    //
    // … could be printed twice if the -u flag is set, as it matches twice.
    func (pkg *Package) valueDoc(value *doc.Value, printed map[*ast.GenDecl]bool) {
    	if printed[value.Decl] {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. src/go/printer/printer_test.go

    	if n >= l.remaining {
    		n = l.remaining
    		err = io.EOF
    		l.errCount++
    	}
    	l.remaining -= n
    	return n, err
    }
    
    // Test whether the printer stops writing after the first error
    func TestWriteErrors(t *testing.T) {
    	t.Parallel()
    	const filename = "printer.go"
    	src, err := os.ReadFile(filename)
    	if err != nil {
    		panic(err) // error in test
    	}
    	file, err := parser.ParseFile(fset, filename, src, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/go/printer/nodes.go

    // the current line. ws is printed before the first line break. If newSection
    // is set, the first line break is printed as formfeed. Returns 0 if no line
    // breaks were printed, returns 1 if there was exactly one newline printed,
    // and returns a value > 1 if there was a formfeed or more than one newline
    // printed.
    //
    // TODO(gri): linebreak may add too many lines if the next statement at "line"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K 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. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

    // value is also printed; when T is a (const) char pointer, both the
    // pointer value and the NUL-terminated string it points to are
    // printed.
    //
    // We also provide some convenient wrappers:
    //
    //   // Prints a value to a string.  For a (const or not) char
    //   // pointer, the NUL-terminated string (but not the pointer) is
    //   // printed.
    //   std::string ::testing::PrintToString(const T& value);
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. 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)
Back to top