Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testEncodedLength_validStrings2 (0.11 seconds)

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

                    + "哈都拕人翻譯做好多話。"));
        // A surrogate pair
        assertEquals(4, Utf8.encodedLength(newString(MIN_HIGH_SURROGATE, MIN_LOW_SURROGATE)));
      }
    
      public void testEncodedLength_validStrings2() {
        HashMap<Integer, Integer> utf8Lengths = new HashMap<>();
        utf8Lengths.put(0x00, 1);
        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
    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)
Back to Top