Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 171 for triggered (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
            continue;
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        newSSLContext()
          .apply {
            init(null, arrayOf<TrustManager>(trustManager), null)
          }.socketFactory
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAddables.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/InvalidatableSet.java

        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3())));
              iterator.next();
            });
      }
    
      /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals("smb://server/share/file", a.getCanonicalURL());
        }
    
        @Test
        @DisplayName("Invalid path triggers RuntimeCIFSException during canonicalize")
        void testCanonicalizeInvalidPath() {
            SmbResourceLocatorImpl a = locator("smb:invalid-no-slash");
            // Any accessor that triggers canonicalizePath should throw
            assertThrows(RuntimeCIFSException.class, a::getURLPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

            override fun create(sslSocket: SSLSocket): SocketAdapter = BouncyCastleSocketAdapter()
          }
    
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            assertTrue(stats.getFailureRate() <= 1.0);
        }
    
        @Test
        public void testBufferOverflowPrevention() throws Exception {
            validator.resetStats();
    
            // Trigger buffer overflow prevention
            try {
                byte[] buffer = new byte[10];
                validator.validateBufferAccess(buffer, 5, 10);
            } catch (SmbException e) {
                // Expected
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * 8`, so the class files from that build can't express nestmates. Thus, when those class files
       * are used from Java 9 or higher (i.e., high enough to trigger the VarHandle code path), such a
       * lookup would fail with an IllegalAccessException. That may then trigger use of Unsafe (possibly
       * with a warning under recent JVMs), or it may fall back even further to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

        void renewOnNullReferenceThrowsNPE() {
            // Arrange: null reference to the interface
            SmbRenewableCredentials creds = null;
    
            // Act + Assert: invoking renew() on null triggers NullPointerException
            assertThrows(NullPointerException.class, () -> {
                // Intentional NPE through dereference of a null interface reference
                creds.renew();
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top