- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 888 for proc (0.07 sec)
-
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) -
test/fixedbugs/issue4396b.go
// license that can be found in the LICENSE file. // This test _may_ fail on arm, but requires the host to // trap unaligned loads. This is generally done with // // echo "4" > /proc/cpu/alignment package main type T struct { U uint16 V T2 } type T2 struct { pad [4096]byte A, B byte } var s, t = new(T), new(T) func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 496 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) -
test/fixedbugs/bug142.go
main·panic1(0xae30, 0x0) main·main+0x23 /Users/rsc/goX/test/bugs/bug142.go:10 main·main() mainstart+0xf /Users/rsc/goX/src/runtime/amd64/asm.s:53 mainstart() sys·Goexit /Users/rsc/goX/src/runtime/proc.c:124 sys·Goexit() ;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 675 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) -
pkg/kubelet/cm/util/cgroups_linux.go
// process could in container and shared pid namespace with host, and // /proc/1/cgroup could point to whole other world of cgroups. initPath, err := libcontainercgroups.GetOwnCgroup("devices") if err != nil { return "", err } // This is needed for nested containers, because in /proc/self/cgroup we // see paths from host, which don't exist in container. relDir, err := filepath.Rel(root, initPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 12 07:50:19 UTC 2020 - 2.9K 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)