- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getPathConsumed (0.14 sec)
-
src/test/java/jcifs/tests/DfsTest.java
assertEquals(dfsTestSharePath.length() - 1, ref.getPathConsumed()); DfsReferralData ref2 = doResolve(dfsTestSharePath, "", true, true); assertNotNull(ref2); assertEquals(getTestDfsTargetServer().toLowerCase(Locale.ROOT), ref2.getServer().toLowerCase(Locale.ROOT)); assertEquals(dfsTestSharePath.length() - 1, ref2.getPathConsumed()); } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare()) && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed()); } /** * @param ref * @param reqPath * @param expire * @param consumed * @return referral data */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
private int pathConsumed; private int numReferrals; private int tflags; private Referral[] referrals; /** * @return the pathConsumed */ public final int getPathConsumed () { return this.pathConsumed; } /** * @return the numReferrals */ public final int getNumReferrals () { return this.numReferrals; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
* @return the share this referral points to */ String getShare (); /** * @return the number of characters from the unc path that were consumed by this referral */ int getPathConsumed (); /** * @return the replacement path for this referal */ String getPath (); /** * @return the expiration time of this entry */ long getExpiration ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
return this.share; } /** * {@inheritDoc} * * @see jcifs.DfsReferralData#getPathConsumed() */ @Override public int getPathConsumed () { return this.pathConsumed; } /** * {@inheritDoc} * * @see jcifs.DfsReferralData#getPath()
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
if ( Objects.equals(this.dfsReferral, dr) ) { return this.unc; } this.dfsReferral = dr; String oldUncPath = getUNCPath(); int pathConsumed = dr.getPathConsumed(); if ( pathConsumed < 0 ) { log.warn("Path consumed out of range " + pathConsumed); pathConsumed = 0; } else if ( pathConsumed > this.unc.length() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Referral[] refs = dfsResp.getReferrals(); for ( int di = 0; di < rn; di++ ) { DfsReferralDataImpl dr = DfsReferralDataImpl.fromReferral(refs[ di ], path, expiration, dfsResp.getPathConsumed()); dr.setDomain(targetDomain); if ( ( dfsResp.getTflags() & 0x2 ) == 0 && ( dr.getFlags() & 0x2 ) == 0 ) { log.debug("Non-root referral is not final " + dfsResp);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0)