- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 3,109 for printsp (0.14 sec)
-
platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle
@Inject CustomTask(String message, int number) { this.message = message this.number = number } // end::inject-task-constructor[] @TaskAction void printIt() { println("$message $number") } // tag::inject-task-constructor[] } // end::inject-task-constructor[] // tag::on-task-container[] tasks.register('myTask', CustomTask, 'hello', 42)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 559 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor_trimpath.txt
[short] skip # Only the main module has a root directory in vendor mode. go mod vendor go list -f {{.Module.Dir}} example.com/main stdout $PWD go list -f {{.Module.Dir}} example.com/stack ! stdout . # The program prints a file name from a vendored package. # Without -trimpath, the name should include the vendor directory. go run main.go stdout vendor # With -trimpath, everything before the package path should be trimmed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 13 00:19:50 UTC 2021 - 1.3K bytes - Viewed (0) -
src/math/big/calibrate_test.go
maxSqr := computeSqrThreshold(200, 500, 10, 3, sqrModeBasic, sqrModeKaratsuba) if minSqr != 0 { fmt.Printf("found basicSqrThreshold = %d\n", minSqr) } else { fmt.Println("no basicSqrThreshold found") } if maxSqr != 0 { fmt.Printf("found karatsubaSqrThreshold = %d\n", maxSqr) } else { fmt.Println("no karatsubaSqrThreshold found") } } func karatsubaLoad(b *testing.B) { BenchmarkMul(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
src/go/printer/nodes.go
p.print(token.SWITCH) p.controlClause(false, s.Init, s.Tag, nil) p.block(s.Body, 0) case *ast.TypeSwitchStmt: p.print(token.SWITCH) if s.Init != nil { p.print(blank) p.stmt(s.Init, false) p.print(token.SEMICOLON) } p.print(blank) p.stmt(s.Assign, false) p.print(blank) p.block(s.Body, 0) case *ast.CommClause: if s.Comm != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
) func Cmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "metrics <workload name>...", Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.", Long: ` Prints the metrics for the specified service(s) when running in Kubernetes. This command finds a Prometheus pod running in the specified istio system
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/nm/doc.go
// symbols (type U). // // The options control the printed output: // // -n // an alias for -sort address (numeric), // for compatibility with other nm commands // -size // print symbol size in decimal between address and type // -sort {address,name,none,size} // sort output in the given order (default name) // size orders from largest to smallest // -type // print symbol type after name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.3K bytes - Viewed (0) -
src/context/example_test.go
// should abandon its work after the timeout elapses. ctx, cancel := context.WithTimeout(context.Background(), shortDuration) defer cancel() select { case <-neverReady: fmt.Println("ready") case <-ctx.Done(): fmt.Println(ctx.Err()) // prints "context deadline exceeded" } // Output: // context deadline exceeded } // This example demonstrates how a value can be passed to the context
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:24:28 UTC 2023 - 6.7K bytes - Viewed (0) -
src/go/doc/comment/text.go
type textPrinter struct { *Printer long strings.Builder prefix string codePrefix string width int } // Text returns a textual formatting of the [Doc]. // See the [Printer] documentation for ways to customize the text output. func (p *Printer) Text(d *Doc) []byte { tp := &textPrinter{ Printer: p, prefix: p.TextPrefix, codePrefix: p.TextCodePrefix,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 8.8K bytes - Viewed (0) -
src/fmt/doc.go
Wrong type or unknown verb: %!verb(type=value) Printf("%d", "hi"): %!d(string=hi) Too many arguments: %!(EXTRA type=value) Printf("hi", "guys"): hi%!(EXTRA string=guys) Too few arguments: %!verb(MISSING) Printf("hi%d"): hi%!d(MISSING) Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC) Printf("%*s", 4.5, "hi"): %!(BADWIDTH)hi Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt
[!fuzz-instrumented] skip [short] skip env GOCACHE=$WORK/cache # Test that fuzzing a target with a failure in f.Add prints the crash # and doesn't write anything to testdata/fuzz ! go test -fuzz=FuzzWithAdd -run=FuzzWithAdd -fuzztime=1x ! stdout ^ok ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]' stdout FAIL # Test that fuzzing a target with a success in f.Add and a fuzztime of only # 1 does not produce a crash.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 6.1K bytes - Viewed (0)