Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for mincore (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/api/storage/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CSIDriver) APILifecycleIntroduced() (major, minor int) {
    	return 1, 18
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/archive/tar/stat_unix.go

    		case "freebsd":
    			// Copied from golang.org/x/sys/unix/dev_freebsd.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "netbsd":
    			// Copied from golang.org/x/sys/unix/dev_netbsd.go.
    			major := uint32((dev & 0x000fff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xfff00000) >> 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *ControllerRevision) APILifecycleIntroduced() (major, minor int) {
    	return 1, 9
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/certificates/v1alpha1/zz_generated.prerelease-lifecycle.go

    func (in *ClusterTrustBundle) APILifecycleRemoved() (major, minor int) {
    	return 1, 32
    }
    
    // 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 *ClusterTrustBundleList) APILifecycleIntroduced() (major, minor int) {
    	return 1, 26
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:59 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top