ライブラリ
- ビルトイン (66)
-
cgi
/ html (60) - json (12)
- mkmf (48)
- monitor (6)
-
net
/ imap (12) - openssl (120)
- rake (12)
-
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ writer (12) - shell (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 (24)
-
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) - Proc (6)
- Shell (12)
-
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 (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 (18) -
scan
_ full (12) -
search
_ full (12) - sh (12)
-
update
_ checksum (12)
検索結果
先頭5件
- Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse - StringScanner
# check(regexp) -> String | nil - OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true - CGI
:: HtmlExtension # checkbox(name = "" , value = nil , checked = nil) -> String - Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil
-
Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse (24218.0) -
CHECK コマンドを送り、現在処理しているメールボックスの チェックポイントを要求します。
...CHECK コマンドを送り、現在処理しているメールボックスの
チェックポイントを要求します。
チェックポイントの要求とは、サーバ内部で保留状態になっている
操作を完了させることを意味します。例えばメモリ上にある... -
StringScanner
# check(regexp) -> String | nil (24214.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
//}... -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (15302.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 (12401.0) -
タイプが checkbox である input 要素を生成します。
... checkbox である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked checked 属性の値を指定します。
例:
checkbox("name", "value", true)
# => "<INPUT CHECKED NAME=\"name\" TYPE=......\"checkbox\" VALUE=\"value\">"... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (12235.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......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 ma......cro 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 (12235.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......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 ma......cro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
JSON
:: State # check _ circular? -> bool (12226.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
.../emlist[例 ネストをチェックするケース][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?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (12209.0) -
与えられた型のサイズを返します。
...ます。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # =......> 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。... -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (12209.0) -
与えられた型のサイズを返します。
...ます。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # =......> 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。...