Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 580 for calling (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        builder.build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      public void testDisableCaching() {
        // Functional test: assert that CacheBuilderSpec.disableCaching()
        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
        Object key = new Object();
        Object value = new Object();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

    import java.util.HashMap;
    import java.util.Iterator;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * Implements DFS (Distributed File System) referral caching and resolution.
     * This class manages DFS referral cache and provides DFS path resolution functionality.
     */
    public class Dfs {
    
        /**
         * Default constructor for Dfs.
         * Initializes the DFS referral system.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
    
        // Causing the size to grow to 10 should evict nothing.
        set("d", "d", "d")
        cache.flush()
        assertThat(cache.size()).isEqualTo(10)
        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
        assertValue("d", "d", "d")
    
        // Causing the size to grow to 18 should evict 'B' and 'C'.
        set("e", "eeee", "eeee")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          // thus double memory usage.
          this.data =
              new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING)));
          this.bitCount = LongAddables.create();
        }
    
        // Used by serialization
        LockFreeBitArray(long[] data) {
          checkArgument(data.length > 0, "data length is zero!");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM";
        /** Whether AES-256 encryption is enabled */
        protected boolean aes256Enabled = true;
        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
        protected int leaseTimeout = 30000;
        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            byte[] buffer = new byte[0];
            response.setDataCount(0);
    
            // The implementation will try to decode even with an empty buffer, causing ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

     */
    class CipherSuite private constructor(
      /**
       * Returns the Java name of this cipher suite. For some older cipher suites the Java name has the
       * prefix `SSL_`, causing the Java name to be different from the instance name which is always
       * prefixed `TLS_`. For example, `TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName()` is
       * `"SSL_RSA_EXPORT_WITH_RC4_40_MD5"`.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            dataStoreFactory.add("store", dataStore2);
            assertSame(dataStore2, dataStoreFactory.getDataStore("store"));
        }
    
        // Test getDataStoreNames with caching
        public void test_getDataStoreNames_caching() {
            // Mock the loadDataStoreNameList to control behavior
            final int[] loadCount = { 0 };
            DataStoreFactory testFactory = new DataStoreFactory() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top