Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 510 for if (0.14 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

                try {
                    Request key = peekKey();
                    if (key == null)
                        throw new IOException( "end of stream" );
                    synchronized (this) {
                        Response response = (Response)response_map.get( key );
                        if (response == null) {
                            if (log.level >= 4)
                                log.println( "Invalid key, skipping message" );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            sessionKey = session.transport.sessionKey;
            capabilities = session.transport.capabilities;
    
            if (session.transport.server.security == SECURITY_USER) {
                if (cred instanceof NtlmPasswordAuthentication) {
                    NtlmPasswordAuthentication auth = (NtlmPasswordAuthentication)cred;
    
                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbException.java

             */
            if (errcode == 0) {
                return "NT_STATUS_SUCCESS";
            }
            if(( errcode & 0xC0000000 ) == 0xC0000000 ) {
                int min = 1; /* Don't include NT_STATUS_SUCCESS */
                int max = NT_STATUS_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > NT_STATUS_CODES[mid] ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

                URLStreamHandler handler = (URLStreamHandler)
                        PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) return handler;
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                if( append ) {
                    fp = file.length();
                }
            }
        }
    /**
     * Writes len bytes from the specified byte array starting at
     * offset off to this file output stream.
     *
     * @param b The array 
     * @throws IOException if a network error occurs
     */
    
        public void write( byte[] b, int off, int len ) throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

        };
    
        static {
            String s;
    
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.CheckDirectory" )) != null ) {
                batchLimits[0] = Byte.parseByte( s );
            }
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory" )) != null ) {
                batchLimits[2] = Byte.parseByte( s );
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NetbiosAddress.java

         *             if the host cannot be resolved to find out.
         */
        boolean isInConflict ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Determines if this address is active.
         * 
         * @param tc
         *            context to use
         * @return whether this address is active
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public static NtlmPasswordAuthentication authenticate(
                HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
                        throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (1)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            while ( pos + 4 <= data.length ) {
                int avId = SMBUtil.readInt2(data, pos);
                int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
                if ( avId == AvPair.MsvAvEOL ) {
                    if ( avLen != 0 ) {
                        throw new CIFSException("Invalid avLen for AvEOL");
                    }
                    foundEnd = true;
                    break;
                }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/rpc.java

                this.clock_seq_low = (byte) _src.dec_ndr_small();
                int _nodes = 6;
                int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if ( this.node == null ) {
                    if ( _nodes < 0 || _nodes > 0xFFFF )
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    this.node = new byte[_nodes];
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
Back to top