- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 888 for proc (0.04 sec)
-
src/internal/cpu/cpu_s390x_test.go
"os" "regexp" "testing" ) func getFeatureList() ([]string, error) { cpuinfo, err := os.ReadFile("/proc/cpuinfo") if err != nil { return nil, err } r := regexp.MustCompile("features\\s*:\\s*(.*)") b := r.FindSubmatch(cpuinfo) if len(b) < 2 { return nil, errors.New("no feature list in /proc/cpuinfo") } return regexp.MustCompile("\\s+").Split(string(b[1]), -1), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 1.4K bytes - Viewed (0) -
docs/chroot/README.md
wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio chmod +x /mnt/export/${USER}/bin/minio ``` Bind your `proc` mount to the target chroot directory ``` sudo mount --bind /proc /mnt/export/${USER}/proc ``` ## 3. Run Standalone MinIO in Chroot ### GNU/Linux ```sh
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 1.7K bytes - Viewed (0) -
src/internal/trace/event/requirements.go
// license that can be found in the LICENSE file. package event // SchedReqs is a set of constraints on what the scheduling // context must look like. type SchedReqs struct { Thread Constraint Proc Constraint Goroutine Constraint } // Constraint represents a various presence requirements. type Constraint uint8 const ( MustNotHave Constraint = iota MayHave MustHave )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 685 bytes - Viewed (0) -
src/os/executable_procfs.go
func executable() (string, error) { var procfn string switch runtime.GOOS { default: return "", errors.New("Executable not implemented for " + runtime.GOOS) case "linux", "android": procfn = "/proc/self/exe" case "netbsd": procfn = "/proc/curproc/exe" } path, err := Readlink(procfn) // When the executable has been deleted then Readlink returns a // path appended with " (deleted)".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:26:04 UTC 2024 - 715 bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
// one. import ( "bytes" "debug/elf" "os" "testing" ) func testBuildID(t *testing.T) { f, err := elf.Open("/proc/self/exe") if err != nil { if os.IsNotExist(err) { t.Skip("no /proc/self/exe") } t.Fatal("opening /proc/self/exe: ", err) } defer f.Close() c := 0 sections: for i, s := range f.Sections { if s.Type != elf.SHT_NOTE { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
src/syscall/syscall_ptrace_test.go
if err != nil { t.Skipf("skipped because sh is not available") } attr := &os.ProcAttr{ Sys: &syscall.SysProcAttr{ Ptrace: true, }, } proc, err := os.StartProcess(bin, []string{bin}, attr) if err == nil { proc.Kill() } if err != nil && !os.IsPermission(err) { t.Fatalf("StartProcess with ptrace enabled failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 768 bytes - Viewed (0) -
src/cmd/go/internal/generate/generate_test.go
} func TestGenerateCommandParse(t *testing.T) { dir := filepath.Join(testenv.GOROOT(t), "src", "sys") g := &Generator{ r: nil, // Unused here. path: filepath.Join(dir, "proc.go"), dir: dir, file: "proc.go", pkg: "sys", commands: make(map[string][]string), } g.setEnv() g.setShorthand([]string{"-command", "yacc", "go", "tool", "yacc"}) for _, test := range splitTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 14:09:12 UTC 2022 - 7.4K bytes - Viewed (0) -
src/internal/trace/order.go
return fmt.Errorf("expected no thread but had one") } // Check proc requirements. if reqs.Proc == event.MustHave && ctx.P == NoProc { return fmt.Errorf("expected a proc but didn't have one") } else if reqs.Proc == event.MustNotHave && ctx.P != NoProc { return fmt.Errorf("expected no proc but had one") } // Check goroutine requirements.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
cluster/log-dump/log-dump.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 21:15:57 UTC 2024 - 28.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy
builder.javaCommand.jvmArgs(jvmArgs) proc = builder.build() try { proc.start() assertFalse(startFails) } catch (ExecException e) { if (!startFails) { throw new AssertionError(e) } return } proc.connection.addIncoming(TestListenerInterface.class, exceptionListener)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 13.3K bytes - Viewed (0)