ライブラリ
- ビルトイン (82)
-
cgi
/ html (55) - etc (11)
- fileutils (11)
- json (44)
- mkmf (44)
- monitor (5)
-
net
/ imap (11) - openssl (132)
- pstore (11)
- pty (11)
- rake (11)
-
rexml
/ document (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ package / tar _ writer (11) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (55)
- strscan (44)
- uri (66)
-
win32
/ registry (176) - win32ole (11)
クラス
- BasicSocket (11)
- Exception (22)
-
Gem
:: Package :: TarHeader (11) -
Gem
:: Package :: TarWriter (11) -
JSON
:: State (22) - Module (5)
- Monitor (5)
-
Net
:: IMAP (11) - Object (22)
-
OpenSSL
:: BN (33) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: X509 :: Certificate (11) - PStore (11)
-
REXML
:: Text (11) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (22)
- StringScanner (44)
-
URI
:: FTP (22) -
URI
:: Generic (11) -
URI
:: HTTP (11) -
URI
:: LDAP (11) -
URI
:: MailTo (11) - WIN32OLE (11)
モジュール
-
CGI
:: HtmlExtension (55) - Etc (11)
- FileUtils (22)
- GC (11)
- JSON (22)
- Kernel (66)
-
OpenSSL
:: OCSP (11) -
OpenSSL
:: SSL (22) -
OpenSSL
:: X509 (22) - PTY (11)
-
Socket
:: Constants (22) -
Win32
:: Registry :: API (176)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - == (11)
- === (11)
-
Check
_ SafeStr (1) -
Check
_ Type (11) - CloseKey (11)
- CreateKey (11)
- DeleteKey (11)
- DeleteValue (11)
-
EMPTY
_ MARSHAL _ CHECKSUM (11) - EnumKey (11)
- EnumValue (11)
- FlushKey (11)
-
IPV6
_ CHECKSUM (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (4) - NOCHECKS (11)
- OPTS (11)
-
OP
_ PKCS1 _ CHECK _ 1 (11) -
OP
_ PKCS1 _ CHECK _ 2 (11) - OpenKey (11)
- QueryInfoKey (11)
- QueryValue (11)
-
SC
_ 2 _ PBS _ CHECKPOINT (11) -
SO
_ NO _ CHECK (22) - SafeStringValue (11)
- SetValue (11)
-
V
_ FLAG _ CRL _ CHECK (11) -
V
_ FLAG _ CRL _ CHECK _ ALL (11) -
backtrace
_ locations (11) -
block
_ given? (11) -
check
_ circular? (11) -
check
_ closed (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) - checksum (11)
-
cvar
_ override _ check (11) -
finish
_ all _ jobs (18) - generate (11)
- getpeereid (11)
-
initialize
_ copy (11) - iterator? (11)
-
mon
_ check _ owner (5) - new (77)
- new2 (11)
-
ole
_ query _ interface (11) - packdw (11)
- packqw (11)
-
post
_ connection _ check (11) - prime? (22)
-
prime
_ fasttest? (11) -
rb
_ check _ convert _ type (11) -
rb
_ check _ safe _ str (1) -
rb
_ cstr _ to _ dbl (11) -
rb
_ eval _ cmd (11) -
rb
_ read _ check (1) -
rb
_ str _ to _ dbl (11) -
rb
_ thread _ check (11) -
remove
_ entry _ secure (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (5) -
ruby
_ stack _ check (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
scan
_ full (11) -
search
_ full (11) - sh (11)
-
stack
_ check (11) - unpackdw (11)
- unpackqw (11)
- unparse (11)
検索結果
先頭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?] # => ["[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (12208.0) -
与えられた型のサイズを返します。
...グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプ...