- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 129 for calculation (0.2 sec)
-
src/main/java/jcifs/pac/PacMac.java
* This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum. * * @param keyusage the Kerberos key usage number for this operation * @param key the encryption key to use for MAC calculation * @param data the data to calculate the MAC for * @return the calculated MAC bytes * @throws GeneralSecurityException if cryptographic operations fail */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K 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/fscc/SmbInfoAllocationTest.java
assertEquals(20, bytesDecoded); // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect long expectedCapacity = alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity()); // Verify free space calculation: free * sectPerAlloc * bytesPerSect long expectedFree = free * sectPerAlloc * bytesPerSect;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.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 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) -
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) -
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) -
cmd/signature-v4-utils.go
case "content-length": // Signature-V4 spec excludes Content-Length from signed headers list for signature calculation. // But some clients deviate from this rule. Hence we consider Content-Length for signature // calculation to be compatible with such clients. extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10)) default: return nil, ErrUnsignedHeaders
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 25 17:10:22 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/config/README.md
scanner manage namespace scanning for usage calculation, lifecycle, healing and more ``` > NOTE: if you set any of the following sub-system configuration using ENVs, dynamic behavior is not supported. ### Usage scanner
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.1K bytes - Viewed (1) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertEquals(8, emptyContext.size()); // Minimum size assertFalse(emptyContext.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77)); } @Test @DisplayName("Test context size calculation") public void testContextSize() { int expectedSize = 8 + (3 * 2); // Header + 3 algorithms * 2 bytes each assertEquals(expectedSize, context.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
void testConstructorWithNameOnly() { // Test with simple pipe name String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); // Verify size calculation int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length; assertEquals(expectedSize, request.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)