Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stripPathConsumed (0.1 sec)

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

                }
    
    
                @Override
                public String getServer () {
                    return getTestServer();
                }
    
    
                @Override
                public void stripPathConsumed ( int i ) {}
            };
            dfs.cache(context, "\\" + hostname + "\\" + root + path, dr);
            DfsReferralData ref = dfs.resolve(context, hostname, root, path);
            assertNotNull(ref);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            dri.next = this.next;
            this.next = dri;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.dfs.DfsReferralDataInternal#stripPathConsumed(int)
         */
        @Override
        public void stripPathConsumed ( int i ) {
            if ( i > this.pathConsumed ) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                            ( (DfsReferralDataImpl) dr ).fixupDomain(domain);
                        }
    
                        dr.stripPathConsumed(1 + domain.length() + 1 + root.length());
    
                        if ( dr.getPathConsumed() > ( path != null ? path.length() : 0 ) ) {
                            log.error("Consumed more than we provided");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top