- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for calculate (0.05 sec)
-
src/main/java/jcifs/pac/PacMac.java
/** * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm. * 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
/** * Calculate average send latency in microseconds * * @return average send latency */ public double getAverageSendLatencyMicros() { long sends = rdmaSends.get(); if (sends == 0) { return 0.0; } return totalSendTime.get() / (double) sends / 1000.0; // Convert to microseconds } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
@Test @DisplayName("Should calculate size for null ciphers") void testSizeWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty ciphers") void testSizeWithEmptyCiphers() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
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/util/CryptoTest.java
import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@Test @DisplayName("Should calculate size correctly with no data") void testSizeWithNoData() { request.setData(new byte[0], 0, 0); int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8; assertEquals(expectedSize, request.size()); } @Test @DisplayName("Should calculate size correctly with data")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@Test @DisplayName("Should calculate size for null hash algorithms and salt") void testSizeWithNullHashAlgosAndSalt() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty arrays")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0)