Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for highness (0.19 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to the
     * highest valued code point that requires escaping. For example a replacement map containing the
     * single character '{@code \}{@code u1000}' will require approximately 16K of memory. If you need
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
          tableSize <<= 1;
        }
        return tableSize;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

        int centerFloor = (from + to) >>> 1;
    
        // Do a binary search until we're down to the range of two which encloses centerFloor (unless
        // all values are lower or higher than centerFloor, in which case we find the two highest or
        // lowest respectively). If centerFloor is in allRequired, we will definitely find it. If not,
        // but centerFloor + 1 is, we'll definitely find that. The closest value to the true (unrounded)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

        return (Multiset<T>) iterable;
      }
    
      /**
       * Returns a copy of {@code multiset} as an {@link ImmutableMultiset} whose iteration order puts
       * the highest count first, with ties broken by the iteration order of the original multiset.
       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    day!  Why, I haven't had a wink of sleep these three weeks!'
    
      `I'm very sorry you've been annoyed,' said Alice, who was
    beginning to see its meaning.
    
      `And just as I'd taken the highest tree in the wood,' continued
    the Pigeon, raising its voice to a shriek, `and just as I was
    thinking I should be free of them at last, they must needs come
    wriggling down from the sky!  Ugh, Serpent!'
    
    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/escape/CharEscaperBuilder.java

        @CheckForNull
        protected char[] escape(char c) {
          return c < replaceLength ? replacements[c] : null;
        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * underlying (implementation specific) data structures to be shared.
     *
     * <p>The size of the data structure used by ArrayBasedCharEscaper and ArrayBasedUnicodeEscaper is
     * proportional to the highest valued character that has a replacement. For example a replacement
     * map containing the single character '{@literal \}u1000' will require approximately 16K of memory.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double min() {
        checkState(count != 0);
        return min;
      }
    
      /**
       * Returns the highest value in the dataset. The count must be non-zero.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it
    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/src/com/google/common/collect/ImmutableSet.java

        SetBuilderImpl<E> copy() {
          return this;
        }
    
        @Override
        ImmutableSet<E> build() {
          return ImmutableSet.of();
        }
      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Array length is highest character value + 1
        assertEquals('z' + 1, fem.getReplacementArray().length);
      }
    
      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
Back to top