Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 737 for printnl (0.04 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CheckHandshake().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

            body = requestBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    fun main() {
      PostStreaming().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

        server.start();
    
        // Just check we can run code that depends on OkHttp types
        Call call = OkHttpCaller.callOkHttp(server.url("/"));
    
        try (Response response = call.execute();) {
          System.out.println(response.body().string());
        }
      }
    
      @Test
      public void testModules() {
        Module okHttpModule = OkHttpClient.class.getModule();
        assertEquals("okhttp3", okHttpModule.getName());
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreaming().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/misc/DisposableUtil.java

                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
                    System.err.println("[DisposableUtil] Failed to dispose resource: " + t.getClass().getName() + ": " + t.getMessage()); // must not use Logger.
                }
            }
            disposables.clear();
            Introspector.flushCaches();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

                off = (off & 0xFFFF) - converter;
                off = start + off;
                e.remark = readString(buffer, off, 128, false);
    
                if (LogStream.level >= 4) {
                    log.println(e);
                }
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/select/select.py

        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Click Count (1)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

        gradleRootProject.extensions.findByType<BuildScanConfiguration>()?.run {
            buildScanPublished {
                ((failedTasksInBuildLogic as List<*>) + (failedTasksInMainBuild as List<*>)).forEach {
                    println("##teamcity[buildProblem description='${buildScanUri}/console-log?task=$it']")
                }
            }
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level >= 3)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top