- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 805 for proc (0.07 sec)
-
cmd/kubeadm/app/util/runtime/runtime_test.go
if runtime.GOOS == "windows" { return } const tempPrefix = "test.kubeadm.runtime.isExistingSocket." tests := []struct { name string proc func(*testing.T) }{ { name: "Valid domain socket is detected as such", proc: func(t *testing.T) { tmpFile, err := os.CreateTemp("", tempPrefix) if err != nil { t.Fatalf("unexpected error by TempFile: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/asm_i386_masm/sum.s
.386 .model flat PUBLIC _sum _TEXT SEGMENT _sum PROC mov eax, DWORD PTR 4[esp] add eax, DWORD PTR 8[esp] ret 0 _sum ENDP _TEXT ENDS
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 184 bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux.go
// FirstQuota is the quota ID we start with. // XXXXXXX Need a better way of doing this... var FirstQuota QuotaID = 1048577 // MountsFile is the location of the system mount data var MountsFile = "/proc/self/mounts" // MountParseRegexp parses out /proc/sys/self/mounts var MountParseRegexp = regexp.MustCompilePOSIX("^([^ ]*)[ \t]*([^ ]*)[ \t]*([^ ]*)") // Ignore options etc. // LinuxVolumeQuotaProvider returns an appropriate quota applier
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 3.2K bytes - Viewed (0) -
src/os/exec/read3.go
} fmt.Printf("leaked parent file. fdtest.Exists(%d) got true want false\n", fd) fdfile := fmt.Sprintf("/proc/self/fd/%d", fd) link, err := os.Readlink(fdfile) fmt.Printf("readlink(%q) = %q, %v\n", fdfile, link, err) var args []string switch runtime.GOOS { case "plan9": args = []string{fmt.Sprintf("/proc/%d/fd", os.Getpid())} case "aix", "solaris", "illumos": args = []string{fmt.Sprint(os.Getpid())} default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 14:49:07 UTC 2022 - 2.2K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_linux.go
) func gettid() int { return syscall.Gettid() } func tidExists(tid int) (exists, supported bool, err error) { // Open the magic proc status file for reading with the syscall package. // We want to identify certain valid errors very precisely. statusFile := fmt.Sprintf("/proc/self/task/%d/status", tid) fd, err := syscall.Open(statusFile, syscall.O_RDONLY, 0) if errno, ok := err.(syscall.Errno); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/trace/gstate.go
} } // block indicates that the goroutine has stopped executing on a proc -- specifically, // it blocked for some reason. func (gs *gState[R]) block(ts trace.Time, stack trace.Stack, reason string, ctx *traceContext) { gs.startBlockReason = reason gs.stop(ts, stack, ctx) } // stop indicates that the goroutine has stopped executing on a proc. func (gs *gState[R]) stop(ts trace.Time, stack trace.Stack, ctx *traceContext) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-create-syscall-with-p.test
-- expect -- FAILURE ".*expected a proc but didn't have one.*" -- trace -- Trace Go1.22 EventBatch gen=1 m=0 time=0 size=34 GoCreateSyscall dt=1 new_g=4 ProcStatus dt=1 p=0 pstatus=2 ProcStart dt=1 p=0 p_seq=1 GoSyscallEndBlocked dt=1 GoStart dt=1 g=4 g_seq=1 GoSyscallBegin dt=1 p_seq=2 stack=0 GoDestroySyscall dt=1 GoCreateSyscall dt=1 new_g=4 GoSyscallEnd dt=1 GoSyscallBegin dt=1 p_seq=3 stack=0 GoDestroySyscall dt=1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 624 bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_linux.go
"github.com/opencontainers/selinux/go-selinux" "golang.org/x/sys/unix" "k8s.io/klog/v2" "k8s.io/mount-utils" utilpath "k8s.io/utils/path" ) const ( // Location of the mountinfo file procMountInfoPath = "/proc/self/mountinfo" ) // HostUtil implements HostUtils for Linux platforms. type HostUtil struct { } // NewHostUtil returns a struct that implements the HostUtils interface on // linux platforms
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-fail-first-gen-first.test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 256 bytes - Viewed (0) -
src/os/executable_plan9.go
// license that can be found in the LICENSE file. //go:build plan9 package os import ( "internal/itoa" "syscall" ) func executable() (string, error) { fn := "/proc/" + itoa.Itoa(Getpid()) + "/text" f, err := Open(fn) if err != nil { return "", err } defer f.Close() return syscall.Fd2path(int(f.Fd()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 427 bytes - Viewed (0)