Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for physical (0.15 sec)

  1. 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)
  2. 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)
  3. src/runtime/vdso_freebsd_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    const (
    	_VDSO_TH_ALGO_ARM_GENTIM = 1
    )
    
    func getCntxct(physical bool) uint32
    
    //go:nosplit
    func (th *vdsoTimehands) getTimecounter() (uint32, bool) {
    	switch th.algo {
    	case _VDSO_TH_ALGO_ARM_GENTIM:
    		return getCntxct(th.physical != 0), true
    	default:
    		return 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 04 04:17:04 UTC 2022
    - 454 bytes
    - Viewed (0)
  4. src/runtime/vdso_freebsd_arm.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    const (
    	_VDSO_TH_ALGO_ARM_GENTIM = 1
    )
    
    func getCntxct(physical bool) uint32
    
    //go:nosplit
    func (th *vdsoTimehands) getTimecounter() (uint32, bool) {
    	switch th.algo {
    	case _VDSO_TH_ALGO_ARM_GENTIM:
    		return getCntxct(th.physical != 0), true
    	default:
    		return 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 18 21:54:26 UTC 2018
    - 454 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                    VolumeSnapshot is deleted. Supported values are "Retain" and "Delete".
                    "Retain" means that the VolumeSnapshotContent and its physical snapshot
                    on underlying storage system are kept. "Delete" means that the VolumeSnapshotContent
                    and its physical snapshot on underlying storage system are deleted.
                    Required.
                  enum:
                    - Delete
                    - Retain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top