Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for 0xFFFF (0.05 seconds)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE');
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertWithMessage("0xFFFE is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\ufffe]"))
            .isEqualTo("[\uFFFD]");
        assertWithMessage("0xFFFF is forbidden and should be replaced during escaping")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE');
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertWithMessage("0xFFFE is forbidden and should be replaced during escaping")
            .that(xmlEscaper.escape("[\ufffe]"))
            .isEqualTo("[\uFFFD]");
        assertWithMessage("0xFFFF is forbidden and should be replaced during escaping")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
          if (string.codePointAt(i) > 0xffff) {
            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
      private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
          if (string.codePointAt(i) > 0xffff) {
            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          return
        }
    
        if (length % 6 != 0) throw IOException("TYPE_SETTINGS length % 6 != 0: $length")
        val settings = Settings()
        for (i in 0 until length step 6) {
          val id = source.readShort() and 0xffff
          val value = source.readInt()
    
          when (id) {
            // SETTINGS_HEADER_TABLE_SIZE
            1 -> {
            }
    
            // SETTINGS_ENABLE_PUSH
            2 -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top