Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for proc (0.04 sec)

  1. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	t.ExpectFailure(".*expected a proc but didn't have one.*")
    
    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G. It then comes back to Go
    	// on the same thread and again returns to C.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    	t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/)
    
    	// We should fail at the first issue, not the second one.
    	t.ExpectFailure("expected a proc but didn't have one")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/encoding/pem/pem.go

    		return err
    	}
    
    	if len(b.Headers) > 0 {
    		const procType = "Proc-Type"
    		h := make([]string, 0, len(b.Headers))
    		hasProcType := false
    		for k := range b.Headers {
    			if k == procType {
    				hasProcType = true
    				continue
    			}
    			h = append(h, k)
    		}
    		// The Proc-Type header must be written first.
    		// See RFC 1421, section 4.6.1.1
    		if hasProcType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/os/exec_plan9.go

    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    func (p *Process) writeProcFile(file string, data string) error {
    	f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0)
    	if e != nil {
    		return e
    	}
    	defer f.Close()
    	_, e = f.Write([]byte(data))
    	return e
    }
    
    func (p *Process) signal(sig Signal) error {
    	switch p.pidStatus() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/os/pidfd_linux.go

    // execution environment in which the above system calls are restricted by
    // seccomp or a similar technology.
    func checkPidfd() error {
    	// Get a pidfd of the current process (opening of "/proc/self" won't
    	// work for waitid).
    	fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
    	if err != nil {
    		return NewSyscallError("pidfd_open", err)
    	}
    	defer syscall.Close(int(fd))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutinegen.go

    }
    
    func (g *goroutineGenerator) ProcRange(ctx *traceContext, ev *trace.Event) {
    	// TODO(mknyszek): Extend procRangeGenerator to support rendering proc ranges
    	// that overlap with a goroutine's execution.
    }
    
    func (g *goroutineGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("error initializing the host rules for health checks: %w", err)
    	}
    
    	podNetns := NewPodNetnsProcFinder(os.DirFS(filepath.Join(pconstants.HostMountsPath, "proc")))
    	netServer := newNetServer(ztunnelServer, podNsMap, iptablesConfigurator, podNetns, set)
    
    	// Set some defaults
    	s := &Server{
    		ctx:        ctx,
    		kubeClient: client,
    		isReady:    ready,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. pkg/volume/nfs/nfs.go

    	*nfs
    }
    
    func (c *nfsUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *nfsUnmounter) TearDownAt(dir string) error {
    	// Use extensiveMountPointCheck to consult /proc/mounts. We can't use faster
    	// IsLikelyNotMountPoint (lstat()), since there may be root_squash on the
    	// NFS server and kubelet may not be able to do lstat/stat() there.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-annotations.test

    String id=50
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
    String id=51
    	data="runtime.startTheWorld"
    String id=52
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
    String id=53
    	data="runtime/trace.(*Task).End"
    String id=54
    	data="runtime.traceLocker.Gomaxprocs"
    String id=55
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
    String id=56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/main/proguard/wrapper.pro

    Adam Murdoch <******@****.***> 1715814876 +1000
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 147 bytes
    - Viewed (0)
Back to top