- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for calculating (0.07 sec)
-
src/main/java/jcifs/pac/PacMac.java
import javax.crypto.Cipher; import javax.crypto.Mac; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import javax.security.auth.kerberos.KerberosKey; /** * Utility class for calculating and verifying PAC (Privilege Attribute Certificate) message authentication codes. * This class provides methods for computing MACs using various Kerberos encryption types including * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
/** * Calculates a Message Integrity Code (MIC) for the given data. * @param data the data to calculate MIC for * @return MIC * @throws CIFSException if an error occurs calculating the MIC */ byte[] calculateMIC(byte[] data) throws CIFSException; /** * Verifies a Message Integrity Code (MIC) for the given data. * @param data the data to verifyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
return dataset[positionFloor] + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]); } } }, /** * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch. */ QUICKSELECT { @Override double singleQuantile(int index, int scale, double[] dataset) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
* * This class provides pagination functionality for displaying stemmer override * dictionary entries in the administrative interface. It manages page state, * navigation controls, and provides methods for calculating page boundaries * and navigation elements. */ public class StemmerOverridePager implements Serializable { private static final long serialVersionUID = 1L;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertEquals(100, info.sectPerAlloc); assertEquals(512, info.bytesPerSect); assertEquals(1000L * 100 * 512, info.getCapacity(), "Capacity calculation should be correct"); assertEquals(500L * 100 * 512, info.getFree(), "Free space calculation should be correct"); } /** * Tests the readDataWireFormat method with the SMB_QUERY_FS_SIZE_INFO information level. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
import java.time.LocalDateTime; import java.time.ZonedDateTime; import java.util.Collection; import java.util.Date; import java.util.Map; import java.util.Objects; /** * Utility class for memory operations and size calculations. */ public final class MemoryUtil { private MemoryUtil() { } /** * Gets a formatted memory usage log string. * * @return formatted memory usage information */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
// This can occur due to padding alignment differences between size8() and pad8() if (log.isDebugEnabled()) { log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp); } } return len; } /** * {@inheritDoc} *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
assertNotNull(e.getMessage()); } @Test void testMockedSuccessfulParsing() throws PACDecodingException, IOException { // Test with mocked PacMac to avoid complex signature calculation try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) { // Mock the calculateMac method to return a valid checksum byte[] mockChecksum = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
/** * Sent by the server in the Type 2 message to indicate that it is * including a Target Information block in the message. The Target * Information block is used in the calculation of the NTLMv2 response. */ int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000; /** * Indicates that the NTLM version is included in the message. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)