- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for overlaps (0.08 sec)
-
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
/** * Determines whether this resource path overlaps with another resource path by sharing a common root. * * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} /** * * {@inheritDoc} * * @see jcifs.smb.SmbResourceLocatorInternal#overlaps(jcifs.SmbResourceLocator) */ @Override public boolean overlaps(final SmbResourceLocator other) throws CIFSException { final String tp = getCanonicalURL(); final String op = other.getCanonicalURL();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* It is invalid for the source path to be a child of the destination * path or visa versa. */ if (this.fileLocator.overlaps(dest.getLocator())) { throw new SmbException("Source and destination paths overlap."); } final WriterThread w = new WriterThread(); w.setDaemon(true); try { w.start();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password)); byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password); // Assert: overloads consistent assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key"); // Changing domain should change the key (domain is part of MAC input) byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/FileNotifyInformationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertEquals(0x0002, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, "Signing required flag must be 0x0002"); } @Test @DisplayName("Signing flags should not overlap") void testSigningFlagsNoOverlap() { assertNotEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, "Signing flags must be distinct");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertNotEquals(attributes[i], attributes[j], "Attributes should have distinct values"); assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns"); } } } @Test @DisplayName("Should have resource types with power-of-2 values") void testResourceTypeBitPatterns() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] outputBytes, int ioctlFlags) { final int headerLen = 64; // SMB2 header is 64 bytes final int bodyFixed = 48; // body size minus 1 for structure size field overlap final int payloadStart = headerLen + bodyFixed; final int bodyLen = bodyFixed + inputCount + outputCount; byte[] buf = new byte[bodyLen]; int pos = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals(2, resolvedFirst.length); assertEquals("user1", ((SID) resolvedFirst[0]).acctName); assertEquals("user2", ((SID) resolvedFirst[1]).acctName); // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached // Mark s3 unresolved to force resolve of one element doAnswer(inv -> { SID[] toResolve = inv.getArgument(2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
&& canon.regionMatches(true, 0, dest.canon, 0, Math.min(canon.length(), dest.canon.length()))) { throw new SmbException("Source and destination paths overlap."); } } catch (final UnknownHostException uhe) {} w = new WriterThread(); w.setDaemon(true); w.start();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)