るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
39件ヒット [1-39件を表示] (0.050秒)

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer new

検索結果

BigDecimal#sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (54640.0)

自身の符号等の性質に応じて、Integer を返します。

自身の符号等の性質に応じて、Integer を返します。

符号が正であれば正の整数を返し、負であれば負の整数を返し、NaN であれば 0 を返します。

NaN であれば、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZERO と同じです。
-0 であれば、-1。 BigDecimal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE ...

SignalException#signo -> Integer (27604.0)

self のシグナル番号を返します。

self のシグナル番号を返します。

//emlist[例][ruby]{
p Signal.signame(1) # => "HUP"
begin
Process.kill('HUP', Process.pid)
sleep
rescue SignalException => e
p e.signo # => 1
end
//}

Kernel#check_signedness(type, headers = nil, opts = nil) -> "signed" | "unsigned" | nil (18997.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.

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...

Kernel#check_signedness(type, headers = nil, opts = nil) { ... } -> "signed" | "unsigned" | nil (18997.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.

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...

BigDecimal::SIGN_NEGATIVE_FINITE -> Integer (18655.0)

負の値に対応する BigDecimal#sign の値を返します。

負の値に対応する BigDecimal#sign の値を返します。

絞り込み条件を変える

BigDecimal::SIGN_NEGATIVE_INFINITE -> Integer (18655.0)

負の無限大に対応する BigDecimal#sign の値を返します。

負の無限大に対応する BigDecimal#sign の値を返します。

BigDecimal::SIGN_NEGATIVE_ZERO -> Integer (18655.0)

負の 0 に対応する BigDecimal#sign の値を返します。

負の 0 に対応する BigDecimal#sign の値を返します。

BigDecimal::SIGN_NaN -> Integer (18655.0)

NaN に対応する BigDecimal#sign の値を返します。

NaN に対応する BigDecimal#sign の値を返します。

BigDecimal::SIGN_POSITIVE_FINITE -> Integer (18655.0)

正の値に対応する BigDecimal#sign の値を返します。

正の値に対応する BigDecimal#sign の値を返します。

BigDecimal::SIGN_POSITIVE_INFINITE -> Integer (18655.0)

正の無限大に対応する BigDecimal#sign の値を返します。

正の無限大に対応する BigDecimal#sign の値を返します。

絞り込み条件を変える

BigDecimal::SIGN_POSITIVE_ZERO -> Integer (18655.0)

正の 0 に対応する BigDecimal#sign の値を返します。

正の 0 に対応する BigDecimal#sign の値を返します。

OpenSSL::X509::PURPOSE_CRL_SIGN -> Integer (18607.0)

証明書が CRL の署名をするのに利用可能かを チェックすることを意味します。

証明書が CRL の署名をするのに利用可能かを
チェックすることを意味します。

OpenSSL::X509::Store#purpose= や
OpenSSL::X509::StoreContext#purpose= で設定し、
OpenSSL::X509::Store#verify や
OpenSSL::X509::StoreContext#verify で
このことを確認します。

OpenSSL::X509::PURPOSE_SMIME_SIGN -> Integer (18607.0)

証明書が S/MIME の署名をするのに使えるか チェックすることを意味します。

証明書が
S/MIME の署名をするのに使えるか
チェックすることを意味します。

OpenSSL::X509::Store#purpose= や
OpenSSL::X509::StoreContext#purpose= で設定し、
OpenSSL::X509::Store#verify や
OpenSSL::X509::StoreContext#verify で
このことを確認します。

OpenSSL::X509::TRUST_OBJECT_SIGN -> Integer (18607.0)

@todo

@todo

OpenSSL::X509::TRUST_OCSP_SIGN -> Integer (18607.0)

@todo

@todo

絞り込み条件を変える

OpenSSL::OCSP::NOCASIGN -> Integer (18604.0)

このフラグ定数は使われていません。

このフラグ定数は使われていません。

OpenSSL::X509::V_ERR_CERT_SIGNATURE_FAILURE -> Integer (18604.0)

証明書になされた署名の検証に失敗したことを意味します。

証明書になされた署名の検証に失敗したことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

OpenSSL::X509::V_ERR_CRL_SIGNATURE_FAILURE -> Integer (18604.0)

CRL になされた署名の検証に失敗したことを意味します。

CRL になされた署名の検証に失敗したことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

OpenSSL::X509::V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT -> Integer (18604.0)

検証している証明書がルート CA (自己署名証明書)であり、 それが信頼されている証明書でないことを意味します。

検証している証明書がルート CA (自己署名証明書)であり、
それが信頼されている証明書でないことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths

OpenSSL::X509::V_ERR_KEYUSAGE_NO_CERTSIGN -> Integer (18604.0)

署名できない証明書で署名しようしとたことを意味します。

署名できない証明書で署名しようしとたことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

絞り込み条件を変える

OpenSSL::X509::V_ERR_SELF_SIGNED_CERT_IN_CHAIN -> Integer (18604.0)

証明書チェインのルート CA (自己署名証明書)が 信頼されている証明書でないことを意味します。

証明書チェインのルート CA (自己署名証明書)が
信頼されている証明書でないことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths

OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE -> Integer (18604.0)

証明書の署名が復号できないことを意味します。

証明書の署名が復号できないことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE -> Integer (18604.0)

CRL の署名が復号できないことを意味します。

CRL の署名が復号できないことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

OpenSSL::X509::V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE -> Integer (18604.0)

証明書チェインにある証明書がただ一つでその証明書が 自己署名証明書でないことを意味します。

証明書チェインにある証明書がただ一つでその証明書が
自己署名証明書でないことを意味します。

Socket::Constants::MSG_NOSIGNAL -> Integer (18604.0)

Do not generate SIGPIPE

Do not generate SIGPIPE

BasicSocket#send, BasicSocket#sendmsg の
flags 引数に用います。

@see send(2linux), send(2freebsd)

絞り込み条件を変える

Socket::MSG_NOSIGNAL -> Integer (18604.0)

Do not generate SIGPIPE

Do not generate SIGPIPE

BasicSocket#send, BasicSocket#sendmsg の
flags 引数に用います。

@see send(2linux), send(2freebsd)

Etc::SC_REALTIME_SIGNALS -> Integer (9991.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

OpenSSL::PKCS7::SignerInfo#serial -> Integer (9304.0)

署名者の証明書の識別番号を返します。

署名者の証明書の識別番号を返します。

これと OpenSSL::PKCS7::SignerInfo#issuer で
署名者を一意に識別します。

Process.#kill(signal, pid, *rest) -> Integer (604.0)

pid で指定されたプロセスにシグナルを送ります。signal はシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。 全てのシグナル送信に成功した場合、指定した pid の総数を返します。

pid で指定されたプロセスにシグナルを送ります。signal
はシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。
全てのシグナル送信に成功した場合、指定した pid の総数を返します。

@param signal シグナルをシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、プロセスではなくプロセスグループにシグナルを送ります。

@param pid シグナルを送りたいプロセスのプロセス ID を整数で指定します。ただし、0 以下の場合は以下のような意味になります。

* 0 ...

Shell#kill(signal, job) -> Integer (604.0)

@todo

@todo

ジョブにシグナルを送ります。

@param signal

@param job

絞り込み条件を変える

Shell::ProcessController#kill_job(signal, command) -> Integer (604.0)

指定されたコマンドにシグナルを送ります。

指定されたコマンドにシグナルを送ります。

@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。

@param command コマンドを指定します。

@see Process.#kill

Shell::SystemCommand#kill(signal) -> Integer (604.0)

自身のプロセスにシグナルを送ります。

自身のプロセスにシグナルを送ります。

@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。

@see Process.#kill

OpenSSL::PKCS7::BINARY -> Integer (322.0)

MIME canonical format への変換を行いません。

MIME canonical format への変換を行いません。

OpenSSL::PKCS7.sign、OpenSSL::PKCS7.encrypt
で利用可能なフラグです。

OpenSSL::PKCS7::DETACHED -> Integer (322.0)

平文に署名を付ける形式 (multipart/signed) で行います。

平文に署名を付ける形式 (multipart/signed) で行います。

OpenSSL::PKCS7.sign、OpenSSL::PKCS7.write_smime
で利用可能なフラグです。

OpenSSL::PKCS7::NOATTR -> Integer (322.0)

PKCS#7 autenticatedAttributes(署名した時間などの情報) を省略します。

PKCS#7 autenticatedAttributes(署名した時間などの情報)
を省略します。

OpenSSL::PKCS7.sign で利用可能なフラグです。

絞り込み条件を変える

OpenSSL::PKCS7::NOCERTS -> Integer (322.0)

署名者の証明書を署名に含めません。送り先がすでに証明書をもっている場合 など、他の方法で証明書を手に入れることができる場合に データ量を減らすために用います。

署名者の証明書を署名に含めません。送り先がすでに証明書をもっている場合
など、他の方法で証明書を手に入れることができる場合に
データ量を減らすために用います。

OpenSSL::PKCS7.sign で利用可能なフラグです。

OpenSSL::PKCS7::NOSMIMECAP -> Integer (322.0)

署名者が使用可能な暗号アルゴリズムの情報など(SMIMECapabilities)を省略します。

署名者が使用可能な暗号アルゴリズムの情報など(SMIMECapabilities)を省略します。

OpenSSL::PKCS7.sign で利用可能なフラグです。

OpenSSL::PKCS7::TEXT -> Integer (322.0)

text/plain タイプの MIME ヘッダーを取り扱います。

text/plain タイプの MIME ヘッダーを取り扱います。

OpenSSL::PKCS7.sign, OpenSSL::PKCS7.write_smime,
OpenSSL::PKCS7#verify,
OpenSSL::PKCS7.encrypt, OpenSSL::PKCS7#decrypt
で利用可能なフラグです。

bigdecimal (73.0)

bigdecimal は浮動小数点数演算ライブラリです。 任意の精度で 10 進表現された浮動小数点数を扱えます。

bigdecimal は浮動小数点数演算ライブラリです。
任意の精度で 10 進表現された浮動小数点数を扱えます。

//emlist[][ruby]{
require 'bigdecimal'
a = BigDecimal("0.123456789123456789")
b = BigDecimal("123456.78912345678", 40)
print a + b # => 0.123456912580245903456789e6
//}

一般的な 10 進数の計算でも有用です。2 進数の浮動小数点演算には微小な誤
差があるのに対し、BigDecimal では正確な値を得る事がで...