- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 144 for mib (0.03 sec)
-
cmd/batch-job-common-types_test.go
UpperBound: 10 << 20, LowerBound: 1 << 20, }, want: true, }, { // 2KiB < 1 MiB -> out of range from left objSize: 2 << 10, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20, LowerBound: 1 << 20, }, want: false, }, { // 11MiB > 10 MiB -> out of range from right objSize: 11 << 20, sizeFilter: BatchJobSizeFilter{ UpperBound: 10 << 20,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
src/runtime/os_netbsd.go
const ( _CTL_KERN = 1 _KERN_OSREV = 3 _CTL_HW = 6 _HW_NCPU = 3 _HW_PAGESIZE = 7 _HW_NCPUONLINE = 16 ) func sysctlInt(mib []uint32) (int32, bool) { var out int32 nout := unsafe.Sizeof(out) ret := sysctl(&mib[0], uint32(len(mib)), (*byte)(unsafe.Pointer(&out)), &nout, nil, 0) if ret < 0 { return 0, false } return out, true } func getncpu() int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/syscall/syscall_bsd.go
// Translate name to mib number. mib, err := nametomib(name) if err != nil { return "", err } // Find size. n := uintptr(0) if err = sysctl(mib, nil, &n, nil, 0); err != nil { return "", err } if n == 0 { return "", nil } // Read into buffer of that size. buf := make([]byte, n) if err = sysctl(mib, &buf[0], &n, nil, 0); err != nil { return "", err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/route.go
try := 0 for { try++ mib := [6]int32{syscall.CTL_NET, syscall.AF_ROUTE, 0, int32(af), int32(typ), int32(arg)} n := uintptr(0) if err := sysctl(mib[:], nil, &n, nil, 0); err != nil { return nil, os.NewSyscallError("sysctl", err) } if n == 0 { return nil, nil } b := make([]byte, n) if err := sysctl(mib[:], &b[0], &n, nil, 0); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/cpu/cpu_arm64_openbsd.go
//go:build arm64 package cpu const ( // From OpenBSD's sys/sysctl.h. _CTL_MACHDEP = 7 // From OpenBSD's machine/cpu.h. _CPU_ID_AA64ISAR0 = 2 _CPU_ID_AA64ISAR1 = 3 ) //go:noescape func sysctlUint64(mib []uint32) (uint64, bool) func osInit() { // Get ID_AA64ISAR0 from sysctl. isar0, ok := sysctlUint64([]uint32{_CTL_MACHDEP, _CPU_ID_AA64ISAR0}) if !ok { return } parseARM64SystemRegisters(isar0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 26 16:42:53 UTC 2022 - 574 bytes - Viewed (0) -
src/syscall/syscall_openbsd1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 534 bytes - Viewed (0) -
src/runtime/os_darwin.go
func getncpu() int32 { // Use sysctl to fetch hw.ncpu. mib := [2]uint32{_CTL_HW, _HW_NCPU} out := uint32(0) nout := unsafe.Sizeof(out) ret := sysctl(&mib[0], 2, (*byte)(unsafe.Pointer(&out)), &nout, nil, 0) if ret >= 0 && int32(out) > 0 { return int32(out) } return 1 } func getPageSize() uintptr { // Use sysctl to fetch hw.pagesize. mib := [2]uint32{_CTL_HW, _HW_PAGESIZE} out := uint32(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy
The daemon will restart for the next build, which may increase subsequent build times. These settings can be adjusted by setting 'org.gradle.jvmargs' in 'gradle.properties'. The currently configured max heap space is '512 MiB' and the configured max metaspace is 'unknown'. ${COMMON_HINT}""") } def "expires daemon immediately when garbage collector is thrashing"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 14.2K bytes - Viewed (0) -
pkg/registry/storage/csistoragecapacity/strategy_test.go
"k8s.io/kubernetes/pkg/apis/storage" ) // getValidCSIStorageCapacity returns a fully-populated CSIStorageCapacity. func getValidCSIStorageCapacity(name string, capacityStr string) *storage.CSIStorageCapacity { mib := resource.MustParse("1Mi") c := &storage.CSIStorageCapacity{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, ResourceVersion: "1", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 5.1K bytes - Viewed (0) -
src/syscall/route_bsd.go
func RouteRIB(facility, param int) ([]byte, error) { mib := []_C_int{CTL_NET, AF_ROUTE, 0, 0, _C_int(facility), _C_int(param)} // Find size. n := uintptr(0) if err := sysctl(mib, nil, &n, nil, 0); err != nil { return nil, err } if n == 0 { return nil, nil } tab := make([]byte, n) if err := sysctl(mib, &tab[0], &n, nil, 0); err != nil { return nil, err } return tab[:n], nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.1K bytes - Viewed (0)