- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 126 for HelloWorld (0.36 sec)
-
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
.addInterceptor(new LoggingInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); } private static class LoggingInterceptor implements Interceptor {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.dlv-dbg.nexts
57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 59: fmt.Println("foo") 60: break 64: helloworld() 66: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java
public final class AsynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); client.newCall(request).enqueue(new Callback() { @Override public void onFailure(Call call, IOException e) { e.printStackTrace(); }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
.protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)) .build(); Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } server.shutdown(); socketFile.delete(); }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.gdb-dbg.nexts
57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 59: fmt.Println("foo") 60: break 64: helloworld() 66: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 1.3K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy
}""" } def goodCodeUsingJavaInterface() { file("src/main/scala/compile/test/Demo.scala") << """ package compile.test object Demo { MyInterface.helloWorld(); } """.stripIndent() } def goodJavaInterfaceCode() { file("src/main/java/compile/test/MyInterface.java") << """ package compile.test;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithExecutableJarIntegrationTest.groovy
attributes('Main-Class': 'driver.Driver') } } """ when: succeeds taskName then: file("out.txt").text == """helloworld""" where: method | taskName 'JavaExec task' | 'runWithTask' 'project.javaexec' | 'runWithJavaExec'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
client = new OkHttpClient.Builder() .cache(cache) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body; try (Response response1 = client.newCall(request).execute()) { if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1);
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/global_test.go
out, err = cmd.CombinedOutput() if err != nil { t.Fatalf("could not read target: %v", err) } if bytes.Contains(out, []byte("scanInt")) { t.Fatalf("scanf code not removed from helloworld") } } // Make sure -S prints assembly code. See issue 14515. func TestDashS(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() // Make a directory to work in. dir := t.TempDir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.3K bytes - Viewed (0)