Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for Dense (0.32 sec)

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

     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has
             * _different bounds_ than the JDK TypeVariable. And it wouldn't make sense for our new
             * TypeVariable to be equal to any _other_ JDK TypeVariable, either, because any other JDK
             * TypeVariable must have a different declaration or name. The only TypeVariable that our
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    Alice called out as loud as she could, `If you do.  I'll set
    Dinah at you!'
    
      There was a dead silence instantly, and Alice thought to
    herself, `I wonder what they WILL do next!  If they had any
    sense, they'd take the roof off.'  After a minute or two, they
    began moving about again, and Alice heard the Rabbit say, `A
    barrowful will do, to begin with.'
    
      `A barrowful of WHAT?' thought Alice; but she had not long to
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashingOutputStream.java

       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
      // be (optionally) be combined with another if needed (with something like
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        }
        return this;
      }
    
      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
       * @return a "sparse" array that holds the replacement mappings.
       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        Map<Element, Element> map = mapToTest;
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          for (Element key : map.values()) {
            // This normally wouldn't make sense, but because our keys are our values it kind of does
            Element value = map.get(key);
            dummy ^= key != value;
          }
        }
        return dummy;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/base/Converter.java

     * <i>similar</i>.
     *
     * <h3>Nullability</h3>
     *
     * <p>A converter always converts {@code null} to {@code null} and non-null references to non-null
     * references. It would not make sense to consider {@code null} and a non-null reference to be
     * "different representations of the same information", since one is distinguishable from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top