Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for fix (0.09 sec)

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

      }
    
      /**
       * Quickselects the top k elements from the 2k elements in the buffer. O(k) expected time, O(k log
       * k) worst case.
       */
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      private void trim() {
        int left = 0;
        int right = 2 * k - 1;
    
        int minThresholdPosition = 0;
        // The leftmost position at which the greatest of the k lower elements
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * key and value, which we pass to the superconstructor, even though the key and value type for
         * a given entry might not include null. The right fix for the header problems is probably to
         * define a separate MultimapLink interface with a separate "header" implementation, which
         * hopefully could avoid implementing Entry or ValueSetLink at all. (But note that that approach
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

      @Override
      /*
       * This suppression is here for two reasons:
       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
       * array with a nullable element type. But probably they usually want an array with a non-nullable
       * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

         * key and value, which we pass to the superconstructor, even though the key and value type for
         * a given entry might not include null. The right fix for the header problems is probably to
         * define a separate MultimapLink interface with a separate "header" implementation, which
         * hopefully could avoid implementing Entry or ValueSetLink at all. (But note that that approach
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

      @GwtIncompatible // SerializableTester
      public void testIsEqualToNull_serialization() {
        checkSerialization(Predicates.equalTo(null));
      }
    
      /**
       * Tests for Predicates.instanceOf(x). TODO: Fix the comment style after fixing annotation
       * stripper to remove comments properly. Currently, all tests before the comments are removed as
       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ false);
      static final HashFunction MURMUR3_32_FIXED =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
      // We can include the non-BMP fix here because Hashing.goodFastHash stresses that the hash is a
      // temporary-use one. Therefore it shouldn't be persisted.
      static final HashFunction GOOD_FAST_HASH_32 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Converter.java

     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      @SafeVarargs
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(E... elements) {
        CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 21:38:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
       */
      @SafeVarargs
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create(E... elements) {
        CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 21:38:59 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

       * not actually very useful and will likely be deprecated in the future.
       */
      @SafeVarargs
      @GwtCompatible(serializable = true)
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      public static <E extends @Nullable Object> ArrayList<E> newArrayList(E... elements) {
        checkNotNull(elements); // for GWT
        // Avoid integer overflow when a large array is passed in
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top