Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 266 for nproc (0.04 sec)

  1. src/internal/trace/testdata/fuzz/FuzzReader/invalid-proc-state

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 221 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    	P_addr      uintptr
    	P_xstat     uint16
    	P_acflag    uint16
    	P_ru        *Rusage
    }
    
    type Itimerval struct {
    	Interval Timeval
    	Value    Timeval
    }
    
    type KinfoProc struct {
    	Proc  ExternProc
    	Eproc Eproc
    }
    
    type Vmspace struct {
    	Dummy  int32
    	Dummy2 *int8
    	Dummy3 [5]int32
    	Dummy4 [3]*int8
    }
    
    type Pcred struct {
    	Pc_lock  [72]int8
    	Pc_ucred uintptr
    	P_ruid   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. src/internal/trace/event.go

    // starting to run on this thread and/or proc, then this will return
    // NoGoroutine. In this case, the goroutine starting to run will be
    // can be found at Event.StateTransition().Resource.
    func (e Event) Goroutine() GoID {
    	return e.ctx.G
    }
    
    // Proc returns the ID of the proc this event event pertains to.
    //
    // Note that for proc state transitions this always refers to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	P_addr      uintptr
    	P_xstat     uint16
    	P_acflag    uint16
    	P_ru        *Rusage
    }
    
    type Itimerval struct {
    	Interval Timeval
    	Value    Timeval
    }
    
    type KinfoProc struct {
    	Proc  ExternProc
    	Eproc Eproc
    }
    
    type Vmspace struct {
    	Dummy  int32
    	Dummy2 *int8
    	Dummy3 [5]int32
    	Dummy4 [3]*int8
    }
    
    type Pcred struct {
    	Pc_lock  [72]int8
    	Pc_ucred uintptr
    	P_ruid   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 592 bytes
    - Viewed (0)
  6. src/syscall/dll_windows.go

    		if p.proc == nil {
    			e := p.l.Load()
    			if e != nil {
    				return e
    			}
    			proc, e := p.l.dll.FindProc(p.Name)
    			if e != nil {
    				return e
    			}
    			// Non-racy version of:
    			// p.proc = proc
    			atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(&p.proc)), unsafe.Pointer(proc))
    		}
    	}
    	return nil
    }
    
    // mustFind is like Find but panics if search fails.
    func (p *LazyProc) mustFind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. pkg/securitycontext/util.go

    	defaultMaskedPaths = []string{
    		"/proc/asound",
    		"/proc/acpi",
    		"/proc/kcore",
    		"/proc/keys",
    		"/proc/latency_stats",
    		"/proc/timer_list",
    		"/proc/timer_stats",
    		"/proc/sched_debug",
    		"/proc/scsi",
    		"/sys/firmware",
    	}
    	defaultReadonlyPaths = []string{
    		"/proc/bus",
    		"/proc/fs",
    		"/proc/irq",
    		"/proc/sys",
    		"/proc/sysrq-trigger",
    	}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 15 07:28:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. src/os/pidfd_linux_test.go

    	}
    	p.Wait()
    
    	// Use pid of a non-existing process.
    	proc, err := os.FindProcess(p.Pid)
    	// FindProcess should never return errors on Unix.
    	if err != nil {
    		t.Fatalf("FindProcess: got error %v, want <nil>", err)
    	}
    	// FindProcess should never return nil Process.
    	if proc == nil {
    		t.Fatal("FindProcess: got nil, want non-nil")
    	}
    	if proc.Status() != os.StatusDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    		if p.proc == nil {
    			e := p.l.Load()
    			if e != nil {
    				return e
    			}
    			proc, e := p.l.dll.FindProc(p.Name)
    			if e != nil {
    				return e
    			}
    			// Non-racy version of:
    			// p.proc = proc
    			atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(&p.proc)), unsafe.Pointer(proc))
    		}
    	}
    	return nil
    }
    
    // mustFind is like Find but panics if search fails.
    func (p *LazyProc) mustFind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  10. src/syscall/exec_unix_test.go

    	c.pipe.Close()
    	if err := c.proc.Wait(); err != nil {
    		c.test.Fatal(err)
    	}
    }
    
    func create(t *testing.T) *command {
    	testenv.MustHaveExec(t)
    
    	proc := exec.Command("cat")
    	stdin, err := proc.StdinPipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	return &command{stdin, proc, t}
    }
    
    func parent() (pid, pgrp int) {
    	return syscall.Getpid(), syscall.Getpgrp()
    }
    
    func TestZeroSysProcAttr(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top