Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for IDTYPE (0.15 sec)

  1. src/os/wait6_freebsd64.go

    //go:build freebsd && (amd64 || arm64 || riscv64)
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 547 bytes
    - Viewed (0)
  2. src/os/pidfd_linux.go

    // Support for pidfd was added during the course of a few Linux releases:
    //  v5.1: pidfd_send_signal syscall;
    //  v5.2: CLONE_PIDFD flag for clone syscall;
    //  v5.3: pidfd_open syscall, clone3 syscall;
    //  v5.4: P_PIDFD idtype support for waitid syscall;
    //  v5.6: pidfd_getfd syscall.
    
    package os
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/internal/fuzz/encoding.go

    		return []byte(s), nil
    	}
    
    	var idType *ast.Ident
    	if selector, ok := call.Fun.(*ast.SelectorExpr); ok {
    		xIdent, ok := selector.X.(*ast.Ident)
    		if !ok || xIdent.Name != "math" {
    			return nil, fmt.Errorf("invalid selector type")
    		}
    		switch selector.Sel.Name {
    		case "Float64frombits":
    			idType = &ast.Ident{Name: "float64-bits"}
    		case "Float32frombits":
    			idType = &ast.Ident{Name: "float32-bits"}
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/provider_test.go

    		mockPodManager   = new(kubepodtest.MockManager)
    		mockRuntimeCache = new(kubecontainertest.MockRuntimeCache)
    
    		assert  = assert.New(t)
    		options = cadvisorapiv2.RequestOptions{IdType: cadvisorapiv2.TypeName, Count: 2, Recursive: false}
    
    		containerInfo    = getTestContainerInfo(containerInfoSeed, "test-pod", "test-ns", "test-container")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		info.Spec.Cpu = cadvisorapiv2.CpuSpec{}
    		info.Spec.HasMemory = false
    		info.Spec.HasCpu = false
    		info.Spec.HasNetwork = false
    		infos[name] = info
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    		IdType:    cadvisorapiv2.TypeName,
    		Count:     2,
    		Recursive: true,
    	}
    
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    
    	mockCadvisor := cadvisortest.NewMockInterface(mockCtrl)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_386.go

    	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
    	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
    	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
    	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
    	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
    	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
    	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_arm.go

    	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
    	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
    	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
    	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
    	SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
    	SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_netbsd_arm.go

    	SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
    	SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
    	SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
Back to top