Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Methods (0.34 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * iterators that don't support {@code remove()}, but all other methods are supported by the map
       * and its views. When given a key that doesn't satisfy the predicate, the map's {@code put()} and
       * {@code putAll()} methods throw an {@link IllegalArgumentException}.
       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * loading size or checking containsValue, then we might have an inconsistent view of state so
    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. android/guava/src/com/google/common/cache/LocalCache.java

        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * loading size or checking containsValue, then we might have an inconsistent view of state so
    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)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
      }
    
      /**
       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
       * forever in the case of failure.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          this.matcher = SmallCharMatcher.from(tmp, "");
        }
        this.string = checkString(length, percent, config.matchingChars, new Random(), forceSlow, web);
      }
    
      // Caliper recognizes int-parameter methods beginning with "time"
    
      @Benchmark
      int trimAndCollapseFromString(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += matcher.trimAndCollapseFrom(string, '!').length();
        }
    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)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * List the contents of this SMB resource as an array of
     * <code>SmbFile</code> objects. This method is much more efficient than
     * the regular <code>list</code> method when querying attributes of each
     * file in the result set.
     * <p>
     * The list of <code>SmbFile</code>s returned by this method will be;
     *
     * <ul>
     * <li> files and directories contained within this resource if the
    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)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
          String key, LocalCache<String, String> cache, CacheLoader<String, String> loader)
          throws InterruptedException {
        CountDownLatch doneSignal = new CountDownLatch(1);
    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)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
          String key, LocalCache<String, String> cache, CacheLoader<String, String> loader)
          throws InterruptedException {
        CountDownLatch doneSignal = new CountDownLatch(1);
    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)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
      }
    
      /**
       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
       * forever in the case of failure.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, this method again, or
       * any other derivation method on the original {@code ClosingFuture} instance.
       *
       * @param consumer a callback whose method will be called (using {@code executor}) when this
       *     operation is done
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top