ライブラリ
- ビルトイン (49)
-
cgi
/ html (55) - json (11)
- mkmf (44)
- monitor (5)
- openssl (110)
- rake (11)
-
rubygems
/ package / tar _ writer (11) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (11)
- strscan (44)
- win32ole (11)
クラス
- Exception (22)
-
Gem
:: Package :: TarWriter (11) -
JSON
:: State (11) - Module (5)
- Monitor (5)
- Object (22)
-
OpenSSL
:: BN (33) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKey :: EC (11) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: X509 :: Certificate (11) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (11) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (11)
- StringScanner (44)
- WIN32OLE (11)
モジュール
-
CGI
:: HtmlExtension (55) - FileUtils (11)
- Kernel (44)
キーワード
- == (11)
- === (11)
-
backtrace
_ locations (11) -
check
_ circular? (11) -
check
_ closed (11) -
check
_ key (11) -
check
_ nonce (11) -
check
_ point (18) -
check
_ private _ key (11) -
check
_ signedness (22) -
check
_ sizeof (22) -
check
_ until (11) - checkbox (22)
-
checkbox
_ group (22) -
connect
_ nonblock (11) -
finish
_ all _ jobs (18) - flags= (22)
-
initialize
_ copy (11) -
mon
_ check _ owner (5) -
ole
_ query _ interface (11) -
post
_ connection _ check (11) - prime? (22)
-
prime
_ fasttest? (11) -
ruby2
_ keywords (5) -
scan
_ full (11) -
search
_ full (11) - sh (11)
検索結果
先頭5件
-
StringScanner
# check(regexp) -> String | nil (18214.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
//}... -
JSON
:: State # check _ circular? -> bool (12214.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
...循環参照のチェックを行う場合は、真を返します。
そうでない場合は偽を返します。
//emlist[例 ネストをチェックするケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[......s = JSON.state.new
begin
JSON.generate(a, s)
rescue JSON::NestingError => e
[e, s.max_nesting, s.check_circular?] # => [#<JSON::NestingError: nesting of 100 is too deep>, 100, true]
end
//}
//emlist[例 ネストをチェックしないケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[......son = JSON.generate(a, s2)
[json, s2.max_nesting, s2.check_circular?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", 0, false]
//}... -
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/) # =... -
Gem
:: Package :: TarWriter # check _ closed (12202.0) -
自身に関連付けられた IO が既に close されているかどうかチェックします。
...自身に関連付けられた IO が既に close されているかどうかチェックします。
@raise IOError 自身に関連付けられた IO が既に close されている場合に発
生します。... -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (12102.0) -
接続後検証を行います。
...。
検証に成功した場合は true を返し、失敗した場合は例外
OpenSSL::SSL::SSLError を発生させます。
OpenSSL の API では、
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
での検証は実用的には不完全です。
CA が証明書に署名......証明書に記載されている FQDN が
一致しているかどうかを調べます。このメソッドはその FQDN のチェックを行ないます。
@param hostname チェックする FQDN の文字列
@raise OpenSSL::SSL::SSLError チェックに失敗した場合に発生します... -
CGI
:: HtmlExtension # checkbox(name = "" , value = nil , checked = nil) -> String (9301.0) -
タイプが checkbox である input 要素を生成します。
...イプが checkbox である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked checked 属性の値を指定します。
例:
checkbox("name", "value", true)
# => "<INPUT CHECKED NAME=\"nam......e\" TYPE=\"checkbox\" VALUE=\"value\">"... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (9235.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.
...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 '=......ned, 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.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (9235.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.
...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 '=......ned, 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.... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (9209.0) -
与えられた型のサイズを返します。
...SIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイ... -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (9209.0) -
与えられた型のサイズを返します。
...SIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイ...