Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,652 for printIt (0.16 sec)

  1. 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)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

            System.setOut(new ThreadBoundPrintStream(this.originalSystemOUtStream));
            printer = new ConsolePrinter(segmentChunks);
            new Thread(printer).start();
            printer.waitUntilRunning(true);
        }
    
        public void close() {
            printer.waitUntilRunning(false);
            System.setOut(this.originalSystemOUtStream);
        }
    
        private void setNext() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/output/output.go

    	return fmt.Fprintln(writer, args...)
    }
    
    // Printf is a wrapper around fmt.Printf
    func (tp *TextPrinter) Printf(format string, args ...interface{}) (n int, err error) {
    	return fmt.Printf(format, args...)
    }
    
    // Println is a wrapper around fmt.Printf
    func (tp *TextPrinter) Println(args ...interface{}) (n int, err error) {
    	return fmt.Println(args...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. hack/print-workspace-status.sh

    # build stamping with git information.
    #
    # It is still useful for obtaining kube::version::get_version_vars without
    # sourcing Kubernetes build internals.
    #
    # Usage: `hack/print-workspace-status.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    source "${KUBE_ROOT}/hack/lib/version.sh"
    kube::version::get_version_vars
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 06 11:19:29 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    		table := &metav1.Table{
    			ColumnDefinitions: test.columns,
    			Rows:              test.rows,
    		}
    		// Print the table
    		out := bytes.NewBuffer([]byte{})
    		printer := NewTablePrinter(test.options)
    		printer.PrintObj(table, out)
    
    		// Validate the printed table is empty.
    		if len(out.String()) > 0 {
    			t.Errorf("Error Printing Table. Should be empty; got (%s)", out.String())
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            }
    
            @Override
            public void writeCodeTo(PrettyPrinter printer) {
                if (catalogReference) {
                    printer.println(printer.syntax.dependencySpec(configuration, dependencyOrCatalogReference));
                } else {
                    printer.println(printer.syntax.dependencySpec(configuration, printer.syntax.string(dependencyOrCatalogReference)));
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  7. test/typeparam/gencrawler.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    var V val[int]
    
    type val[T any] struct {
    	valx T
    }
    
    func (v *val[T]) Print() {
    	v.print1()
    }
    
    func (v *val[T]) print1() {
    	println(v.valx)
    }
    
    func (v *val[T]) fnprint1() {
    	println(v.valx)
    }
    
    func FnPrint[T any](v *val[T]) {
    	v.fnprint1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 19:51:05 UTC 2022
    - 412 bytes
    - Viewed (0)
  8. src/go/printer/example_test.go

    	// file set fset.
    	funcAST, fset := parseFunc("example_test.go", "printSelf")
    
    	// Print the function body into buffer buf.
    	// The file set is provided to the printer so that it knows
    	// about the original source formatting and can add additional
    	// line breaks where they were present in the source.
    	var buf bytes.Buffer
    	printer.Fprint(&buf, fset, funcAST.Body)
    
    	// Remove braces {} enclosing the function body, unindent,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:55:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

        }
    
        def "configure project group header is printed red if configuration fails with additional failures"() {
            given:
            buildFile << """
                afterEvaluate {
                    println "executing after evaluate..."
                    throw new RuntimeException("After Evaluate Failure...")
                }
                throw new RuntimeException('Config Failure...')
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/disableTask/kotlin/build.gradle.kts

    val disableMe by tasks.registering {
        doLast {
            println("This should not be printed if the task is disabled.")
        }
    }
    
    disableMe {
        enabled = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 164 bytes
    - Viewed (0)
Back to top