- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 3,860 for printsp (0.2 sec)
-
docs/features/events.md
Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy
@Internal Set<File> classpath = project.configurations["myconf"].files BadTask() { println("creating bad task") } @TaskAction void printIt() { def outputFile = getOutputFile().get().asFile outputFile.text = "bad" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
src/database/sql/example_cli_test.go
defer cancel() if err := pool.PingContext(ctx); err != nil { log.Fatalf("unable to connect to database: %v", err) } } // Query the database for the information requested and prints the results. // If the query fails exit the program with an error. func Query(ctx context.Context, id int64) { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() var name string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 08 17:27:54 UTC 2022 - 2K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
{{.Name}} - {{.Usage}} USAGE: {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE] files ending in '.zip' will be searched for '.healing.bin files recursively and printed together as a single JSON. FLAGS: {{range .VisibleFlags}}{{.}} {{end}} ` app.Flags = []cli.Flag{} app.Action = func(c *cli.Context) error { if !c.Args().Present() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.2K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 14:43:53 UTC 2024 - 21.6K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy
def setup() { blockingHttpServer.start() if (OperatingSystem.current().windows) { // The killed worker on Windows will cause a broken pipe error to be printed to the console, // so we disable stack trace checks to avoid the test failing. executer.withStackTraceChecksDisabled() } settingsFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 18:43:14 UTC 2024 - 9.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
.url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
src/go/ast/example_test.go
// src.go:4:9: f // src.go:4:11: 3.14 // src.go:4:17: 2 // src.go:4:21: c } // This example shows what an AST looks like when printed for debugging. func ExamplePrint() { // src is the input for which we want to print the AST. src := ` package main func main() { println("Hello, World!") } ` // Create the AST by parsing src. fset := token.NewFileSet() // positions are relative to fset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy
this.shouldFail = shouldFail } @Override boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException { println "> Attempting load for \$key" if (shouldFail == "load") { shouldFail = null throw new BuildCacheException("Unable to read " + key) } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 6.6K bytes - Viewed (0)