Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 453 for printint (0.06 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for ((name, value) in response.headers) {
            println("$name: $value")
          }
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      SynchronousGet().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                // Print clear error and exit with error code to prevent Maven from running
                System.err.println("ERROR: Failed to read .mvn/jvm.config: " + e.getMessage());
                System.err.println("Please check file permissions and syntax.");
                System.err.flush();
                System.exit(1);
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                System.out.println("\nMost frequent values across all paths:");
                for (ValueFrequency v : group.mostFrequentValues) {
                    System.out.printf("  %-70s %d times%n", v.value, v.frequency);
                }
    
                System.out.println("\nIndividual paths:");
                System.out.println("----------------------------------------");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

          Request
            .Builder()
            .url(HOST + path)
            .build()
        return client.newWebSocket(request, listener)
      }
    
      fun run() {
        try {
          val count = getTestCount()
          println("Test count: $count")
          for (number in 1..count) {
            runTest(number, count)
          }
          updateReports()
        } finally {
          client.dispatcher.executorService.shutdown()
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  6. cmd/server-startup-msg_test.go

    	newAPIEndpoints = stripStandardPorts(apiEndpoints, "")
    	if !reflect.DeepEqual(apiEndpoints, newAPIEndpoints) {
    		t.Fatalf("Expected %#v, got %#v", apiEndpoints, newAPIEndpoints)
    	}
    }
    
    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test various PrintStream methods
            logStream.print("test");
            logStream.print(123);
            logStream.print(true);
            logStream.println();
            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
            logStream.flush();
    
            String output = testOutput.toString();
            assertTrue(output.contains("test"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    }
                    result = (NbtAddress) TAB.get(name);
                }
            } catch (final FileNotFoundException fnfe) {
                if (LogStream.level > 1) {
                    log.println("lmhosts file: " + FILENAME);
                    fnfe.printStackTrace(log);
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.print(modelId);
            }
            writer.println();
    
            for (ModelProblem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                writer.print(" @ ");
                writer.println(ModelProblemUtils.formatLocation(problem, modelId));
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

          Headers responseHeaders = response.headers();
          for (int i = 0; i < responseHeaders.size(); i++) {
            System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new SynchronousGet().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.5K bytes
    - Click Count (0)
Back to Top