Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for uni (0.01 sec)

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

            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
                if (ch < 0x80) {
                    uni[ui] = (char) ch;
                } else if ((ch & 0xE0) == 0xC0) {
                    if (slim - si < 2) {
                        break;
                    }
                    uni[ui] = (char) ((ch & 0x1F) << 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
                if (ch < 0x80) {
                    uni[ui] = (char) ch;
                } else if ((ch & 0xE0) == 0xC0) {
                    if (slim - si < 2) {
                        break;
                    }
                    uni[ui] = (char) ((ch & 0x1F) << 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNotNull(uniBytes, "UNI bytes should not be null");
                assertNotNull(asciiBytes, "ASCII bytes should not be null");
                assertNotNull(oemBytes, "OEM bytes should not be null");
                assertEquals(0, uniBytes.length, "UNI bytes should be empty");
                assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * @return the Unicode MD4 hash response
         */
        static public byte[] getNTLMResponse(final String password, final byte[] challenge) {
            byte[] uni = null;
            final byte[] p21 = new byte[21];
            final byte[] p24 = new byte[24];
    
            try {
                uni = password.getBytes(SmbConstants.UNI_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top