- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for memoryAmounts (0.26 sec)
-
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java
long bytes = kiloBytes * KILO_FACTOR; return new MemoryAmount(bytes, bytes + "k"); } public static MemoryAmount ofMegaBytes(long megaBytes) { long bytes = megaBytes * MEGA_FACTOR; return new MemoryAmount(bytes, bytes + "m"); } public static MemoryAmount ofGigaBytes(long gigaBytes) { long bytes = gigaBytes * GIGA_FACTOR;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MaximumHeapHelperTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemoryAmountTest.groovy
when: MemoryAmount.parseNotation('invalid') then: thrown IllegalArgumentException } def "of kilo mega giga tera bytes"() { expect: MemoryAmount.ofKiloBytes(23) == MemoryAmount.of('23k') MemoryAmount.ofMegaBytes(23) == MemoryAmount.of('23m') MemoryAmount.ofGigaBytes(23) == MemoryAmount.of('23g')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy
long requestedMemory = Jvm.current().isIbmJvm() ? MemoryAmount.parseNotation("512m") : MemoryAmount.ofGigaBytes(1).bytes given: reportsMemoryUsage = false def client1 = reserveNewClient(defaultOptions) def client2 = reserveNewClient(defaultOptions) and: clientsManager.release(client1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/DefaultMemoryManagerTest.groovy
given: def windowsMemoryInfo = new TestWindowsOsMemoryInfo() windowsMemoryInfo.totalMemory = MemoryAmount.of('8g').bytes windowsMemoryInfo.freeMemory = MemoryAmount.of('7g').bytes windowsMemoryInfo.totalVirtual = MemoryAmount.of('12g').bytes windowsMemoryInfo.freeVirtual = MemoryAmount.of('6g').bytes def memoryManager = newMemoryManager(windowsMemoryInfo) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 23:56:19 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/WindowsOSMemoryInfoTest.groovy
then: 1 * info.getTotalPhysicalMemory() >> MemoryAmount.ofGigaBytes(32).bytes 1 * info.getAvailablePhysicalMemory() >> MemoryAmount.ofGigaBytes(16).bytes 2 * info.getCommitLimit() >> MemoryAmount.ofGigaBytes(64).bytes 1 * info.getCommitTotal() >> MemoryAmount.ofGigaBytes(48).bytes and: snapshot.getPhysicalMemory().getTotal() == MemoryAmount.ofGigaBytes(32).bytes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 23:56:19 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcessBuilder.java
this.delegate = delegate; this.memoryResourceManager = memoryResourceManager; this.memoryAmount = memoryAmount; } @Override public WorkerProcess start() { memoryResourceManager.requestFreeMemory(memoryAmount); return delegate.start(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MaximumHeapHelper.java
if (isIbmJvm()) { long totalMemoryHalf = osTotalMemory / 2; long halfGB = MemoryAmount.parseNotation("512m"); return totalMemoryHalf > halfGB ? halfGB : totalMemoryHalf; } long totalMemoryFourth = osTotalMemory / 4; long oneGB = MemoryAmount.parseNotation("1g"); switch (getJvmBitMode()) { case 32:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonExpiration.java
import org.gradle.api.Transformer; import org.gradle.api.logging.Logger; import org.gradle.api.logging.Logging; import org.gradle.process.internal.health.memory.MaximumHeapHelper; import org.gradle.process.internal.health.memory.MemoryAmount; import org.gradle.process.internal.health.memory.MemoryHolder; import java.util.ArrayList; import java.util.List; public class WorkerDaemonExpiration implements MemoryHolder {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 5.1K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
e:tr.v.d.GenericSet},IS_REFERENCE_BUILD:{name:'isReferenceBuild',type:tr.v.d.GenericSet},LABELS:{name:'labels',type:tr.v.d.GenericSet},LOG_URLS:{name:'logUrls',type:tr.v.d.GenericSet},MASTERS:{name:'masters',type:tr.v.d.GenericSet},MEMORY_AMOUNTS:{name:'memoryAmounts',type:tr.v.d.GenericSet},OS_NAMES:{name:'osNames',type:tr.v.d.GenericSet},OS_VERSIONS:{name:'osVersions',type:tr.v.d.GenericSet},OWNERS:{name:'owners',type:tr.v.d.GenericSet},POINT_ID:{name:'pointId',type:tr.v.d.GenericSet},PRODUCT_...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)