Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 3,635 for avoid (0.02 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            }
        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblySuccess(@ParametricNullness T result);
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            : new ImmutableLongArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfLong spliterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return startIndex == endIndex
            ? EMPTY
            : new ImmutableIntArray(array, start + startIndex, start + endIndex);
      }
    
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfInt spliterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/CharEscaper.java

          // This is the size needed to add the replacement, not the full size
          // needed by the string. We only regrow when we absolutely must, and
          // when we do grow, grow enough to avoid excessive growing. Grow.
          int sizeNeeded = destIndex + charsSkipped + rlen;
          if (destSize < sizeNeeded) {
            destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Multimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with
     * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hasher.java

     * newHasher().putByte(b1).putByte(b2).putByte(b3).hash()
     * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash()
     * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash()
     * }
     *
     * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in
     * mind that when dealing with char sequences, the encoded form of two concatenated char sequences
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_1x.md

    OkHttpClient instances with the following:
    
    ```java
    okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
    ```
    
    A simpler solution is to avoid the shared default SSL socket factory. Instead, if you
    need to customize SSL, do so for your specific OkHttpClient instance only.
    
    ##### Synthetic headers have changed
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

          HandshakeCertificates
            .Builder()
            .addTrustedCertificate(rootCa.certificate)
            .build()
        client =
          clientTestRule
            .newClientBuilder()
            .fastFallback(false) // Avoid data races.
            .dns(dns)
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).build()
        val serverHandshakeCertificates =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/BufferCacheImplTest.java

        void releaseStoresAndZeroesBuffer() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 10);
    
            byte[] b = new byte[10];
            // Fill with non-zero to verify zeroing on release
            for (int i = 0; i < b.length; i++) {
                b[i] = (byte) (i + 1);
            }
    
            // Act: release should zero immediately to avoid leaks
            impl.releaseBuffer(b);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top