- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for mib (0.03 sec)
-
src/cmd/link/internal/ld/fallocate_test.go
t.Skip("fallocate is not supported") } if err == syscall.EINTR { continue // try again } if err != nil { t.Fatalf("fallocate failed: %v", err) } break } // Mmap 1 MiB initially, and grow to 2 and 3 MiB. // Check if the file size and disk usage is expected. for _, sz := range []int64{1 << 20, 2 << 20, 3 << 20} { err = out.Mmap(uint64(sz)) if err != nil { t.Fatalf("Mmap failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 1.7K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/syscall.go
// license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd || netbsd || openbsd package route import _ "unsafe" // for linkname //go:linkname sysctl syscall.sysctl
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 396 bytes - Viewed (0) -
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/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) -
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) -
src/runtime/sys_openbsd2.go
} //go:nosplit //go:cgo_unsafe_args func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(sysctl_trampoline)), unsafe.Pointer(&mib)) KeepAlive(mib) KeepAlive(out) KeepAlive(size) KeepAlive(dst) return ret } func sysctl_trampoline() //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/batch-jobs/README.md
``` ### Real-time 'status' for a batch job ``` mc batch status myminio/ E24HH4nNMcgY5taynaPfxu ●∙∙ Objects: 28766 Versions: 28766 Throughput: 3.0 MiB/s Transferred: 406 MiB Elapsed: 2m14.227222868s CurrObjName: share/doc/xml-core/examples/foo.xmlcatalogs ``` ### 'describe' the batch job yaml. ``` mc batch describe myminio/ E24HH4nNMcgY5taynaPfxu
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Oct 06 06:00:43 UTC 2022 - 4.8K bytes - Viewed (0)