ライブラリ
- ビルトイン (96)
-
cgi
/ html (60) - etc (12)
- fileutils (12)
- json (48)
- mkmf (48)
- monitor (6)
-
net
/ imap (12) - openssl (144)
- pstore (12)
- pty (12)
- rake (12)
-
rexml
/ document (12) -
rubygems
/ package / tar _ header (12) -
rubygems
/ package / tar _ writer (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (60)
- strscan (48)
- uri (72)
-
win32
/ registry (192) - win32ole (12)
クラス
- BasicSocket (12)
- Exception (24)
-
Gem
:: Package :: TarHeader (12) -
Gem
:: Package :: TarWriter (12) -
JSON
:: State (24) - Module (12)
- Monitor (6)
-
Net
:: IMAP (12) - Object (24)
-
OpenSSL
:: BN (36) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: X509 :: Certificate (12) - PStore (12)
-
REXML
:: Text (12) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (24)
- StringScanner (48)
-
URI
:: FTP (24) -
URI
:: Generic (12) -
URI
:: HTTP (12) -
URI
:: LDAP (12) -
URI
:: MailTo (12) - WIN32OLE (12)
モジュール
-
CGI
:: HtmlExtension (60) - Etc (12)
- FileUtils (24)
- GC (12)
- JSON (24)
- Kernel (72)
-
OpenSSL
:: OCSP (12) -
OpenSSL
:: SSL (24) -
OpenSSL
:: X509 (24) - PTY (12)
-
Socket
:: Constants (24) -
Win32
:: Registry :: API (192)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - == (12)
- === (12)
-
Check
_ SafeStr (1) -
Check
_ Type (12) - CloseKey (12)
- CreateKey (12)
- DeleteKey (12)
- DeleteValue (12)
-
EMPTY
_ MARSHAL _ CHECKSUM (12) - EnumKey (12)
- EnumValue (12)
- FlushKey (12)
-
IPV6
_ CHECKSUM (24) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 0 . 0 (5) - NOCHECKS (12)
- OPTS (12)
-
OP
_ PKCS1 _ CHECK _ 1 (12) -
OP
_ PKCS1 _ CHECK _ 2 (12) - OpenKey (12)
- QueryInfoKey (12)
- QueryValue (12)
-
SC
_ 2 _ PBS _ CHECKPOINT (12) -
SO
_ NO _ CHECK (24) - SafeStringValue (12)
- SetValue (12)
-
V
_ FLAG _ CRL _ CHECK (12) -
V
_ FLAG _ CRL _ CHECK _ ALL (12) -
backtrace
_ locations (12) -
block
_ given? (12) -
check
_ circular? (12) -
check
_ closed (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)
-
cvar
_ override _ check (12) -
finish
_ all _ jobs (18) - generate (12)
- getpeereid (12)
-
initialize
_ copy (12) - iterator? (12)
-
mon
_ check _ owner (6) - new (84)
- new2 (12)
-
ole
_ query _ interface (12) - packdw (12)
- packqw (12)
-
post
_ connection _ check (12) - prime? (24)
-
prime
_ fasttest? (12) -
rb
_ check _ convert _ type (12) -
rb
_ check _ safe _ str (1) -
rb
_ cstr _ to _ dbl (12) -
rb
_ eval _ cmd (12) -
rb
_ read _ check (1) -
rb
_ str _ to _ dbl (12) -
rb
_ thread _ check (12) -
remove
_ entry _ secure (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby2
_ keywords (12) -
ruby
_ stack _ check (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / search _ command (12) -
scan
_ full (12) -
search
_ full (12) - sh (12)
-
stack
_ check (12) - unpackdw (12)
- unpackqw (12)
- unparse (12)
検索結果
先頭5件
-
Net
:: IMAP # check -> Net :: IMAP :: TaggedResponse (21217.0) -
CHECK コマンドを送り、現在処理しているメールボックスの チェックポイントを要求します。
...CHECK コマンドを送り、現在処理しているメールボックスの
チェックポイントを要求します。
チェックポイントの要求とは、サーバ内部で保留状態になっている
操作を完了させることを意味します。例えばメモリ上にある... -
StringScanner
# check(regexp) -> String | nil (21213.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
//}... -
PTY
. check(pid , raise = false) -> Process :: Status | nil (18207.0) -
pid で指定された子プロセスの状態をチェックし、変化があれば変化したステータスを 返します。実行中、あるいは変化なしであれば nil を返します。
...pid で指定された子プロセスの状態をチェックし、変化があれば変化したステータスを
返します。実行中、あるいは変化なしであれば nil を返します。
状態が変化した後、その状態を取得することは一回しかできない(く...... check を
呼んだら nil が返ってくる)ので注意してください。
状態が変化して、終了したか停止した場合、第二引数が偽であれば、
対応する Process::Status オブジェクトを返します。
@param pid チェックしたい子プロセスの PID......を指定します。
@param raise 真を指定すると、子プロセスが終了または停止していた場合、
例外 PTY::ChildExited が発生します。デフォルトは偽です。
(なお、バグにより、1.9.2 pXXX より古い ruby では、終了ま... -
Win32
:: Registry :: API . # check(result) (18101.0) -
@todo
@todo -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (12434.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.
...eturns 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...... 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_I......NT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (12434.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.
...eturns 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...... 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_I......NT=-1 if check_signedness('int') is
done.... -
StringScanner
# check _ until(regexp) -> String | nil (12307.0) -
regexp が一致するまで文字列をスキャンします。 マッチに成功したらスキャン開始位置からマッチ部分の末尾までの部分文字列を返します。 マッチに失敗したら nil を返します。
...したら nil を返します。
このメソッドはマッチが成功してもスキャンポインタを進めません。
@param regexp マッチに用いる正規表現を指定します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.check_until(/str/) # =... -
OpenSSL
:: X509 :: Certificate # check _ private _ key(private _ key) -> bool (12301.0) -
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
...与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
確認に成功した場合に真を返します。
@param private_key 確認用の秘密鍵... -
JSON
:: State # check _ circular? -> bool (12213.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?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[...