- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 110 for calculating (0.06 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.25.md
- Allow Label section in vsphere e2e cloudprovider configuration ([#112478](https://github.com/kubernetes/kubernetes/pull/112478), [@gnufied](https://github.com/gnufied)) [SIG Storage and Testing] - Correct the calculating error in podTopologySpread plugin to avoid unexpected scheduling results. ([#112531](https://github.com/kubernetes/kubernetes/pull/112531), [@kerthcet](https://github.com/kerthcet)) [SIG Scheduling]
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Mon May 06 09:23:20 UTC 2024 - 419.1K 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 bytesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertEquals(2500L * 16 * 1024, fileFsFullSizeInfo.getFree()); } } @Nested @DisplayName("Capacity and Free Space Calculation Tests") class CapacityCalculationTests { @Test @DisplayName("Should calculate capacity correctly") void shouldCalculateCapacityCorrectly() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K 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()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K 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 alignedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K 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(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.33.md
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Dec 10 01:15:24 UTC 2025 - 334.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)