Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for codePoint (0.16 sec)

  1. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      private static long codePointToFourUtf8Bytes(int codePoint) {
        // codePoint has at most 21 bits
        return ((0xFL << 4) | (codePoint >>> 18))
            | ((0x80L | (0x3F & (codePoint >>> 12))) << 8)
            | ((0x80L | (0x3F & (codePoint >>> 6))) << 16)
            | ((0x80L | (0x3F & codePoint)) << 24);
      }
    
      private static long charToThreeUtf8Bytes(char c) {
        return ((0x7L << 5) | (c >>> 12))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
Back to top