ライブラリ
- ビルトイン (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 - CGI
:: HtmlExtension # checkbox(name = "" , value = nil , checked = nil) -> String - 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 (18118.0) -
CHECK コマンドを送り、現在処理しているメールボックスの チェックポイントを要求します。
...CHECK コマンドを送り、現在処理しているメールボックスの
チェックポイントを要求します。
チェックポイントの要求とは、サーバ内部で保留状態になっている
操作を完了させることを意味します。例えばメモリ上にある... -
StringScanner
# check(regexp) -> String | nil (18114.0) -
現在位置から 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
//}... -
CGI
:: HtmlExtension # checkbox(name = "" , value = nil , checked = nil) -> String (6201.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 (6135.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.
...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 (6135.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.
...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.... -
JSON
:: State # check _ circular? -> bool (6114.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[例 ネストをチェックしないケース][r......]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
s2 = JSON.state.new(max_nesting: 0)
json = JSON.generate(a, s2)
[json, s2.max_nesting, s2.check_circular?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]]]]]]]]]]]... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (6109.0) -
与えられた型のサイズを返します。
...、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@par... -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (6109.0) -
与えられた型のサイズを返します。
...、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@par... -
StringScanner
# check _ until(regexp) -> String | nil (6108.0) -
regexp が一致するまで文字列をスキャンします。 マッチに成功したらスキャン開始位置からマッチ部分の末尾までの部分文字列を返します。 マッチに失敗したら nil を返します。
...めません。
@param regexp マッチに用いる正規表現を指定します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.check_until(/str/) # => "test str"
s.matched # => "str"
s.pos # => 0
s.pre_match # => "test "
//}...