- Sort Score
- Result 10 results
- Languages All
Results 41 - 48 of 48 for getrlimit (0.35 sec)
-
pkg/util/rlimit/rlimit_linux.go
limitations under the License. */ package rlimit import ( "golang.org/x/sys/unix" ) // SetNumFiles sets the linux rlimit for the maximum open files. func SetNumFiles(maxOpenFiles uint64) error { return unix.Setrlimit(unix.RLIMIT_NOFILE, &unix.Rlimit{Max: maxOpenFiles, Cur: maxOpenFiles})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 866 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go
} }() return true } // SetLimit limits the number of active goroutines in this group to at most n. // A negative value indicates no limit. // // Any subsequent call to the Go method will block until it can add an active // goroutine without exceeding the configured limit. // // The limit must not be modified while any goroutines in the group are active. func (g *Group) SetLimit(n int) { if n < 0 { g.sem = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.3K bytes - Viewed (0) -
src/syscall/asm_solaris_amd64.s
TEXT ·RawSyscall6(SB),NOSPLIT,$0 JMP runtime·syscall_rawsyscall6(SB) TEXT ·setgid(SB),NOSPLIT,$0 JMP runtime·syscall_setgid(SB) TEXT ·setgroups1(SB),NOSPLIT,$0 JMP runtime·syscall_setgroups(SB) TEXT ·setrlimit1(SB),NOSPLIT,$0 JMP runtime·syscall_setrlimit(SB) TEXT ·setsid(SB),NOSPLIT,$0 JMP runtime·syscall_setsid(SB) TEXT ·setuid(SB),NOSPLIT,$0 JMP runtime·syscall_setuid(SB) TEXT ·setpgid(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 15 17:21:30 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/rules/JacocoViolationRule.java
*/ @Input List<String> getExcludes(); /** * Gets all limits defined for this rule. Defaults to an empty list. */ @Input List<JacocoLimit> getLimits(); /** * Adds a limit for this rule. Any number of limits can be added. */ JacocoLimit limit(Action<? super JacocoLimit> configureAction);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/rules/JacocoViolationRuleImpl.java
this.excludes = excludes; } @Override public List<String> getExcludes() { return Collections.unmodifiableList(excludes); } @Override public List<JacocoLimit> getLimits() { return Collections.unmodifiableList(limits); } @Override public JacocoLimit limit(Action<? super JacocoLimit> configureAction) { JacocoLimit limit = new JacocoLimitImpl();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 3.5K bytes - Viewed (0) -
src/syscall/exec_libc.go
func getpid() (pid uintptr, err Errno) func ioctl(fd uintptr, req uintptr, arg uintptr) (err Errno) func setgid(gid uintptr) (err Errno) func setgroups1(ngid uintptr, gid uintptr) (err Errno) func setrlimit1(which uintptr, lim unsafe.Pointer) (err Errno) func setsid() (pid uintptr, err Errno) func setuid(uid uintptr) (err Errno) func setpgid(pid uintptr, pgid uintptr) (err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoCheck.java
@SuppressWarnings("UnusedDeclaration") public Object doCall(Object ignore) { for (JacocoLimit limit : rule.getLimits()) { Map<String, Object> limitArgs = new HashMap<String, Object>(); limitArgs.put("counter", limit.getCounter());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 5.5K bytes - Viewed (0) -
src/syscall/exec_unix.go
if err != nil { return err } envvp, err := SlicePtrFromStrings(envv) if err != nil { return err } runtime_BeforeExec() rlim := origRlimitNofile.Load() if rlim != nil { Setrlimit(RLIMIT_NOFILE, rlim) } var err1 error if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "aix" { // RawSyscall should never be used on Solaris, illumos, or AIX. err1 = execveLibc(
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0)