- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for TYPE_SHARE (0.34 sec)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
"3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe "0, " + SmbConstants.TYPE_SHARE, // Standard share "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share "100, " + SmbConstants.TYPE_SHARE // Unknown type defaults to share })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertNull(entries[0].getName()); assertEquals(8, entries[0].getType()); // TYPE_SHARE constant value assertInstanceOf(SmbShareInfo.class, entries[1]); assertEquals("valid_share", entries[1].getName()); assertEquals(8, entries[1].getType()); // TYPE_SHARE constant value } @Test @DisplayName("DCE/RPC flags should be set correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Named pipe for IPC$ root assertEquals(SmbConstants.TYPE_NAMED_PIPE, locator("smb://server/IPC$/").getType()); // Share when share set but no path assertEquals(SmbConstants.TYPE_SHARE, locator("smb://server/share/").getType()); // Workgroup when no authority assertEquals(SmbConstants.TYPE_WORKGROUP, locator("smb:///").getType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x01, SmbConstants.TYPE_FILESYSTEM); assertEquals(0x02, SmbConstants.TYPE_WORKGROUP); assertEquals(0x04, SmbConstants.TYPE_SERVER); assertEquals(0x08, SmbConstants.TYPE_SHARE); assertEquals(0x10, SmbConstants.TYPE_NAMED_PIPE); assertEquals(0x20, SmbConstants.TYPE_PRINTER); assertEquals(0x40, SmbConstants.TYPE_COMM); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Returns the length of this <code>SmbResource</code> in bytes. If this object * is a <code>TYPE_SHARE</code> the total capacity of the disk shared in * bytes is returned. If this object is a directory or a type other than * <code>TYPE_SHARE</code>, 0L is returned. * * @return The length of the file in bytes or 0 if this * <code>SmbResource</code> is not a file.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
if (getShare().equals("IPC$")) { this.type = SmbConstants.TYPE_NAMED_PIPE; } else { this.type = SmbConstants.TYPE_SHARE; } } else if (this.url.getAuthority() == null || this.url.getAuthority().isEmpty()) { this.type = SmbConstants.TYPE_WORKGROUP; } else { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
return SmbConstants.TYPE_PRINTER; } if ("COMM".equals(connectedService)) { return SmbConstants.TYPE_COMM; } return SmbConstants.TYPE_SHARE; } /** * @return the service */ public String getService() { return this.service; } /** * @return the share */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int TYPE_SERVER = 0x04; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a share. */ int TYPE_SHARE = 0x08; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a named pipe. */ int TYPE_NAMED_PIPE = 0x10; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } } } final String hostName = loc.getServerWithDfs(); final String path = loc.getType() == SmbConstants.TYPE_SHARE || loc.getUNCPath() == null || "\\".equals(loc.getUNCPath()) ? null : loc.getUNCPath(); String share = loc.getShare();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)