Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for high (0.13 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/Utf8Test.java

        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *   <li>If the first character was a high surrogate value, then an attempt is made to read the
       *       next character.
       *       <ol>
       *         <li><b>If the end of the sequence was reached, the negated value of the trailing high
       *             surrogate is returned.</b>
       *         <li><b>If the next character was a valid low surrogate, the code point value of the
       *             high/low surrogate pair is returned.</b>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

        // center will be at either low or high.
        int low = requiredFrom;
        int high = requiredTo;
        while (high > low + 1) {
          int mid = (low + high) >>> 1;
          if (allRequired[mid] > centerFloor) {
            high = mid;
          } else if (allRequired[mid] < centerFloor) {
            low = mid;
          } else {
    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)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
        // one with high bit set
        assertThat(UnsignedLongs.compare(0x5a4316b8c153ac4dL, 0xff1a618b7f65ea12L)).isLessThan(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

      }
    
      static char randomHighSurrogate(Random random) {
        return (char)
            (Character.MIN_HIGH_SURROGATE
                + random.nextInt(Character.MAX_HIGH_SURROGATE - Character.MIN_HIGH_SURROGATE + 1));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
        // one with high bit set
        assertThat(UnsignedLongs.compare(0x5a4316b8c153ac4dL, 0xff1a618b7f65ea12L)).isLessThan(0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
     * <i>often</i>." This is the most important characteristic of all hash functions.
     *
     * <h3>Desirable properties</h3>
     *
     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/StringsTest.java

        // Two differing invalid pairs.
        assertEquals("abc\uD8AB", Strings.commonPrefix("abc\uD8AB\uD8ABdef", "abc\uD8AB\uD8ACxyz"));
        // One orphan high surrogate.
        assertEquals("", Strings.commonPrefix("\uD8AB\uDCAB", "\uD8AB"));
        // Two orphan high surrogates.
        assertEquals("\uD8AB", Strings.commonPrefix("\uD8AB", "\uD8AB"));
      }
    
      public void testCommonSuffix() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      static <K extends @Nullable Object> ObjectCountHashMap<K> create() {
        return new ObjectCountHashMap<K>();
      }
    
      /**
       * Creates a {@code ObjectCountHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
Back to top