Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for setFlag (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

                return host;
            }
        }
    
        protected String toAscii(final String host) {
            return IDN.toASCII(decode(host), flag);
        }
    
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value Indicates whether to set (<code>true</code>) or
         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * 
         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         * @param value
         *            Indicates whether to set (<code>true</code>) or
         *            clear (<code>false</code>) the specified flag.
         */
        public void setFlag ( int flag, boolean value ) {
            setFlags(value ? ( getFlags() | flag ) : ( getFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        static int readULong ( byte[] src, int index ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        protected int result = 0;
    
        public boolean isFlagSet(int flag) {
            return (flags & flag) == flag;
        }
        public void unsetFlag(int flag) {
            flags &= ~flag;
        }
        public void setFlag(int flag) {
            flags |= flag;
        }
        public DcerpcException getResult() {
            if (result != 0)
                return new DcerpcException(result);
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            reconnect();
            if (message == null) {
                message = new Type1Message();
                if (LM_COMPATIBILITY > 2) {
                    message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true);
                }
            } else {
                String domain = DEFAULT_DOMAIN;
                String user = Type3Message.getDefaultUser();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

                flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM;
                setFlags(flags);
                charset = getOEMEncoding();
                end = true;
            }
            else {
                setEncryptedSessionKey(readSecurityBuffer(material, pos));
                pos += 8;
    
                flags = readULong(material, pos);
                setFlags(flags);
                pos += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                if ( message == null ) {
                    message = new Type1Message(this.transportContext);
                    if ( this.transportContext.getConfig().getLanManCompatibility() > 2 ) {
                        message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true);
                    }
                }
                else if ( this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

            this(
                tc,
                getDefaultFlags(tc, type1),
                challenge,
                ( type1 != null && target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET) ) ? tc.getConfig().getDefaultDomain() : target);
        }
    
    
        /**
         * Creates a Type-2 message with the specified parameters.
         * 
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         */
        public Type2Message(Type1Message type1, byte[] challenge, String target) {
            this(getDefaultFlags(type1), challenge, (type1 != null &&
                    target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET)) ?
                            getDefaultDomain() : target);
        }
    
        /**
         * Creates a Type-2 message with the specified parameters.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
Back to top