Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,571 for cause (0.05 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
        // Verify that the listener executed in a reasonable amount of time.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link AbstractFuture} with the cancellation cause system property set */
    @AndroidIncompatible // custom classloading
    
    @NullUnmarked
    public class AbstractFutureCancellationCauseTest extends TestCase {
    
      private ClassLoader oldClassLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link AbstractFuture} with the cancellation cause system property set */
    @AndroidIncompatible // custom classloading
    
    @NullUnmarked
    public class AbstractFutureCancellationCauseTest extends TestCase {
    
      private ClassLoader oldClassLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
        e is SSLHandshakeException && e.cause is CertificateException -> false
    
        // e.g. a certificate pinning error.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/containerd/errdefs/pkg/LICENSE

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Mar 05 11:36:39 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          return valueUpdater.compareAndSet(future, expect, update);
        }
    
        private static LinkageError newLinkageError(Throwable cause) {
          return new LinkageError(cause.toString(), cause);
        }
    
        @Override
        String atomicHelperTypeForTest() {
          return "VarHandleAtomicHelper";
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            initRepoSession(configuration);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException modelBuildingException) {
                    StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top