- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 150 for calculating (0.06 seconds)
-
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 bytesCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
internal/config/storageclass/help.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 26 22:06:19 GMT 2024 - 1.8K bytes - Click Count (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 alignedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (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;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (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(); // ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
* of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM). * * <p>This calculation is only a heuristic based on our conventions. * In detail, the algo relies on the following assumptions: <ul> * <li>The parent uses aggregation and refers to the child via the modules section</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
internal/bucket/bandwidth/measurement.go
return } duration := endTime.Sub(m.startTime) bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0) if m.expMovingAvg == 0 { // Should address initial calculation and should be fine for resuming from 0 m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds() return } increment := float64(bytesSinceLastWindow) / duration.Seconds()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jun 03 20:41:51 GMT 2023 - 2.9K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
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 */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0)