Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for unicode (0.2 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            try {
                int flags = getFlags();
                boolean unicode = (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0;
                String oem = unicode ? null : getOEMEncoding();
                String domainName = getDomain();
                byte[] domain = null;
                if (domainName != null && domainName.length() != 0) {
                    domain = unicode ?
                            domainName.getBytes(UNI_ENCODING) :
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                this.capabilities |= SmbConstants.CAP_UNICODE;
            }
    
            if ( ( this.capabilities & SmbConstants.CAP_UNICODE ) == 0 ) {
                // server doesn't want unicode
                if ( ctx.getConfig().isForceUnicode() ) {
                    this.capabilities |= SmbConstants.CAP_UNICODE;
                    this.useUnicode = true;
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            int type1Flags = type1.getFlags();
            flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) {
                String domain = tc.getConfig().getDefaultDomain();
                if ( domain != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
          InternetDomainName.from("j\u00f8rpeland.no");
      private static final InternetDomainName PUNYCODE_EXAMPLE =
          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

            int size = 64;
            boolean unicode = getFlag(NTLMSSP_NEGOTIATE_UNICODE);
            String oemCp = unicode ? null : getOEMEncoding();
    
            String domainName = getDomain();
            byte[] domainBytes = null;
            if ( domainName != null && domainName.length() != 0 ) {
                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            }
        }
        public static class LsarDnsDomainInfo extends NdrObject {
    
            public rpc.unicode_string name;
            public rpc.unicode_string dns_domain;
            public rpc.unicode_string dns_forest;
            public rpc.uuid_t domain_guid;
            public rpc.sid_t sid;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(name.length);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 33K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        public static class LsarDnsDomainInfo extends NdrObject {
    
            public rpc.unicode_string name;
            public rpc.unicode_string dns_domain;
            public rpc.unicode_string dns_forest;
            public rpc.uuid_t domain_guid;
            public rpc.sid_t sid;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 35.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
          InternetDomainName.from("j\u00f8rpeland.no");
      private static final InternetDomainName PUNYCODE_EXAMPLE =
          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

    
        /**
         * 
         * @param src
         * @param srcIndex
         * @param maxLen
         * @param unicode
         * @return read string
         */
        public String readString ( byte[] src, int srcIndex, int maxLen, boolean unicode ) {
            if ( unicode ) {
                // Unicode requires word alignment
                if ( ( ( srcIndex - this.headerStart ) % 2 ) != 0 ) {
                    srcIndex++;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top