- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 155 for calculation (0.14 sec)
-
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()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K 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 Dec 28 19:28:13 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/signature-v2.go
"sort" "strconv" "strings" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/auth" ) // Whitelist resource list that will be used in query string for signature-V2 calculation. // // This list should be kept alphabetically sorted, do not hastily edit. var resourceList = []string{ "acl", "cors", "delete", "encryption", "legal-hold", "lifecycle", "location",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
void testSizeWithoutInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40) // size8 rounds up to nearest multiple of 8 int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
*/ fun Project.trimmedContentsOfFile(path: String): Provider<String> = providers.fileContents(repoRoot().file(path)).asText.map { it.trim() } // TODO Simplify the buildTimestamp() calculation if possible fun Project.buildTimestamp(): Provider<String> = providers.of(BuildTimestampValueSource::class) { parameters { buildTimestampFromBuildReceipt = buildTimestampFromBuildReceipt()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
.size()); // Almost force an overflow in the binomial coefficient calculation assertEquals( 1391975640 /*C(34,14)*/, Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size()); // Do force an overflow in the binomial coefficient calculation assertEquals( Integer.MAX_VALUE,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
* lifecycle at all, in which case we wouldn't be needing this class at all ( and * ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation * of the execution plan instead, which seems much nicer. * </p> * <p> * Additionally this class contains a clone of the MavenSession, which is *only* needed * because it has as notion of a "current" project.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0)