Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for leash (0.14 sec)

  1. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          list.set(0, 0);
        }
        // Get threshold in the range [0, length], rounding up to ensure that
        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

       * and accesses that were performed on the map. The queue is drained on writes and when it exceeds
       * its capacity threshold.
       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(t, popLoggedThrowable());
      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(t, popLoggedThrowable());
      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

       * and accesses that were performed on the map. The queue is drained on writes and when it exceeds
       * its capacity threshold.
       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          list.set(0, 0);
        }
        // Get threshold in the range [0, length], rounding up to ensure that
        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                         */
    /* Technically we should also try to authenticate here but that means doing the session setup and tree connect separately. For now a simple connect will at least tell us if the host is alive. That should be sufficient for 99% of the cases. We can revisit this again for 2.0.
     */
                        trans.connect();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top