Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 276 for mount (0.15 sec)

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

       *
       * <p><b>Java 8+ users:</b> In most cases, the {@code Stream} equivalent of this method is {@code
       * stream.filter(element::equals).count()}. If {@code element} might be null, use {@code
       * stream.filter(Predicate.isEqual(element)).count()} instead.
       *
       * @see java.util.Collections#frequency(Collection, Object) Collections.frequency(Collection,
       *     Object)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * #aboutToAcquire(CycleDetectingLock)} and {@link #lockStateChanged(CycleDetectingLock)}.
       */
      // This is logically a Set, but an ArrayList is used to minimize the amount
      // of allocation done on lock()/unlock().
      private static final ThreadLocal<ArrayList<LockGraphNode>> acquiredLocks =
          new ThreadLocal<ArrayList<LockGraphNode>>() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

         * becomes {@code count}.
         *
         * @return the count of {@code element} in the multiset before this call
         * @throws IllegalArgumentException if {@code count} is negative
         */
        @Override
        public int setCount(E element, int count) {
          checkNonnegative(count, "count");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * becomes {@code count}.
       *
       * @return the count of {@code element} in the multiset before this call
       * @throws IllegalArgumentException if {@code count} is negative
       */
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkNotNull(element);
        checkNonnegative(count, "count");
        while (true) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThat(manyValuesAccumulatorByAddAllIterable.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(manyValuesAccumulatorByAddAllIterator.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(manyValuesAccumulatorByAddAllVarargs.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(manyValuesAccumulatorByRepeatedAdd.count()).isEqualTo(MANY_VALUES_COUNT);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(INTEGER_MANY_VALUES_STATS_VARARGS.count()).isEqualTo(INTEGER_MANY_VALUES_COUNT);
        assertThat(INTEGER_MANY_VALUES_STATS_ITERABLE.count()).isEqualTo(INTEGER_MANY_VALUES_COUNT);
        assertThat(LONG_MANY_VALUES_STATS_ITERATOR.count()).isEqualTo(LONG_MANY_VALUES_COUNT);
        assertThat(LONG_MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(LONG_MANY_VALUES_COUNT);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

        if (values.count() == 0) {
          return;
        }
        merge(values.count(), values.mean(), values.sumOfSquaresOfDeltas(), values.min(), values.max());
      }
    
      private void merge(
          long otherCount,
          double otherMean,
          double otherSumOfSquaresOfDeltas,
          double otherMin,
          double otherMax) {
        if (count == 0) {
          count = otherCount;
          mean = otherMean;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
    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)
Back to top