Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HEX_DIGITS (0.04 sec)

  1. src/main/java/jcifs/util/Hexdump.java

            final char[] c = new char[2 * size];
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[srcIndex + i] >> 4 & 0x0F];
                j++;
                c[j++] = HEX_DIGITS[src[srcIndex + i] & 0x0F];
            }
            return new String(c);
        }
    
        /**
         * Converts a byte array to a hexadecimal string representation.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

          }
    
          while (!encodedCharBuffer.exhausted()) {
            val b = encodedCharBuffer.readByte().toInt() and 0xff
            writeByte('%'.code)
            writeByte(HEX_DIGITS[b shr 4 and 0xf].code)
            writeByte(HEX_DIGITS[b and 0xf].code)
          }
        } else {
          // This character doesn't need encoding. Just copy it over.
          writeUtf8CodePoint(codePoint)
        }
        i += Character.charCount(codePoint)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Hexdump.java

            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
                }
                c[j++] = HEX_DIGITS[src[i] & 0x0F];
            }
            return new String(c);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top