Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 431 for New (0.23 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            if (headerFields != null) return headerFields;
            Map map = new HashMap();
            String key = connection.getHeaderFieldKey(0);
            String value = connection.getHeaderField(0);
            for (int i = 1; key != null || value != null; i++) {
                List values = (List) map.get(key);
                if (values == null) {
                    values = new ArrayList();
                    map.put(key, values);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

        private volatile Thread thread;
        private volatile TransportException te;
    
        protected final Object inLock = new Object();
        protected final Object outLock = new Object();
    
        protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10);
        private final AtomicLong usageCount = new AtomicLong(1);
    
    
        /**
         * @return session increased usage count
         */
        public Transport acquire () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

                        state = 0;
                        throw new TransportException( "Connection in error", te );
                    default:
                        TransportException te = new TransportException( "Invalid state: " + state );
                        state = 0;
                        throw te;
                }
    
                state = 1;
                te = null;
                thread = new Thread( this, name );
                thread.setDaemon( true );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            }
            while ( si < arr.length );
    
            if ( binding == null || binding.getEndpoint() == null )
                throw new DcerpcException("Invalid binding URL: " + str);
    
            return binding;
        }
    
        private static final AtomicInteger call_id = new AtomicInteger(1);
    
        private final DcerpcBinding binding;
        private int max_xmit = 4280;
        private int max_recv = this.max_xmit;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
            else if ( config.getMaximumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "NT LM 0.12", "SMB 2.???", "SMB 2.002"
                };
            }
            else {
                this.dialects = new String[] {
                    "NT LM 0.12"
                };
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            SmbTreeHandleImpl th = getTreeHandle();
            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            useNTSmbs = file.tree.session.transport.hasCapability( ServerMessageBlock.CAP_NT_SMBS );
            if( useNTSmbs ) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
                rsp = new SmbComWriteResponse();    
            }
        }
    
    /**
     * Closes this output stream and releases any system resources associated
     * with it.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/rpc.java

                _src.advance(1 * _nodes);
    
                if ( this.node == null ) {
                    if ( _nodes < 0 || _nodes > 0xFFFF )
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    this.node[ _i ] = (byte) _src.dec_ndr_small();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/Handler.java

        protected int getDefaultPort() {
            return DEFAULT_HTTP_PORT;
        }
    
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(),
                    getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection)
                    url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(String protocol)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
Back to top