Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 604 for if (0.12 sec)

  1. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
    
        @Override
        public boolean isValid ( CIFSContext ctx, SmbNegotiationRequest req ) {
            if ( getDialectIndex() > 10 ) {
                return false;
            }
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) != SmbConstants.CAP_EXTENDED_SECURITY
    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)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  5. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  6. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (1)
  8. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbConstants.java

         * represents is a server.
         */
        static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
         * represents is a share.
         */
        static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
Back to top