- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for OVERHEAD (7.13 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @Test @DisplayName("Should initially have zero data length") void testInitialDataLength() { // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertArrayEquals(newFileId, Arrays.copyOfRange(buffer, 16, 32)); } @Test @DisplayName("Should maintain constant overhead") void testOverheadConstant() { assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD); } @Test @DisplayName("Should handle boundary conditions") void testBoundaryConditions() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test OVERHEAD constant value") void testOverheadConstant() { assertEquals(72, Smb2QueryDirectoryResponse.OVERHEAD); assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, Smb2QueryDirectoryResponse.OVERHEAD); } @Test @DisplayName("Test readBytesWireFormat with buffer boundary conditions")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
outputBufferLengthField.setAccessible(true); int actualOutputBufferLength = (int) outputBufferLengthField.get(request); int expectedLength = (Math.min(65536, 65536) - Smb2QueryInfoResponse.OVERHEAD) & ~0x7; assertEquals(expectedLength, actualOutputBufferLength); } catch (Exception e) { throw new RuntimeException(e); } } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
this.maxReadSize = Math.min(maxBufferSize - Smb2ReadResponse.OVERHEAD, Math.min(tc.getConfig().getReceiveBufferSize(), this.maxReadSize)) & ~0x7; this.maxWriteSize = Math.min(maxBufferSize - Smb2WriteRequest.OVERHEAD, Math.min(tc.getConfig().getSendBufferSize(), this.maxWriteSize)) & ~0x7;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test OVERHEAD constant value") void testOverheadConstant() { assertEquals(72, Smb2QueryInfoResponse.OVERHEAD); assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, Smb2QueryInfoResponse.OVERHEAD); } @ParameterizedTest @CsvSource({ "1, 6", // SMB2_0_INFO_FILE, FILE_INTERNAL_INFO
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
System.out.printf(" Avg release time: %.2f ns%n", avgReleaseTimeNs); // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead) assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)"); assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
README.md
- **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications - **Java 21 features** - Switch expressions and pattern matching for reduced overhead ## 🧪 Building and Testing ### Development Setup ```bash # Clone the repository git clone https://github.com/codelibs/corelib.git cd corelib # Compile the project mvn clean compile
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
/** * A high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances. * <p> * This class provides efficient encryption/decryption by pooling and reusing cipher instances, * reducing the overhead of repeated cipher initialization. It supports both string-based keys * and {@link Key} objects, with configurable algorithms and character encodings. * </p> * <p> * <strong>Key Features:</strong> * </p> * <ul>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
*/ int getListCount(); /** * * Property {@code jcifs.smb.client.listSize} (int, default 65435) * * @return maximum data size for list/info requests (known overhead is subtracted) */ int getListSize(); /** * * * Property {@code jcifs.smb.client.attrExpirationPeriod} (int, 5000) * * @return timeout of file attribute cacheRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)