- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for physical (0.12 sec)
-
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/OsMemoryStatusSnapshot.java
* * @param totalPhysicalMemory total physical memory in bytes * @param freePhysicalMemory free physical memory in bytes */ public OsMemoryStatusSnapshot(long totalPhysicalMemory, long freePhysicalMemory) { this( new DefaultAvailableOsMemoryStatusAspect("physical", totalPhysicalMemory, freePhysicalMemory),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategyTest.groovy
1 * mockMemoryStatus.physicalMemory >> { new DefaultAvailableOsMemoryStatusAspect("physical", MAX_MEMORY, ONE_GIG) } expirationStrategy.onOsMemoryStatus(mockMemoryStatus) then: expirationStrategy.physicalMemoryThresholdInBytes == LowMemoryDaemonExpirationStrategy.MAX_THRESHOLD_BYTES } def "daemon should expire when physical memory falls below threshold"() { given:
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/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/OsMemoryStatus.java
*/ package org.gradle.process.internal.health.memory; /** * OS memory status. */ public interface OsMemoryStatus { /** * Get the physical memory information. * * @return the physical memory information */ OsMemoryStatusAspect.Available getPhysicalMemory(); /** * Get the virtual memory information. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MBeanOsMemoryInfo.java
if (total == -1) { throw new UnsupportedOperationException("Unable to retrieve total physical memory from MBean"); } if (free == -1) { throw new UnsupportedOperationException("Unable to retrieve free physical memory from MBean"); } return new OsMemoryStatusSnapshot(total, free); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 21:48:34 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats.go
// for the operating system to use. The amount returned by GlobalMemoryStatusEx // is closer in parity with Linux // https://www.kernel.org/doc/Documentation/filesystems/proc.txt var statex MemoryStatusEx statex.Length = uint32(unsafe.Sizeof(statex)) ret, _, _ := procGlobalMemoryStatusEx.Call(uintptr(unsafe.Pointer(&statex))) if ret == 0 { return 0, errors.New("unable to read physical memory") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeLibraryBinary.java
* limitations under the License. */ package org.gradle.nativeplatform; import org.gradle.api.Incubating; import org.gradle.api.file.FileCollection; /** * A physical representation of a {@link NativeLibrary} component. */ @Incubating public interface NativeLibraryBinary extends NativeBinary { FileCollection getHeaderDirs(); FileCollection getLinkFiles();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 992 bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/BinaryContainer.java
* limitations under the License. */ package org.gradle.platform.base; import org.gradle.api.Incubating; import org.gradle.model.ModelMap; /** * A container for project binaries, which represent physical artifacts that can run on a particular platform or runtime. */ @Incubating
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 927 bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/Binary.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.platform.base; import org.gradle.api.Incubating; /** * A physical binary artifact, which can run on a particular platform or runtime. */ @Incubating public interface Binary { /** * Returns a human-consumable display name for this binary. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 926 bytes - Viewed (0) -
src/runtime/mem.go
// 2) Reserved - Owned by the runtime, but accessing it would cause a fault. // Does not count against the process' memory footprint. // 3) Prepared - Reserved, intended not to be backed by physical memory (though // an OS may implement this lazily). Can transition efficiently to // Ready. Accessing memory in such a region is undefined (may
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0) -
src/runtime/mem_linux.go
var adviseUnused = uint32(_MADV_FREE) const madviseUnsupported = 0 func sysUnusedOS(v unsafe.Pointer, n uintptr) { if uintptr(v)&(physPageSize-1) != 0 || n&(physPageSize-1) != 0 { // madvise will round this to any physical page // *covered* by this range, so an unaligned madvise // will release more memory than intended. throw("unaligned sysUnused") } advise := atomic.Load(&adviseUnused)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5K bytes - Viewed (0)