Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,652 for printIt (0.14 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            buildKotlinFile << """
                tasks.register("printer") {
                    val someValue = objects.property<String>().convention("some value")
                    doLast {
                        val filtered = someValue.filter { it.contains("value") }
                        someValue.set("trash")
                        println("filter: ${'$'}{filtered.getOrNull()}")
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/install.go

    			if revision != util.DefaultRevisionName {
    				revisionWarning = ""
    			}
    			if icpTag < tag {
    				p.Printf("%s Istio is being upgraded from %s to %s.\n"+revisionWarning+check,
    					warnMarker, icpTag, tag)
    			} else {
    				p.Printf("%s Istio is being downgraded from %s to %s.\n"+revisionWarning+check,
    					warnMarker, icpTag, tag)
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part2_gradle_tasks.adoc

    [source, kotlin]
    ----
    tasks.register("hello") {
        doLast {
            println("Hello!")
        }
    }
    
    tasks.register("greet") {
        doLast {
            println("How are you?")
        }
        dependsOn("hello")
    }
    ----
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    tasks.register("hello") {
        doLast {
            println('Hello!')
        }
    }
    
    tasks.register("greet") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 14:26:07 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/time/example_test.go

    	// The package also accepts the incorrect but common prefix u for micro.
    	micro2, _ := time.ParseDuration("1us")
    
    	fmt.Println(hours)
    	fmt.Println(complex)
    	fmt.Printf("There are %.0f seconds in %v.\n", complex.Seconds(), complex)
    	fmt.Printf("There are %d nanoseconds in %v.\n", micro.Nanoseconds(), micro)
    	fmt.Printf("There are %6.2e seconds in %v.\n", micro2.Seconds(), micro2)
    	// Output:
    	// 10h0m0s
    	// 1h10m10s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

                    void beforeSuite(TestDescriptor suite) { println "START Test Suite [\$suite.className] [\$suite.name]" }
                    void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH Test Suite [\$suite.className] [\$suite.name] [\$result.resultType] [\$result.testCount]" }
                    void beforeTest(TestDescriptor test) { println "START Test Case [\$test.className] [\$test.name]" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/compute.go

    // kinds of upgrades can be performed
    func GetAvailableUpgrades(versionGetterImpl VersionGetter, experimentalUpgradesAllowed, rcUpgradesAllowed bool, client clientset.Interface, printer output.Printer) ([]Upgrade, error) {
    	printer.Printf("[upgrade] Fetching available versions to upgrade to\n")
    
    	// Collect the upgrades kubeadm can do in this list
    	var upgrades []Upgrade
    
    	// Get the kube-apiserver versions in the cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/kubectl/cmd/convert/convert.go

    		The default output will be printed to stdout in YAML format. One can use -o option
    		to change to output destination.`))
    
    	convertExample = templates.Examples(i18n.T(`
    		# Convert 'pod.yaml' to latest version and print to stdout.
    		kubectl convert -f pod.yaml
    
    		# Convert the live state of the resource specified by 'pod.yaml' to the latest version
    		# and print to stdout in JSON format.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    				switch val := cell.(type) {
    				case string:
    					print := val
    					truncated := false
    					// Truncate at the first newline, carriage return or formfeed
    					// (treated as a newline by tabwriter).
    					breakchar := strings.IndexAny(print, "\f\n\r")
    					if breakchar >= 0 {
    						truncated = true
    						print = print[:breakchar]
    					}
    					WriteEscaped(output, print)
    					if truncated {
    						fmt.Fprint(output, "...")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  9. src/go/printer/testdata/comments.golden

    	f0()
    }
    
    func _() {
    	// this comment should be properly indented
    }
    
    func _(x int) int {
    	if x < 0 {	// the tab printed before this comment's // must not affect the remaining lines
    		return -x	// this statement should be properly indented
    	}
    	if x < 0 {	/* the tab printed before this comment's /* must not affect the remaining lines */
    		return -x	// this statement should be properly indented
    	}
    	return x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    	} else {
    		fmt.Printf("[dryrun] Wrote certificates and kubeconfig files to the %q directory\n", manifestDir)
    	}
    
    	fmt.Println("[dryrun] The certificates or kubeconfig files would not be printed due to their sensitive nature")
    	fmt.Printf("[dryrun] Please examine the %q directory for details about what would be written\n", manifestDir)
    
    	// Print kubelet config manifests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top