Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 267 for SMALL (0.03 sec)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

        @Test
        void testEngineDigestWithInsufficientBuffer() {
            // Test engineDigest with buffer too small
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
            byte[] buffer = new byte[10];
            // Should throw exception when buffer is too small
            assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            byte[] buffer = new byte[4];
    
            // Set error code to 0
            setErrorCode(response, 0);
    
            // ArrayIndexOutOfBoundsException is thrown when buffer is too small
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, buffer.length);
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/ne.css

        font-family: Verdana, sans-serif;
        font-size: 10pt
    }
    body {
        font-family: Verdana, sans-serif;
        font-size: 10pt;
        background-color: #ffffff;
        margin-top: 0;
        margin-left: 5
    }
    small {
        font-size: 8pt
    }
    big {
        font-size: 14pt
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ServerResponseValidator.java

                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
                log.warn("Response buffer too small: {} < {}", buffer.length, expectedSize);
                throw new SmbException("Response buffer too small: " + buffer.length + " < " + expectedSize);
            }
    
            if (buffer.length > maxSize) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small")
        void testWriteBytesWireFormatBufferTooSmall() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[3]; // Too small for 4 bytes
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small for reading")
        void testReadBytesWireFormatBufferTooSmall() {
            // Given
            byte[] buffer = new byte[1]; // Too small to read structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertTrue(labelSet.contains("label1"));
            assertTrue(labelSet.contains("label2"));
        }
    
        public void test_store_triggersIndexing_whenCacheSizeExceeded() {
            // Set small cache size
            indexUpdateCallback.maxDocumentCacheSize = 1;
    
            DataStoreParams paramMap = new DataStoreParams();
    
            // Add first document - should trigger indexing because cache size is 1
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. .github/CONTRIBUTING.md

    - Favour a working external library if appropriate.  There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs.
    - Get working code on a personal branch with tests before you submit a PR.
    - OkHttp is a small and light dependency.  Don't introduce new dependencies or major new functionality.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        @Test
        @DisplayName("Test writeParametersWireFormat with small buffer throws ArrayIndexOutOfBoundsException")
        void testWriteParametersWireFormatSmallBuffer() {
            String domain = "DOMAIN";
            netServerEnum2 = new NetServerEnum2(realConfig, domain, NetServerEnum2.SV_TYPE_ALL);
    
            // Test with very small buffer
            byte[] dst = new byte[10]; // Too small for the full parameters
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top