Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IDTYPE (0.08 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/stats/cri_stats_provider_test.go

    		sandbox3Cgroup:                getTestContainerInfo(seedSandbox3, "", "", ""),
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    		IdType:    cadvisorapiv2.TypeName,
    		Count:     2,
    		Recursive: true,
    	}
    
    	mockCadvisor.EXPECT().ContainerInfoV2("/", options).Return(infos, nil)
    	mockCadvisor.EXPECT().RootFsInfo().Return(rootFsInfo, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    //sys	waitid(idType int, id int, info *Siginfo, options int) (err error)
    
    func Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error) {
    	return waitid(idType, id, info, options)
    }
    
    //sys	waitpid(pid int, wstatus *_C_int, options int) (wpid int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    		r.CustomRegister(collectors.NewCRIMetricsCollector(context.TODO(), s.host.ListPodSandboxMetrics, s.host.ListMetricDescriptors))
    	} else {
    		cadvisorOpts := cadvisorv2.RequestOptions{
    			IdType:    cadvisorv2.TypeName,
    			Count:     1,
    			Recursive: true,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func waitid(idType int, id int, info *Siginfo, options int) (err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WAITID<<4, uintptr(idType), uintptr(id), uintptr(unsafe.Pointer(info)), uintptr(options))
    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
Back to top