- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 242 for mincore (0.21 sec)
-
src/runtime/export_linux_test.go
// license that can be found in the LICENSE file. // Export guts for testing. package runtime const SiginfoMaxSize = _si_max_size const SigeventMaxSize = _sigev_max_size var NewOSProc0 = newosproc0 var Mincore = mincore type Siginfo siginfo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:20:01 UTC 2023 - 378 bytes - Viewed (0) -
src/runtime/runtime_linux_test.go
} } // Test that error values are negative. // Use a misaligned pointer to get -EINVAL. func TestMincoreErrorSign(t *testing.T) { var dst byte v := Mincore(unsafe.Add(unsafe.Pointer(new(int32)), 1), 1, &dst) const EINVAL = 0x16 if v != -EINVAL { t.Errorf("mincore = %v, want %v", v, -EINVAL) } } func TestKernelStructSize(t *testing.T) { // Check that the Go definitions of structures exchanged with the kernel are
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:20:01 UTC 2023 - 1.8K bytes - Viewed (0) -
src/syscall/syscall_linux_loong64.go
// makedev makes C dev_t from major and minor numbers the glibc way: // 0xMMMM_MMMM 0xmmmm_mmmm -> 0xMMMM_Mmmm_mmmM_MMmm func makedev(major uint32, minor uint32) uint64 { majorH := uint64(major >> 12) majorL := uint64(major & 0xfff) minorH := uint64(minor >> 8) minorL := uint64(minor & 0xff) return (majorH << 44) | (minorH << 20) | (majorL << 8) | minorL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 7.1K bytes - Viewed (0) -
src/image/jpeg/huffman.go
vals [maxNCodes]uint8 // minCodes[i] is the minimum code of length i, or -1 if there are no // codes of that length. minCodes [maxCodeLength]int32 // maxCodes[i] is the maximum code of length i, or -1 if there are no // codes of that length. maxCodes [maxCodeLength]int32 // valsIndices[i] is the index into vals of minCodes[i]. valsIndices [maxCodeLength]int32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/zz_generated.prerelease-lifecycle.go
func (in *VolumeAttributesClass) APILifecycleRemoved() (major, minor int) { return 1, 35 } // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *VolumeAttributesClassList) APILifecycleIntroduced() (major, minor int) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation_test.go
v: version.Info{Major: "", Minor: ""}, expectMajor: 0, expectMinor: 0, expectErr: true, }, { name: "non-numeric major", v: version.Info{Major: "A", Minor: "0"}, expectMajor: 0, expectMinor: 0, expectErr: true, }, { name: "non-numeric minor", v: version.Info{Major: "1", Minor: "A"}, expectMajor: 0, expectMinor: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 11 20:04:19 UTC 2020 - 8.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/dev_openbsd.go
// Functions to access/create device major and minor numbers matching the // encoding used in OpenBSD's sys/types.h header. package unix // Major returns the major component of an OpenBSD device number. func Major(dev uint64) uint32 { return uint32((dev & 0x0000ff00) >> 8) } // Minor returns the minor component of an OpenBSD device number. func Minor(dev uint64) uint32 { minor := uint32((dev & 0x000000ff) >> 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 19:01:58 UTC 2018 - 918 bytes - Viewed (0) -
staging/src/k8s.io/api/apidiscovery/v2beta1/zz_generated.prerelease-lifecycle.go
func (in *APIGroupDiscovery) APILifecycleRemoved() (major, minor int) { return 1, 35 } // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *APIGroupDiscoveryList) APILifecycleIntroduced() (major, minor int) { return 1, 26
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 19 17:27:25 UTC 2022 - 3K bytes - Viewed (0) -
staging/src/k8s.io/api/events/v1beta1/zz_generated.prerelease-lifecycle.go
func (in *Event) APILifecycleRemoved() (major, minor int) { return 1, 25 } // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *EventList) APILifecycleIntroduced() (major, minor int) { return 1, 8 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/api/node/v1beta1/zz_generated.prerelease-lifecycle.go
func (in *RuntimeClass) APILifecycleRemoved() (major, minor int) { return 1, 25 } // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *RuntimeClassList) APILifecycleIntroduced() (major, minor int) { return 1, 13 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.9K bytes - Viewed (0)