Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for do (0.23 sec)

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

                    if ( initial != null ) {
                        DfsReferralDataInternal start = initial.unwrap(DfsReferralDataInternal.class);
                        DfsReferralDataInternal dr = start;
                        do {
                            String domain = dr.getServer().toLowerCase();
                            entry.map.put(domain, new HashMap<String, CacheEntry<DfsReferralDataInternal>>());
                            if ( log.isTraceEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                if ( log.isDebugEnabled() ) {
                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[ si ];
    
                switch ( state ) {
                case 0:
                    if ( ch == ':' ) {
                        proto = str.substring(mark, si);
                        mark = si + 1;
    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)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                throw new SmbException( "A domain was not specified" );
            }
    synchronized (DOMAIN) {
                long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
                    if (dc_list_expiration < now) {
                        NbtAddress[] list = NbtAddress.getAllByName( DOMAIN, 0x1C, null, null );
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

            }
    
            log.debug("Resolving \\" + target + "\\" + dfsShare + path);
            DfsReferralData ref = dfs.resolve(context, target, dfsShare, path);
    
            if ( ref != null ) {
                do {
                    log.debug("ref " + ref);
                }
                while ( ( ref.next() != ref ) && ( ref = ref.next() ) != null );
            }
            else {
                log.debug("No ref");
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

                int type = this.file.getType();
                int r, n;
                int blockSize = ( type == SmbConstants.TYPE_FILESYSTEM ) ? this.readSizeFile : this.readSize;
                do {
                    r = len > blockSize ? blockSize : len;
    
                    if ( log.isTraceEnabled() ) {
                        log.trace("read: len=" + len + ",r=" + r + ",fp=" + this.fp + ",b.length=" + b.length);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue("Browsing unsupported", false);
            }
        }
    
    
        @Test
        public void testBrowseDomainNetbios () throws MalformedURLException, CIFSException {
    
            // only do this if a WINS server is enabled
            getRequiredProperty("jcifs.netbios.wins");
    
            CIFSContext bctx = withAnonymousCredentials();
    
            // ensure that the domain name gets resolved through WINS so that
    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)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */ 
    
        int encode( byte[] dst, int dstIndex ) {
            int start = headerStart = dstIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * </blockquote></pre>
     * <p> The hostname of this machine is <code>JMORRIS2</code>. It is
     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *   InetAddress addr = NbtAddress.getByName( "jmorris2" ).getInetAddress();
     * </pre>
     * <p>From a UNIX platform with Samba installed you can perform similar
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
Back to top