Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 2,719 for match (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
        } catch (e: InterruptedException) {
          Thread.currentThread().interrupt()
        }
      }
    
      private fun cancelLater(
        call: Call,
        delayMillis: Int,
      ): CountDownLatch {
        val latch = CountDownLatch(1)
        Thread {
          sleep(delayMillis)
          if (cancelMode == CANCEL) {
            call.cancel()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |
          """.trimMargin()
        try {
          decode(certificatePem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string does not include a private key")
        }
        try {
          decode(pkcs8Pem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string does not include a certificate")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    did not appear, and after a minute or two she walked on in the
    direction in which the March Hare was said to live.  `I've seen
    hatters before,' she said to herself; `the March Hare will be
    much the most interesting, and perhaps as this is May it won't be
    raving mad--at least not so mad as it was in March.'  As she said
    this, she looked up, and there was the Cat again, sitting on a
    branch of a tree.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            Hexdump.hexdump(log, rcv_buf, 0, in.getLength());
                        }
    
                        response.notify();
                    }
                }
            } catch (final SocketTimeoutException ste) {} catch (final Exception ex) {
                if (LogStream.level > 2) {
                    ex.printStackTrace(log);
                }
            } finally {
                tryClose();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false),
                    Arguments.of(false, new String[] {"--non-interactive"}, true),
                    Arguments.of(false, new String[] {"--batch-mode"}, true),
                    Arguments.of(false, new String[] {"--non-interactive", "--batch-mode"}, true));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                            results[threadId] = data;
                        } finally {
                            latch.countDown();
                        }
                    });
                }
    
                assertTrue(latch.await(5, TimeUnit.SECONDS), "All threads should complete");
                executor.shutdown();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                ? unsafeComparator
                : lexicographicalComparatorJavaImpl();
          } catch (Throwable t) { // ensure we really catch *everything*
            /*
             * Now that UnsafeComparator is implemented to initialize successfully even when we know we
             * can't use it, this `catch` block might now be necessary only:
             *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            return ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
                : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
          // ensure we really catch *everything*
        }
    
        return JavaLittleEndianBytes.INSTANCE;
      }
    
      /** Deter instantiation of this class. */
      private LittleEndianByteArray() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    return mavenPluginManager.getMojoDescriptor(
                            plugin, goal, project.getRemotePluginRepositories(), session.getRepositorySession());
                } catch (MavenException e) {
                    throw e;
                } catch (Exception e) {
                    throw new MavenException(e);
                }
            }
    
            private MojoDescriptor getMojoDescriptor(MavenProject project, String task) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
Back to Top