ライブラリ
- ビルトイン (54)
-
cgi
/ html (60) - json (12)
- mkmf (48)
- monitor (6)
-
net
/ imap (12) - openssl (108)
- rake (12)
-
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ writer (12) -
shell
/ command-processor (12) -
shell
/ filter (12) - socket (24)
- strscan (48)
- win32ole (12)
クラス
- BasicSocket (12)
- Exception (24)
-
Gem
:: Package :: TarHeader (24) -
Gem
:: Package :: TarWriter (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 :: SSLSocket (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (12) - Proc (6)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (12)
- StringScanner (48)
- WIN32OLE (12)
モジュール
-
CGI
:: HtmlExtension (60) - FileUtils (12)
- Kernel (48)
キーワード
- == (12)
- === (12)
-
backtrace
_ locations (12) -
check
_ circular? (12) -
check
_ closed (12) -
check
_ key (12) -
check
_ nonce (12) -
check
_ point (12) -
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 (12) - flags= (24)
- getpeereid (12)
-
mon
_ check _ owner (6) -
ole
_ query _ interface (12) -
post
_ connection _ check (12) - prime? (24)
-
prime
_ fasttest? (12) -
ruby2
_ keywords (18) -
scan
_ full (12) -
search
_ full (12) - sh (12)
-
update
_ checksum (12)
検索結果
先頭5件
-
StringScanner
# check(regexp) -> String | nil (21214.0) -
現在位置から regexp とのマッチを試みます。 マッチに成功したらマッチした部分文字列を返します。 マッチに失敗したら nil を返します。
...位置から regexp とのマッチを試みます。
マッチに成功したらマッチした部分文字列を返します。
マッチに失敗したら 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
//}... -
Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse (18218.0) -
CHECK コマンドを送り、現在処理しているメールボックスの チェックポイントを要求します。
...CHECK コマンドを送り、現在処理しているメールボックスの
チェックポイントを要求します。
チェックポイントの要求とは、サーバ内部で保留状態になっている
操作を完了させることを意味します。例えばメモリ上にある... -
OpenSSL
:: X509 :: Certificate # check _ private _ key(private _ key) -> bool (12302.0) -
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
...与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
確認に成功した場合に真を返します。
@param private_key 確認用の秘密鍵... -
JSON
:: State # check _ circular? -> bool (12214.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
...ース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
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 = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[......]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
s2 = JSON.state.new(max_nesting: 0)
json = JSON.generate(a, s2)
[json, s2.max_nesting, s2.check_circular?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]... -
Monitor
# mon _ check _ owner -> nil (12202.0) -
MonitorMixin 用の内部メソッドです。
...MonitorMixin 用の内部メソッドです。
@raise ThreadError ロックを持っていないスレッドが呼びだした場合に発生します... -
CGI
:: HtmlExtension # checkbox _ group(attributes) -> String (12201.0) -
タイプが checkbox である input 要素のグループを生成します。
... checkbox である input 要素のグループを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param attributes 属性をハッシュで指定します。
例:
checkbox_group(......{ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })
checkbox_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })
checkbox_group({ "NAME" => "name",
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })... -
CGI
:: HtmlExtension # checkbox _ group(name = "" , *values) -> String (12201.0) -
タイプが checkbox である input 要素のグループを生成します。
...タイプが checkbox である input 要素のグループを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param name name 属性の値を指定します。
@param values value......true であれば、
checked 属性をセットします。先頭の要素は value 属性の値になります。
例:
checkbox_group("name", "foo", "bar", "baz")
# <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo
# <INPUT TYPE="checkbox" NAME="name" VALUE="bar">bar......TYPE="checkbox" NAME="name" VALUE="baz">baz
checkbox_group("name", ["foo"], ["bar", true], "baz")
# <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo
# <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="bar">bar
# <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz
checkbox_group("n... -
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.
...
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......'=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 S......IGNEDNESS_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.
...
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......'=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 S......IGNEDNESS_OF_INT=-1 if check_signedness('int') is
done....