- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for KiB (0.06 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceAccessorTest.groovy
inputStream.read(new byte[1024]) "result" } 1 * context.progress(1562, 4096, 'bytes', '1.5 KiB/4 KiB downloaded') 1 * context.progress(3162, 4096, 'bytes', '3 KiB/4 KiB downloaded') 1 * context.progress(4096, 4096, 'bytes', '4 KiB/4 KiB downloaded') 0 * context.progress(_) } def "fires complete event when action complete with partially read stream"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 12:31:19 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ResourceOperationTest.groovy
when: operation.logProcessedBytes(512 * 1) operation.logProcessedBytes(512 * 2) then: 1 * context.progress(1024, 10240, "bytes", "1 KiB/10 KiB downloaded") 1 * context.progress(2048, 10240, "bytes", "2 KiB/10 KiB downloaded") 0 * context.progress(_) } def "last chunk of bytes <1KiB is not logged"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/NumberUtilTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy
then: ConcurrentTestUtil.poll { outputContainsProgress(build, "> :resolve > Resolve dependencies of :compile", "> one-1.2.pom > 1 KiB/2 KiB downloaded", "> two-1.2.pom > 1 KiB/2 KiB downloaded" ) } when: getM1Pom.release() getM2Pom.release() jars.waitForAllPendingCalls() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/DaemonHealthStatsTest.groovy
runningStats.getAllBuildsTime() >> 1000 then: healthStats.healthInfo == "[uptime: 3 mins, performance: 98%, GC rate: 1.00/s, heap usage: 10% of 1 KiB, non-heap usage: 50% of 2 KiB]" } def "handles no garbage collection data"() { when: gcInfo.getCollectionTime() >> 25 runningStats.getPrettyUpTime() >> "3 mins"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java
return 0; } float out = fraction * 100.0f / total; return (int) out; } /** * Formats bytes, e.g. 1010 -> 1010 B, -1025 -> -1 KiB, 1127 -> 1.1 KiB */ public static String formatBytes(@Nullable Long bytes) { if (bytes == null) { return "unknown size"; } else if (bytes < 0) { return "-" + formatBytes(-bytes);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceUploaderTest.groovy
assert stream.read(new byte[1024]) == 48 } 1 * inputStream.read(_, 0, 1024) >> 1024 1 * inputStream.read(_, 0, 1024) >> 48 1 * context.progress(1024, 1072, "bytes", "1 KiB/1 KiB uploaded") 0 * context.progress(_) } def "uploads empty file"() { setup: expectPutBuildOperation(0) when: uploader.upload(resource, location)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 12:31:19 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishConsoleIntegrationTest.groovy
putModule.waitForAllPendingCalls() then: ConcurrentTestUtil.poll { RichConsoleStyling.assertHasWorkInProgress(build, "> :publishMavenPublicationToMavenRepository > test-1.2.module > 1.8 KiB/1.8 KiB uploaded") } when: putModule.releaseAll() getMetaData.waitForAllPendingCalls() then: ConcurrentTestUtil.poll {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/extern.go
to change, but currently it is: scav # KiB work (bg), # KiB work (eager), # KiB total, #% util where the fields are as follows: # KiB work (bg) the amount of memory returned to the OS in the background since the last line # KiB work (eager) the amount of memory returned to the OS eagerly since the last line # KiB now the amount of address space currently returned to the OS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
m.readsKBPerSec = float64(ioStats.ReadSectors) * float64(sectorSize) / kib / durationSecs if ioStats.ReadIOs > 0 { m.readsAwait = float64(ioStats.ReadTicks) / float64(ioStats.ReadIOs) } m.writesPerSec = float64(ioStats.WriteIOs) / durationSecs m.writesKBPerSec = float64(ioStats.WriteSectors) * float64(sectorSize) / kib / durationSecs if ioStats.WriteIOs > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0)