- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for rlwm (0.08 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
return } if rl.Cur == rlimInf32 { rlim.Cur = rlimInf64 } else { rlim.Cur = uint64(rl.Cur) } if rl.Max == rlimInf32 { rlim.Max = rlimInf64 } else { rlim.Max = uint64(rl.Max) } return } func (r *PtraceRegs) PC() uint32 { return r.Nip } func (r *PtraceRegs) SetPC(pc uint32) { r.Nip = pc } func (iov *Iovec) SetLen(length int) { iov.Len = uint32(length)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
return } if rl.Cur == rlimInf32 { rlim.Cur = rlimInf64 } else { rlim.Cur = uint64(rl.Cur) } if rl.Max == rlimInf32 { rlim.Max = rlimInf64 } else { rlim.Max = uint64(rl.Max) } return } func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) } func (r *PtraceRegs) SetPC(pc uint64) { r.Uregs[15] = uint32(pc) } func (iov *Iovec) SetLen(length int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/syscall/syscall_linux_loong64.go
} // Getrlimit prefers the prlimit64 system call. func Getrlimit(resource int, rlim *Rlimit) error { return prlimit(0, resource, nil, rlim) } // setrlimit prefers the prlimit64 system call. func setrlimit(resource int, rlim *Rlimit) error { return prlimit(0, resource, rlim, nil) } //go:nosplit func rawSetrlimit(resource int, rlim *Rlimit) Errno {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue18146.go
setNproc = false case "aix": nproc = 9 case "linux": nproc = 6 case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd": nproc = 7 } if setNproc { var rlim syscall.Rlimit if syscall.Getrlimit(nproc, &rlim) == nil { max := int(rlim.Cur) / (threads + 5) if attempts > max { t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max) attempts = max } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 2.8K bytes - Viewed (0) -
src/syscall/rlimit.go
adjustFileLimit(&nlim) setrlimit(RLIMIT_NOFILE, &nlim) } } func Setrlimit(resource int, rlim *Rlimit) error { if resource == RLIMIT_NOFILE { // Store nil in origRlimitNofile to tell StartProcess // to not adjust the rlimit in the child process. origRlimitNofile.Store(nil) } return setrlimit(resource, rlim)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go
} if rl.Cur == rlimInf32 { rlim.Cur = rlimInf64 } else { rlim.Cur = uint64(rl.Cur) } if rl.Max == rlimInf32 { rlim.Max = rlimInf64 } else { rlim.Max = uint64(rl.Max) } return } func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { newoffset, errno := seek(fd, offset, whence) if errno != 0 { return 0, errno } return newoffset, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 8.9K bytes - Viewed (0) -
src/syscall/syscall_linux_amd64.go
} //sys Utime(path string, buf *Utimbuf) (err error) //sys utimes(path string, times *[2]Timeval) (err error) //go:nosplit func rawSetrlimit(resource int, rlim *Rlimit) Errno { _, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) return errno } func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 4.8K bytes - Viewed (0) -
src/syscall/syscall_linux_ppc64x.go
//sys Utime(path string, buf *Utimbuf) (err error) //sys utimes(path string, times *[2]Timeval) (err error) //go:nosplit func rawSetrlimit(resource int, rlim *Rlimit) Errno { _, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) return errno } func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 4.6K bytes - Viewed (0) -
src/syscall/syscall_linux_riscv64.go
} return utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) } //go:nosplit func rawSetrlimit(resource int, rlim *Rlimit) Errno { _, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) return errno } func (r *PtraceRegs) PC() uint64 { return r.Pc } func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 5.8K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
b.RunParallel(func(pb *testing.PB) { foo := 0 for pb.Next() { rwm := NewDRWMutex(ds, "test") foo++ if foo%writeRatio == 0 { rwm.Lock(id, source) rwm.Unlock(context.Background()) } else { rwm.RLock(id, source) for i := 0; i != localWork; i++ { foo *= 2 foo /= 2 } rwm.RUnlock(context.Background()) } } _ = foo }) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0)