Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0123456789ABCDEF (0.2 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

       * "12AB" is the four hexadecimal digits representing the 16-bit code unit.
       */
      private static String showCharacter(char c) {
        String hex = "0123456789ABCDEF";
        char[] tmp = {'\\', 'u', '\0', '\0', '\0', '\0'};
        for (int i = 0; i < 4; i++) {
          tmp[5 - i] = hex.charAt(c & 0xF);
          c = (char) (c >> 4);
        }
        return String.copyValueOf(tmp);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

       * "12AB" is the four hexadecimal digits representing the 16-bit code unit.
       */
      private static String showCharacter(char c) {
        String hex = "0123456789ABCDEF";
        char[] tmp = {'\\', 'u', '\0', '\0', '\0', '\0'};
        for (int i = 0; i < 4; i++) {
          tmp[5 - i] = hex.charAt(c & 0xF);
          c = (char) (c >> 4);
        }
        return String.copyValueOf(tmp);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    				for i := 0; i < b.N; i++ {
    					LastIndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimASCII(b *testing.B) {
    	cs := "0123456789abcdef"
    	for k := 1; k <= 4096; k <<= 4 {
    		for j := 1; j <= 16; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				x := Repeat([]byte(cs[:j]), k) // Always matches set
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top