ライブラリ
- ビルトイン (48)
-
cgi
/ html (60) - json (12)
- mkmf (48)
- monitor (6)
-
net
/ imap (12) - openssl (120)
-
rubygems
/ package / tar _ header (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (24)
- strscan (48)
- win32ole (12)
クラス
- BasicSocket (12)
- Exception (24)
-
Gem
:: Package :: TarHeader (12) -
JSON
:: State (12) - Module (12)
- Monitor (6)
-
Net
:: IMAP (12) - Object (12)
-
OpenSSL
:: BN (36) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (12) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (12)
- StringScanner (48)
- WIN32OLE (12)
モジュール
-
CGI
:: HtmlExtension (60) - Kernel (48)
キーワード
- == (12)
-
backtrace
_ locations (12) -
check
_ circular? (12) -
check
_ key (12) -
check
_ nonce (12) -
check
_ point (18) -
check
_ private _ key (12) -
check
_ signedness (24) -
check
_ sizeof (24) -
check
_ until (12) - checkbox (24)
-
checkbox
_ group (24) - checksum (12)
-
connect
_ nonblock (12) -
finish
_ all _ jobs (18) - flags= (24)
- getpeereid (12)
-
initialize
_ copy (12) -
mon
_ check _ owner (6) -
ole
_ query _ interface (12) -
post
_ connection _ check (12) - prime? (24)
-
prime
_ fasttest? (12) -
ruby2
_ keywords (12) -
scan
_ full (12) -
search
_ full (12)
検索結果
先頭5件
- Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse - StringScanner
# check(regexp) -> String | nil - StringScanner
# check _ until(regexp) -> String | nil
-
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (21535.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_O......F_', 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 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (21535.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_O......F_', 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 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse (21218.0) -
CHECK コマンドを送り、現在処理しているメールボックスの チェックポイントを要求します。
...CHECK コマンドを送り、現在処理しているメールボックスの
チェックポイントを要求します。
チェックポイントの要求とは、サーバ内部で保留状態になっている
操作を完了させることを意味します。例えばメモリ上にある......メールの
データをディスクに書き込むため、fsyncを呼んだりすることです。
実際に何が行なわれるかはサーバの実装によりますし、何も行なわれない
場合もあります。... -
StringScanner
# check(regexp) -> String | nil (21214.0) -
現在位置から regexp とのマッチを試みます。 マッチに成功したらマッチした部分文字列を返します。 マッチに失敗したら nil を返します。
...敗したら nil を返します。
このメソッドはマッチが成功してもスキャンポインタを進めません。
@param regexp マッチに用いる正規表現を指定します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.check(/\w+/) # => "......test"
s.pos # => 0
s.matched # => "test"
s.check(/\s+/) # => nil
s.matched # => nil
//}... -
StringScanner
# check _ until(regexp) -> String | nil (12208.0) -
regexp が一致するまで文字列をスキャンします。 マッチに成功したらスキャン開始位置からマッチ部分の末尾までの部分文字列を返します。 マッチに失敗したら nil を返します。
...敗したら nil を返します。
このメソッドはマッチが成功してもスキャンポインタを進めません。
@param regexp マッチに用いる正規表現を指定します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.check_until(/str/)... -
Monitor
# mon _ check _ owner -> nil (12202.0) -
MonitorMixin 用の内部メソッドです。
...MonitorMixin 用の内部メソッドです。
@raise ThreadError ロックを持っていないスレッドが呼びだした場合に発生します... -
OpenSSL
:: OCSP :: Request # check _ nonce(basic _ resp) -> Integer (12202.0) -
自身の nonce とレスポンスの nonce が整合しているか チェックします。
...自身の nonce とレスポンスの nonce が整合しているか
チェックします。
-1 から 3 までの整数を返します。それぞれの意味は以下の通りです。
* -1 自身にしか nonce が設定されていない
* 0 nonce が自身とレスポンスの両方にあ......* 1 nonce が自身とレスポンスの両方にあり等しい
* 2 nonce が自身とレスポンスのどちらにもない
* 3 nonce がレスポンスにしか設定されていない
0 は明らかに不正なので、これは必ずチェックする必要があります。
1 は nonce......を意味します。
それ以外は、場合(サーバの実装など)
によって不正であったりそうでなかったりしますので、適切にチェック
する必要があります。
@param basic_resp 比較するレスポンス(OpenSSL::OCSP::BasicResponse オブジェクト)... -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (12202.0) -
接続後検証を行います。
...います。
検証に成功した場合は true を返し、失敗した場合は例外
OpenSSL::SSL::SSLError を発生させます。
OpenSSL の API では、
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
での検証は実用的には不完全です。
CA が証明書......通常は接続先ホストの FQDN と証明書に記載されている FQDN が
一致しているかどうかを調べます。このメソッドはその FQDN のチェックを行ないます。
@param hostname チェックする FQDN の文字列
@raise OpenSSL::SSL::SSLError チェックに... -
Shell
# check _ point (12202.0) -
@todo
@todo -
Shell
:: CommandProcessor # check _ point (12202.0) -
@todo
@todo