- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for max_memory (0.28 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategyTest.groovy
private static final long MAX_MEMORY = 16 * ONE_GIG private final OsMemoryStatus mockMemoryStatus = Mock(OsMemoryStatus) def "minimum threshold is enforced"() { given: def expirationStrategy = new LowMemoryDaemonExpirationStrategy(0) when: 1 * mockMemoryStatus.physicalMemory >> { new DefaultAvailableOsMemoryStatusAspect("physical", MAX_MEMORY, ONE_GIG) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/windows/platform-windows.c
#include "platform.h" const char* platform_name = "Windows"; int max_path_length() { return 260; } // 640K ought to be enough for anybody. unsigned long long max_memory() { return KB(640); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 229 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/linux/platform-linux.c
#include "platform.h" const char* platform_name = "Linux"; int max_path_length() { return -1; } unsigned long long max_memory() { return TB(128); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 186 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/mac/platform-mac.c
#include "platform.h" const char* platform_name = "MacOSX"; int max_path_length() { return 1024; } unsigned long long max_memory() { return GB(96); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 188 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c
printf("Is Posix like? %s\n", is_posix_like()?"true":"false"); printf("Max Path Length: %d bytes\n", max_path_length()); printf("Max memory supported: %llu Kbytes\n", max_memory()); return 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 348 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/headers/platform.h
#ifndef PLATFORM_H #define PLATFORM_H extern const char* platform_name; int max_path_length(); unsigned long long max_memory(); int is_posix_like(); #define KB(x) x #define MB(x) KB(x)*1024 #define GB(x) MB(x)*1024 #define TB(x) GB(x)*1024
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 267 bytes - Viewed (0) -
src/mime/multipart/formdata.go
// unconfigurable 10 MB added on to maxMemory, is unfortunate but difficult to change // within the constraints of the API as documented. maxFileMemoryBytes := maxMemory if maxFileMemoryBytes == math.MaxInt64 { maxFileMemoryBytes-- } maxMemoryBytes := maxMemory + int64(10<<20) if maxMemoryBytes <= 0 { if maxMemory < 0 { maxMemoryBytes = 0 } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/ScalaDocSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.javadoc.Javadoc.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java
@Override public JvmMemoryStatus read(Decoder decoder) throws EOFException, Exception { long committedMemory = decoder.readLong(); long maxMemory = decoder.readLong(); return new JvmMemoryStatusSnapshot(maxMemory, committedMemory); } @Override public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2K bytes - Viewed (0)