Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for high (0.12 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. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
        try {
          escapeAsString(SIMPLE_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.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/src/com/google/common/collect/CompactLinkedHashMap.java

          CompactLinkedHashMap<K, V> create() {
        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @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: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // This approach does mean that we break out of the fast path code in cases
        // where we don't strictly need to, but this situation will almost never
        // occur in practice.
        if (safeMin >= Character.MIN_HIGH_SURROGATE) {
          // The safe range is empty or the all safe code points lie in or above the
          // surrogate range. Either way the character range is empty.
          this.safeMinChar = Character.MAX_VALUE;
    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)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
          // Pass
        }
        try {
          escapeAsString(SIMPLE_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putChar(char c);
    
      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top