Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 997 for smb2 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.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.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

    ```java
    // In PropertyConfiguration.java
    public static final String USE_WITNESS = "jcifs.smb.client.useWitness";
    public static final String WITNESS_HEARTBEAT_TIMEOUT = "jcifs.smb.client.witnessHeartbeatTimeout";
    public static final String WITNESS_REGISTRATION_TIMEOUT = "jcifs.smb.client.witnessRegistrationTimeout";
    public static final String WITNESS_RECONNECT_DELAY = "jcifs.smb.client.witnessReconnectDelay";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.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.internal.smb2.rdma;
    
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.util.EnumSet;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test SMB2 buffer size validation")
        void testSmb2BufferSize() {
            assertDoesNotThrow(() -> InputValidator.validateSmb2BufferSize(1000000L, "test"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle SMB 3.0 dialect")
        void testSMB300Dialect() {
            // When
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB300, testEncryptionKey, testDecryptionKey);
    
            // Then
            assertEquals(DialectVersion.SMB300, context.getDialect(), "Should support SMB 3.0 dialect");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertNotNull(SMBUtil.SMB2_HEADER);
            // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
            assertEquals(68, SMBUtil.SMB2_HEADER.length);
    
            // Verify SMB2 header signature
            assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        private void setStatus(ServerMessageBlock2 smb, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(smb, status);
        }
    
        private void setAsync(ServerMessageBlock2 smb, boolean async) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

    package jcifs.internal.smb2;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
Back to top