Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for typo (0.31 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType());
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) {
                    assertEquals(SmbConstants.TYPE_SHARE, f.getType());
                }
            }
        }
    
    
        @Test
        public void testGetFreeSpace () throws CIFSException, MalformedURLException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

        }
    
    
        public static byte[] decrypt ( byte[] data, Key key, int type ) throws GeneralSecurityException {
            Cipher cipher = null;
            byte[] decrypt = null;
    
            switch ( type ) {
            case KerberosConstants.DES_ENC_TYPE:
                decrypt = decryptDES(data, key, cipher);
                break;
            case KerberosConstants.RC4_ENC_TYPE:
                decrypt = decryptRC4(data, key);
                break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PACTest.java

            Kerberos
                ap-req
                    pvno: 5
                    msg-type: krb-ap-req (14)
                    Padding: 0
                    ap-options: 20000000
                    ticket
                        tkt-vno: 5
                        realm: W2K19SINGLE.SPRINGFIELD
                        sname
                            name-type: kRB5-NT-UNKNOWN (0)
                            sname-string: 2 items
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Returns type of of object this <tt>SmbFile</tt> represents.
     * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE,
     * TYPE_PRINTER, TYPE_NAMED_PIPE</tt>, or <tt>TYPE_COMM</tt>.
     */
        public int getType() throws SmbException {
            if( type == 0 ) {
                if( getUncPath0().length() > 1 ) {
                    type = TYPE_FILESYSTEM;
                } else if( share != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope, InetAddress svr ) throws UnknownHostException {
    
            if ( host == null || host.length() == 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 */
    
                this.andx.uid = this.uid;
                dstIndex += ( (AndXServerMessageBlock) this.andx ).writeAndXWireFormat(dst, dstIndex);
            }
            else {
                // the andx smb is not of type andx so lets just write it here and
                // were done.
                int andxStart = dstIndex;
                this.andx.wordCount = this.andx.writeParameterWordsWireFormat(dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

    
        /**
         * 
         * @param type
         * @param object
         * @return object cast to type
         * @throws PACDecodingException
         */
        public static <T> T as ( Class<T> type, Object object ) throws PACDecodingException {
            if ( !type.isInstance(object) ) {
                throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass());
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        /**
         * @return the type of this tree
         */
        public int getTreeType () {
            String connectedService = getService();
            if ( "LPT1:".equals(connectedService) ) {
                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
                return SmbConstants.TYPE_COMM;
            }
            return SmbConstants.TYPE_SHARE;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

            }
    
            /*
             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top