- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 468 for SMB1 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for the {@link SmbComReadAndXResponse} class. */ public class SmbComReadAndXResponseTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import jcifs.smb1.util.Hexdump; class Trans2FindNext2 extends SmbComTransaction { private final int sid, informationLevel; private int resumeKey; private final int flags; private String filename;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; /** * DOS-style file filter implementation for SMB1 protocol. * Filters files based on wildcard patterns and DOS file attributes. */ public class DosFileFilter implements SmbFileFilter { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 COM_SET_INFORMATION command implementation. * * This command sets file attributes and last write time for a file or directory. * * @author mbechler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Write Response message. * * This response contains information about the write operation, * including the number of bytes that were written to the file.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import jcifs.smb1.Config; /** * Buffer cache implementation for SMB1 protocol operations. * Manages a pool of byte buffers to reduce garbage collection overhead. * * Performance optimizations: * - Uses ConcurrentLinkedQueue for O(1) operations
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
import jcifs.CIFSContext; import jcifs.SmbConstants; import jcifs.SmbPipeHandle; import jcifs.SmbPipeResource; import jcifs.context.SingletonContext; import jcifs.internal.smb1.com.SmbComNTCreateAndX; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; @ExtendWith(MockitoExtension.class) class SmbNamedPipeTest { // Creates a minimal valid CIFS context that does not perform I/O by itself
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
} /** * Test that SMB1 is disabled by default */ @Test public void testSMB1Disabled() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // SMB1 versions should not be allowed assertTrue("SMB1 should be disabled", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
totalValidations.incrementAndGet(); // Check SMB1 signature if (protocolId == 0x424D53FF) { // 0xFF 'S' 'M' 'B' // SMB1 if (structureSize < 32 || structureSize > 65535) { failedValidations.incrementAndGet(); throw new SmbException("Invalid SMB1 header size: " + structureSize); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)