別のキーワード
ライブラリ
- ビルトイン (108)
- bigdecimal (12)
-
fiddle
/ import (12) -
minitest
/ unit (1) - mkmf (24)
- openssl (12)
-
rubygems
/ package (12) -
rubygems
/ package / tar _ output (12)
クラス
- BigDecimal (12)
-
Gem
:: Package :: TarOutput (12) -
MiniTest
:: Unit :: TestCase (1) - Proc (48)
モジュール
-
Fiddle
:: Importer (12) -
Gem
:: Package (12) - Kernel (48)
- Signal (36)
キーワード
- === (12)
- RSA (12)
-
SUPPORTS
_ INFO _ SIGNAL (1) - [] (12)
- bigdecimal (12)
- bind (12)
- call (12)
-
check
_ signedness (24) - open (24)
-
rubygems
/ security (12) - signame (12)
- trap (48)
- yield (12)
検索結果
先頭5件
- BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 - Signal
. # signame(signo) -> String | nil - Signal
. # signame(signo) -> String - Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil
-
BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (18803.0) -
自身の符号等の性質に応じて、Integer を返します。
...、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZERO と同じです。
-0 であれば、-1。 BigDecimal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE と同......す。
有限の負の値 であれば、-2。 BigDecimal::SIGN_NEGATIVE_FINITE と同じです。
+Infinity であれば、 3。 BigDecimal::SIGN_POSITIVE_INFINITE と同じです。
-Infinity であれば、-3。 BigDecimal::SIGN_NEGATIVE_INFINITE と同じです。
BigDecimal は、 0......).sign # => 0
p BigDecimal("0").sign # => 1
p BigDecimal("100").sign # => 2
p BigDecimal("Infinity").sign # => 3
p BigDecimal("-0").sign # => -1
p BigDecimal("-5").sign # => -2
p BigDecimal("-Infinity").sign # => -3
p BigDecimal("0").sign == BigDecimal::SIGN_P... -
Signal
. # signame(signo) -> String | nil (9313.0) -
引数で指定されたシグナル番号をシグナル名に変換して返します。 対応するシグナル番号が存在しない場合は nil を返します。
...引数で指定されたシグナル番号をシグナル名に変換して返します。
対応するシグナル番号が存在しない場合は nil を返します。
Signal.trap("INT") { |signo| puts Signal.signame(signo) }
Process.kill("INT", 0)
# => INT
@see Signal.#list... -
Signal
. # signame(signo) -> String (9212.0) -
引数で指定されたシグナル番号をシグナル名に変換して返します。
...引数で指定されたシグナル番号をシグナル名に変換して返します。
Signal.trap("INT") { |signo| puts Signal.signame(signo) }
Process.kill("INT", 0)
# => INT
@see Signal.#list... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (6504.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......ype+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (6504.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......ype+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int... -
MiniTest
:: Unit :: TestCase :: SUPPORTS _ INFO _ SIGNAL -> Fixnum | nil (6201.0) -
Signal が INFO というシグナルをサポートしているかどうかを 調べるための定数です。内部で使用します。
...
Signal が INFO というシグナルをサポートしているかどうかを
調べるための定数です。内部で使用します。... -
Signal
. # trap(signal) { . . . } -> String | Proc | nil (3304.0) -
指定された割り込み signal に対するハンドラとして command を登録します。 指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。 ブロックを指定した場合にはブロックをハンドラとして登録します。
...指定された割り込み signal に対するハンドラとして
command を登録します。
指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。
ブロックを指定した場合にはブロックをハンドラとして登......ンドラが登録された場合
(例えば拡張ライブラリが独自に sigaction を呼んだ場合など)
も nil を返します。
@param signal シグナル名を表す文字列か Symbol、またはシグナル番号を指定します。
さらに特別な値として 0......ことも出来ます。
@raise ArgumentError 引数 signalに SEGV BUS ILL FPE VTALRM を指定した場
合に発生します。また、システムに定義されていないシ
グナルを引数 signal に指定した場合に発生します。... -
Signal
. # trap(signal , command) -> String | Proc | nil (3304.0) -
指定された割り込み signal に対するハンドラとして command を登録します。 指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。 ブロックを指定した場合にはブロックをハンドラとして登録します。
...指定された割り込み signal に対するハンドラとして
command を登録します。
指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。
ブロックを指定した場合にはブロックをハンドラとして登......ンドラが登録された場合
(例えば拡張ライブラリが独自に sigaction を呼んだ場合など)
も nil を返します。
@param signal シグナル名を表す文字列か Symbol、またはシグナル番号を指定します。
さらに特別な値として 0......ことも出来ます。
@raise ArgumentError 引数 signalに SEGV BUS ILL FPE VTALRM を指定した場
合に発生します。また、システムに定義されていないシ
グナルを引数 signal に指定した場合に発生します。... -
Kernel
. # trap(signal) { . . . } -> String | Proc | nil (304.0) -
signal で指定された割り込みにたいするハンドラとして command を登録します。Signal.#trapと同じです。
...
signal で指定された割り込みにたいするハンドラとして
command を登録します。Signal.#trapと同じです。
Signal.#trapの使用を推奨します。
@param signal Signal.#trap 参照
@param command Signal.#trap 参照
@see Signal.#trap,Signal... -
Kernel
. # trap(signal , command) -> String | Proc | nil (304.0) -
signal で指定された割り込みにたいするハンドラとして command を登録します。Signal.#trapと同じです。
...
signal で指定された割り込みにたいするハンドラとして
command を登録します。Signal.#trapと同じです。
Signal.#trapの使用を推奨します。
@param signal Signal.#trap 参照
@param command Signal.#trap 参照
@see Signal.#trap,Signal... -
Gem
:: Package . open(io , mode = & # 39;r& # 39; , signer = nil) {|tar _ io| . . . } (201.0) -
@todo ???
...。
@param io IO オブジェクトを指定します。普通は Gem パッケージを開いたファイルオブジェクトを指定します。
@param mode モードを文字列で指定します。指定できるモードは読み込み (r) と書き込み (w) です。
@param signer ???...