- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for calculation (0.05 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
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) -
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull String getFileExtension(); /** * Each invocation of this method returns a new instance of calculator, never {@code null} value. */ @Nonnull ChecksumCalculator getCalculator(); } /** * The checksum calculator. */ interface ChecksumCalculator { /** * Updates the checksum algorithm inner state with input.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
log.Println("FAILED: GET", objFullPath(object), "=>", err) failedMD5 = true break } h := md5.New() if _, err := io.Copy(h, obj); err != nil { log.Println("FAILED: MD5 calculation error:", objFullPath(object), "=>", err) failedMD5 = true break } partsMD5Sum = append(partsMD5Sum, h.Sum(nil)) } if failedMD5 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/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 128-bit encryption is supported. */ int NTLMSSP_NEGOTIATE_128 = 0x20000000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0)