Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for newFpp (0.03 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
          assertTrue(changed ? newFpp > fpp : newFpp == fpp);
          fpp = newFpp;
        }
      }
    
      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.remove(one, one)).isTrue();
        assertThat(map).isEmpty();
    
        cache.getUnchecked(one);
        Map<Object, Object> newMap = ImmutableMap.of(one, one);
        assertThat(map).isEqualTo(newMap);
        assertThat(map.entrySet()).isEqualTo(newMap.entrySet());
        assertThat(map.keySet()).isEqualTo(newMap.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        applyLogger {
          addHandler(testLogHandler)
          level = Level.FINEST
          useParentHandlers = false
        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

           * logic in the static initializer, which does not check for getTypeName specifically. We
           * should really validate that it works as desired for all Android versions that we support.
           */
          @SuppressWarnings("NewApi")
          @Override
          String typeName(Type type) {
            return type.getTypeName();
          }
        },
        JAVA9 {
          @Override
          Type newArrayType(Type componentType) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      /**
       * Returns a stream over the values in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls
      @IgnoreJRERequirement
      public LongStream stream() {
        return Arrays.stream(array, start, end);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

           * should really validate that it works as desired for all Android versions that we support.
           */
          @IgnoreJRERequirement
          @SuppressWarnings("NewApi")
          @Override
          String typeName(Type type) {
            return type.getTypeName();
          }
        },
        JAVA9 {
          @Override
          Type newArrayType(Type componentType) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

        public Integer get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        /*
         * This is an override that is not directly visible to callers, so NewApi will catch calls to
         * Collection.spliterator() where necessary.
         */
        @IgnoreJRERequirement
        public Spliterator.OfInt spliterator() {
          return Spliterators.spliterator(array, start, end, 0);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object six = new Object();
    
        map.put(one, two);
        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
Back to top