Home
last modified time | relevance | path

Searched refs:getrlimit (Results 1 – 25 of 4690) sorted by relevance

12345678910>>...188

/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/process/
H A Dsetrlimit_spec.rb8 @limit, @max = Process.getrlimit @resource
48 Process.setrlimit(:AS, *Process.getrlimit(Process::RLIMIT_AS)).should be_nil
53 Process.setrlimit(:CORE, *Process.getrlimit(Process::RLIMIT_CORE)).should be_nil
57 Process.setrlimit(:CPU, *Process.getrlimit(Process::RLIMIT_CPU)).should be_nil
61 Process.setrlimit(:DATA, *Process.getrlimit(Process::RLIMIT_DATA)).should be_nil
65 Process.setrlimit(:FSIZE, *Process.getrlimit(Process::RLIMIT_FSIZE)).should be_nil
73 Process.setrlimit(:STACK, *Process.getrlimit(Process::RLIMIT_STACK)).should be_nil
88 Process.setrlimit(:RSS, *Process.getrlimit(Process::RLIMIT_RSS)).should be_nil
130 Process.setrlimit("AS", *Process.getrlimit(Process::RLIMIT_AS)).should be_nil
139 Process.setrlimit("CPU", *Process.getrlimit(Process::RLIMIT_CPU)).should be_nil
[all …]
H A Dgetrlimit_spec.rb11 Process.getrlimit(:DATA)
17 result = Process.getrlimit Process::RLIMIT_CORE
32 Process.getrlimit(obj).should == Process.getrlimit(@resource)
39 lambda { Process.getrlimit(obj) }.should raise_error(TypeError)
47 Process.getrlimit(short.to_sym).should == Process.getrlimit(Process.const_get(fullname))
52 lambda { Process.getrlimit(:FOO) }.should raise_error(ArgumentError)
60 Process.getrlimit(short).should == Process.getrlimit(Process.const_get(fullname))
65 lambda { Process.getrlimit("FOO") }.should raise_error(ArgumentError)
79 Process.getrlimit(obj).should == Process.getrlimit(@resource)
87 Process.getrlimit(obj).should == Process.getrlimit(@resource)
/dports/net/socat/socat-1.7.4.2/
H A Dprocan.c78 if (getrlimit(RLIMIT_CPU, &rlim) < 0) { in procan()
85 if (getrlimit(RLIMIT_FSIZE, &rlim) < 0) { in procan()
92 if (getrlimit(RLIMIT_DATA, &rlim) < 0) { in procan()
99 if (getrlimit(RLIMIT_STACK, &rlim) < 0) { in procan()
106 if (getrlimit(RLIMIT_CORE, &rlim) < 0) { in procan()
114 if (getrlimit(RLIMIT_RSS, &rlim) < 0) { in procan()
123 if (getrlimit(RLIMIT_NPROC, &rlim) < 0) { in procan()
132 if (getrlimit(RLIMIT_NOFILE, &rlim) < 0) { in procan()
141 if (getrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { in procan()
150 if (getrlimit(RLIMIT_AS, &rlim) < 0) { in procan()
/dports/devel/lua-posix/luaposix-35.1/spec/
H A Dposix_sys_resource_spec.yaml15 - describe getrlimit:
17 getrlimit = M.getrlimit
20 badargs.diagnose(getrlimit, "(int)")
23 expect(prototype(getrlimit(M.RLIMIT_AS))).to_be "PosixRlimit"
28 rlim = getrlimit(M[rc])
37 getrlimit = M.getrlimit
80 rlim = getrlimit(M[rc])
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/procfs-0.9.1/src/process/
H A Dlimit.rs231 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_CPU, &mut libc_lim) }, 0); in test_limits()
236 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_FSIZE, &mut libc_lim) }, 0); in test_limits()
241 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_DATA, &mut libc_lim) }, 0); in test_limits()
246 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_STACK, &mut libc_lim) }, 0); in test_limits()
251 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_CORE, &mut libc_lim) }, 0); in test_limits()
256 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_RSS, &mut libc_lim) }, 0); in test_limits()
261 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_NPROC, &mut libc_lim) }, 0); in test_limits()
266 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_NOFILE, &mut libc_lim) }, 0); in test_limits()
276 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_AS, &mut libc_lim) }, 0); in test_limits()
281 assert_eq!(unsafe { libc::getrlimit(libc::RLIMIT_LOCKS, &mut libc_lim) }, 0); in test_limits()
[all …]
/dports/sysutils/slurm-wlm/slurm-20.02.7/testsuite/expect/
H A Dtest1.29.prog.c48 (void) getrlimit(RLIMIT_CORE, &u_limit); in main()
50 (void) getrlimit(RLIMIT_FSIZE, &u_limit); in main()
52 (void) getrlimit(RLIMIT_NOFILE, &u_limit); in main()
55 (void) getrlimit(RLIMIT_NPROC, &u_limit); in main()
61 (void) getrlimit(RLIMIT_STACK, &u_limit); in main()
H A Dtest17.15.prog.c48 (void) getrlimit(RLIMIT_CORE, &u_limit); in main()
50 (void) getrlimit(RLIMIT_FSIZE, &u_limit); in main()
52 (void) getrlimit(RLIMIT_NOFILE, &u_limit); in main()
55 (void) getrlimit(RLIMIT_NPROC, &u_limit); in main()
61 (void) getrlimit(RLIMIT_STACK, &u_limit); in main()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/
H A Dgetrlimit.texi1 @node getrlimit
2 @section @code{getrlimit}
3 @findex getrlimit
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/getrlimit.ht…
7 …ttps://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-getrlimit-1.html}
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_resource.py16 self.assertRaises(TypeError, resource.getrlimit)
17 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
25 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
39 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
88 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
121 limits = resource.getrlimit(resource.RLIMIT_CPU)
157 limit = resource.getrlimit(resource.RLIMIT_AS)
172 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_resource.py15 self.assertRaises(TypeError, resource.getrlimit)
16 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
22 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
36 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
85 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
116 limits = resource.getrlimit(resource.RLIMIT_CPU)
152 limit = resource.getrlimit(resource.RLIMIT_AS)
167 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_resource.py16 self.assertRaises(TypeError, resource.getrlimit)
17 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
25 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
39 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
88 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
121 limits = resource.getrlimit(resource.RLIMIT_CPU)
157 limit = resource.getrlimit(resource.RLIMIT_AS)
172 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_resource.py14 self.assertRaises(TypeError, resource.getrlimit)
15 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
23 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
37 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
86 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
119 limits = resource.getrlimit(resource.RLIMIT_CPU)
155 limit = resource.getrlimit(resource.RLIMIT_AS)
170 limits = resource.getrlimit(resource.RLIMIT_AS)
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Drestrict-process-size.c57 if (getrlimit(RLIMIT_AS, &rlim) < 0) { in restrict_get_process_size()
62 if (getrlimit(RLIMIT_DATA, &rlim) < 0) { in restrict_get_process_size()
76 if (getrlimit(RLIMIT_CORE, &rlim) < 0) { in restrict_get_core_limit()
92 if (getrlimit(RLIMIT_NPROC, &rlim) < 0) { in restrict_get_process_limit()
107 if (getrlimit(RLIMIT_NOFILE, &rlim) < 0) { in restrict_get_fd_limit()
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_resource.py12 self.assertRaises(TypeError, resource.getrlimit)
13 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
80 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
106 limits = resource.getrlimit(resource.RLIMIT_CPU)
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_resource.py12 self.assertRaises(TypeError, resource.getrlimit)
13 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
80 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
106 limits = resource.getrlimit(resource.RLIMIT_CPU)
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/libdruntime/core/sys/posix/sys/
H A Dresource.d531 int getrlimit(int, rlimit*);
533 alias getrlimit getrlimit64;
687 int getrlimit(int, rlimit*);
694 int getrlimit(int, rlimit*);
700 int getrlimit(int, rlimit*);
706 int getrlimit(int, rlimit*);
712 int getrlimit(int, rlimit*);
718 int getrlimit(int, rlimit*);
724 int getrlimit(int, rlimit*);
730 int getrlimit(int, rlimit*);
[all …]
/dports/lang/gcc11/gcc-11.2.0/libphobos/libdruntime/core/sys/posix/sys/
H A Dresource.d531 int getrlimit(int, rlimit*);
533 alias getrlimit getrlimit64;
687 int getrlimit(int, rlimit*);
694 int getrlimit(int, rlimit*);
700 int getrlimit(int, rlimit*);
706 int getrlimit(int, rlimit*);
712 int getrlimit(int, rlimit*);
718 int getrlimit(int, rlimit*);
724 int getrlimit(int, rlimit*);
730 int getrlimit(int, rlimit*);
[all …]
/dports/lang/gcc10/gcc-10.3.0/libphobos/libdruntime/core/sys/posix/sys/
H A Dresource.d530 int getrlimit(int, rlimit*);
532 alias getrlimit getrlimit64;
686 int getrlimit(int, rlimit*);
693 int getrlimit(int, rlimit*);
699 int getrlimit(int, rlimit*);
705 int getrlimit(int, rlimit*);
711 int getrlimit(int, rlimit*);
717 int getrlimit(int, rlimit*);
723 int getrlimit(int, rlimit*);
729 int getrlimit(int, rlimit*);
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/libphobos/libdruntime/core/sys/posix/sys/
H A Dresource.d531 int getrlimit(int, rlimit*);
533 alias getrlimit getrlimit64;
687 int getrlimit(int, rlimit*);
694 int getrlimit(int, rlimit*);
700 int getrlimit(int, rlimit*);
706 int getrlimit(int, rlimit*);
712 int getrlimit(int, rlimit*);
718 int getrlimit(int, rlimit*);
724 int getrlimit(int, rlimit*);
730 int getrlimit(int, rlimit*);
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/libphobos/libdruntime/core/sys/posix/sys/
H A Dresource.d530 int getrlimit(int, rlimit*);
532 alias getrlimit getrlimit64;
686 int getrlimit(int, rlimit*);
693 int getrlimit(int, rlimit*);
699 int getrlimit(int, rlimit*);
705 int getrlimit(int, rlimit*);
711 int getrlimit(int, rlimit*);
717 int getrlimit(int, rlimit*);
723 int getrlimit(int, rlimit*);
729 int getrlimit(int, rlimit*);
[all …]

12345678910>>...188