Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 284 for proc (0.04 sec)

  1. src/runtime/traceruntime.go

    }
    
    // Gomaxprocs emits a ProcsChange event.
    func (tl traceLocker) Gomaxprocs(procs int32) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvProcsChange, traceArg(procs), tl.stack(1))
    }
    
    // ProcStart traces a ProcStart event.
    //
    // Must be called with a valid P.
    func (tl traceLocker) ProcStart() {
    	pp := tl.mp.p.ptr()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/quota_linux_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume/util/fsquota/common"
    )
    
    const dummyMountData = `sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    devtmpfs /dev devtmpfs rw,nosuid,size=6133536k,nr_inodes=1533384,mode=755 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
    /dev/sda1 /boot ext4 rw,relatime 0 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

            def execHandle = handle().args(args(TestApp.class)).setDisplayName("foo proc").streamsHandler(streamsHandler).build()
    
            when:
            execHandle.start()
            def result = execHandle.waitForFinish()
    
            then:
            result.rethrowFailure()
            1 * streamsHandler.connectStreams(_ as Process, "foo proc", _ as Executor)
            1 * streamsHandler.start()
            1 * streamsHandler.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
  4. src/encoding/pem/pem_test.go

    5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY
    ZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g
    -----END CERTIFICATE-----
     1 s:/C=ZA/O=Ca Inc./CN=CA Inc
    
    -----BEGIN RSA TESTING KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: DES-EDE3-CBC,80C7C7A09690757A
    
    eQp5ZkH6CyHBz7BZfUPxyLCCmftsBJ7HlqGb8Ld21cSwnzWZ4/SIlhyrUtsfw7VR
    2TTwA+odo9ex7GdxOTaH8oZFumIRoiEjHsk8U7Bhntp+ekkPP79xunnN7hb7hkhr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:56:00 UTC 2022
    - 23.5K bytes
    - Viewed (0)
  5. src/runtime/pprof/proto_test.go

    				t.Fatalf("failed to run the test program %q: %v\n%v", prog, err, cmd.Stderr)
    			}
    
    			prof, err := profile.Parse(bytes.NewReader(out))
    			if err != nil {
    				t.Fatalf("failed to parse the generated profile data: %v", err)
    			}
    			t.Logf("Profile: %s", prof)
    
    			hit := make(map[*profile.Mapping]bool)
    			miss := make(map[*profile.Mapping]bool)
    			for _, loc := range prof.Location {
    				if symbolized(loc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. pkg/volume/util/subpath/subpath_linux.go

    }
    
    func doBindSubPath(mounter mount.Interface, subpath Subpath) (hostPath string, err error) {
    	// Linux, kubelet runs on the host:
    	// - safely open the subpath
    	// - bind-mount /proc/<pid of kubelet>/fd/<fd> to subpath target
    	// User can't change /proc/<pid of kubelet>/fd/<fd> to point to a bad place.
    
    	// Evaluate all symlinks here once for all subsequent functions.
    	newVolumePath, err := filepath.EvalSymlinks(subpath.VolumePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/container_manager_linux.go

    func isProcessRunningInHost(pid int) (bool, error) {
    	// Get init pid namespace.
    	initPidNs, err := os.Readlink("/proc/1/ns/pid")
    	if err != nil {
    		return false, fmt.Errorf("failed to find pid namespace of init process")
    	}
    	klog.V(10).InfoS("Found init PID namespace", "namespace", initPidNs)
    	processPidNs, err := os.Readlink(fmt.Sprintf("/proc/%d/ns/pid", pid))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. src/os/readfrom_linux_test.go

    func (h *spliceFileHook) uninstall() {
    	*PollSpliceFile = h.original
    }
    
    // On some kernels copy_file_range fails on files in /proc.
    func TestProcCopy(t *testing.T) {
    	t.Parallel()
    
    	const cmdlineFile = "/proc/self/cmdline"
    	cmdline, err := ReadFile(cmdlineFile)
    	if err != nil {
    		t.Skipf("can't read /proc file: %v", err)
    	}
    	in, err := Open(cmdlineFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer in.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			// memory.swap.max does not exist in the cgroup root, so we check /sys/fs/cgroup/<SELF>/memory.swap.max
    			_, unified, err := cgroups.ParseCgroupFileUnified("/proc/self/cgroup")
    			if err != nil {
    				klog.V(5).ErrorS(fmt.Errorf("failed to parse /proc/self/cgroup: %w", err), warn)
    				return
    			}
    			p = filepath.Join("/sys/fs/cgroup", unified, "memory.swap.max")
    		}
    		if _, err := os.Stat(p); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_test.go

    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top