- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 129 for calculating (0.07 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// Negative values will be cast to unsigned when encoded assertEquals(4 + 2 * path.length(), buffer.size()); } } @Nested @DisplayName("Size Calculation Tests") class SizeTests { @ParameterizedTest @DisplayName("Should calculate correct size for various path lengths")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects); assertNotNull(request); } @Test @DisplayName("Test size calculation with multiple dialects") void testSizeWithMultipleDialects() { ValidateNegotiateInfoRequest request =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
@DisplayName("Test setFileName method with null") void testSetFileNameNull() { request = new Smb2QueryDirectoryRequest(mockConfig); request.setFileName(null); // Verify size calculation doesn't include filename int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; assertEquals(((expectedSize + 7) & ~7), request.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
} } // Integration test with actual MD5 to verify HMAC calculation logic @Test void testHMACT64WithActualMD5() throws NoSuchAlgorithmException { // This test uses a real MD5 instance to verify the HMAC calculation logic // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
SmbComTransaction result = transaction.nextElement(); assertSame(transaction, result); } @Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.6.md
will be enforced on all pods by default. To opt-out set `--enforce-node-allocatable=””` * Hard Eviction Thresholds will be subtracted from Capacity while calculating Node Allocatable. This will result in a reduction of schedulable capacity in clusters post upgrade where kubelet hard eviction has been turned on for
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 304K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When boolean isCancel = request.isCancel(); // Then assertTrue(isCancel, "Should identify itself as a cancel request"); } @Test @DisplayName("Test size calculation") void testSize() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When int size = request.size(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.33.md
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Aug 13 19:46:23 UTC 2025 - 294.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
Encodable mockInfo = mock(Encodable.class); when(mockInfo.size()).thenReturn(100); request.setInfo(mockInfo); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size()) // size8 rounds up to nearest multiple of 8 int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)