Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 604 for if (0.12 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            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 '\\'");
            }
    
    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)
  2. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            bufferIndex += 4;
            int daclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex);
    
            if (ownerUOffset > 0) {
                bufferIndex = start + ownerUOffset;
                owner_user = new SID(buffer, bufferIndex);
                bufferIndex += 28; // ???
            }
    
            if (ownerGOffset > 0) {
                bufferIndex = start + ownerGOffset;
                owner_group = new SID(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac.kerberos;
    
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( parameterDisplacement, dst, dstIndex );
                dstIndex += 4;
            }
            writeInt4( dataCount, dst, dstIndex );
            dstIndex += 4;
            writeInt4(( dataCount == 0 ? 0 : dataOffset ), dst, dstIndex );
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
                this.opened = false;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            align(4);
            int i = index;
            String val = null;
            int len = Encdec.dec_uint32le(buf, i);
            i += 12;
            if (len != 0) {
                len--;
                int size = len * 2;
                try {
                    if (size < 0 || size > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                    val = new String(buf, i, size, "UTF-16LE");
    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)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacMac.java

                int usage = 17;
                if ( type == PacSignature.KERB_CHECKSUM_HMAC_MD5 ) {
                    KerberosKey key = keys.get(PacSignature.ETYPE_ARCFOUR_HMAC);
                    if ( key == null ) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacArcfourHMACMD5(usage, key, data);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/SessionServicePacket.java

                if ( n <= 0 ) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
    
        static int readPacketType ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            int n;
            if ( ( n = readn(in, buffer, bufferIndex, HEADER_LENGTH) ) != HEADER_LENGTH ) {
                if ( n == -1 ) {
                    return -1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Crypto.java

         */
        public static Provider getProvider() {
            if (provider != null) {
                return provider;
            }
            provider = new BouncyCastleProvider();
            return provider;
        }
    
        /**
         * Initialize Provider Instance with customProvider
         * @param customProvider
         * @throws Exception if Provider has already been initialized.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
Back to top