Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 675 for smb (0.01 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

    package jcifs.smb;
    
    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;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertSame;
    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.argThat;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.lenient;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *                 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Security mode with signing required
            int testSecurityMode = 0x0003; // SMB2_NEGOTIATE_SIGNING_ENABLED | SMB2_NEGOTIATE_SIGNING_REQUIRED
    
            // SMB 3.1.1 dialect
            int testDialect = 0x0311;
    
            // Write to buffer
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

        }
    
        @Test
        void testSMBHeader() {
            assertNotNull(SMBUtil.SMB_HEADER);
            assertEquals(24, SMBUtil.SMB_HEADER.length);
    
            // Verify SMB header signature
            assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_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/pac/PacLogonInfoTest.java

    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Unit tests for PacLogonInfo class.
     * Tests the parsing and data extraction from PAC Logon Info structures.
     */
    class PacLogonInfoTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SimpleCircuitBreaker.java

    import java.util.concurrent.atomic.AtomicLong;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Simplified circuit breaker implementation for SMB operations.
     * Thread-safe and lock-free implementation to prevent cascading failures.
     *
     * Features:
     * - Simple state management (CLOSED, OPEN, HALF_OPEN)
     * - Lock-free atomic operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_DELEGATE, impLevel);
        }
    
        @Test
        @DisplayName("Test SMB create flags setter")
        void testSetSmbCreateFlags() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            long flags = 0x1234567890ABCDEFL;
            request.setSmbCreateFlags(flags);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top