Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConcurrentNonceGeneration (2.1 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then
            assertEquals(count, nonceSet.size(), "All generated nonces should be unique");
        }
    
        @Test
        @DisplayName("Should generate unique nonces in concurrent environment")
        void testConcurrentNonceGeneration() throws InterruptedException {
            // Given
            int threadCount = 10;
            int noncesPerThread = 1000;
            ConcurrentHashMap<String, Integer> nonceMap = new ConcurrentHashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top