Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3811 - 3820 of 5,248 for strike (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

     *
     * This may also be used for Android tests with Robolectric.
     */
    open class Jdk9Platform : Platform() {
      @SuppressSignatureCheck
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        val sslParameters = sslSocket.sslParameters
    
        val names = alpnProtocolNames(protocols)
    
        sslParameters.applicationProtocols = names.toTypedArray()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
          assertThat(response.body.string()).contains("h=cloudflare-dns.com")
        }
      }
    
      @Test
      fun getWithDns() {
        client =
          client
            .newBuilder()
            .dns {
              Dns.SYSTEM.lookup("sni.cloudflaressl.com")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TestLocking.java

        /**
         * Default constructor for TestLocking
         */
        public TestLocking() {
            // Default constructor
        }
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            response.fileType = 6;
            response.deviceState = 7;
            response.action = 8;
            response.serverFid = 9;
    
            // Call toString method
            String result = response.toString();
    
            // Assert that the output string contains the expected field values
            assertNotNull(result);
            assertTrue(result.contains("SmbComOpenAndXResponse"));
            assertTrue(result.contains("fid=1"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      String data;
    
      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/Progress.java

        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 Progress().run();
      }
    
      private static class ProgressResponseBody extends ResponseBody {
    
        private final ResponseBody responseBody;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         * @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
         */
        public MetadataParseException(String message, int lineNumber, int columnNumber) {
            super(message);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

     * establish security context for subsequent operations.
     */
    public class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private byte[] lmHash, ntHash, blob = null;
        private String accountName, primaryDomain;
        private final SmbComNegotiateResponse negotiated;
        private int capabilities;
    
        /**
         * Constructs a session setup AndX request.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
        public String toString() {
          return toString;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JavaxAnnotationNullabilityChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    class JavaxAnnotationNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
        override val nullableAnnotationName: String = "javax.annotation.Nullable"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 824 bytes
    - Viewed (0)
Back to top