- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 805 for proc (0.04 sec)
-
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) -
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) -
src/cmd/trace/threadgen.go
} } type procArg struct { Proc uint64 `json:"proc,omitempty"` } st := ev.StateTransition() viewerEv := traceviewer.InstantEvent{ Resource: uint64(ev.Thread()), Stack: ctx.Stack(viewerFrames(ev.Stack())), Arg: procArg{Proc: uint64(st.Resource.Proc())}, } from, to := st.Proc() if from == to { // Filter out no-op events. return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/trace/resources.go
return "Bad" } // ProcState represents the state of a proc. // // New ProcStates may be added in the future. Users of this type must be robust // to that possibility. type ProcState uint8 const ( ProcUndetermined ProcState = iota // No information is known about the proc. ProcNotExist // Proc does not exist. ProcRunning // Proc is running. ProcIdle // Proc is idle.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 8K bytes - Viewed (0) -
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) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/AnnotationProcessingCompileTaskTest.groovy
@Issue("gradle/gradle#8996") def "stacktrace contains root cause"() { given: def proc = new AnnotationProcessorDeclaration(processorClassName, IncrementalAnnotationProcessorType.UNKNOWN) def processTask = createProcessingTask(proc) when: processTask.call() then: def e = thrown(Throwable) def root = Throwables.getRootCause(e)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
procStarted := map[uint64]bool{} for _, e := range data.Events { if e.Name == "proc start" { if procStarted[e.TID] == true { t.Errorf("proc started twice: %d", e.TID) } procStarted[e.TID] = true } if e.Name == "proc stop" { if procStarted[e.TID] == false { t.Errorf("proc stopped twice: %d", e.TID) } procStarted[e.TID] = false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
cni/pkg/repair/netns.go
if parsedPodAddr == nil { return "", fmt.Errorf("failed to parse addr: %s", pod.Status.PodIP) } fs, err := procfs.NewFS("/host/proc") if err != nil { return "", fmt.Errorf("read procfs: %v", err) } procs, err := fs.AllProcs() if err != nil { return "", fmt.Errorf("read procs: %v", err) } oldest := uint64(math.MaxUint64) best := ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 04:07:10 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfo.java
public class MemInfoOsMemoryInfo implements OsMemoryInfo { // /proc/meminfo is in kB since Linux 4.0, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/proc/task_mmu.c?id=39a8804455fb23f09157341d3ba7db6d7ae6ee76#n22 private static final Pattern MEMINFO_LINE_PATTERN = Pattern.compile("^\\D+(\\d+) kB$"); private static final String MEMINFO_FILE_PATH = "/proc/meminfo"; private final Matcher meminfoMatcher;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 5.5K bytes - Viewed (0) -
src/runtime/testdata/testwintls/main.c
for (int i = 0; i < 65; i++) { TlsAlloc(); } HMODULE hlib = LoadLibrary(argv[1]); if (hlib == NULL) { return 2; } FARPROC proc = GetProcAddress(hlib, argv[2]); if (proc == NULL) { return 3; } if (proc() != 42) { return 4; } return 0;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 25 15:37:00 UTC 2023 - 692 bytes - Viewed (0)