22件ヒット
[1-22件を表示]
(0.076秒)
検索結果
-
OpenSSL
:: PKey :: EC :: Point # infinity? -> bool (18201.0) -
自身が無限遠点であるならば true を返します。
自身が無限遠点であるならば true を返します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#set_to_infinity! -
Process
. # getrlimit(resource) -> [Integer] (112.0) -
カレントプロセスでのリソースの制限値を、整数の配列として返します。 返り値は、現在の制限値 cur_limit と、制限値として設定可能な最大値 max_limit の 配列 [cur_limit, max_limit] です。
...のサイズ (バイト) (SUSv3)
: Process::RLIMIT_AS
プロセスの仮想メモリサイズ (バイト) (SUSv3, NetBSD, FreeBSD, OpenBSD but 4.4BSD-Lite))
: Process::RLIMIT_MEMLOCK
mlock(2) でロックできるトータルのサイズ (バイト) (4.4BSD, GNU/Linux)
: Process::RLIMIT_NPROC......(バイト) (NetBSD, FreeBSD)
例:
include Process
p lim = getrlimit(RLIMIT_STACK) #=> [8388608, 18446744073709551615]
p lim.map{|i| i == RLIM_INFINITY ? "unlimited" : "#{i/(1024**2)}MB" } #=> ["8MB", "unlimited"]
@see Process.#setrlimit, getrlimit(2)...