228件ヒット
[1-100件を表示]
(0.102秒)
種類
- インスタンスメソッド (168)
- モジュール関数 (24)
- 定数 (24)
- ライブラリ (12)
ライブラリ
- json (72)
-
net
/ http (36) - openssl (84)
-
rexml
/ parsers / pullparser (12) -
rubygems
/ remote _ fetcher (12)
クラス
-
Gem
:: RemoteFetcher (12) -
JSON
:: State (60) -
Net
:: HTTP (36) -
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: X509 :: StoreContext (12) -
REXML
:: Parsers :: PullParser (12)
モジュール
- JSON (12)
-
OpenSSL
:: ASN1 (12) -
OpenSSL
:: X509 (24)
キーワード
-
V
_ ERR _ CERT _ CHAIN _ TOO _ LONG (12) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (12) - depth= (12)
- dump (12)
-
error
_ depth (12) -
max
_ nesting= (12) -
open
_ uri _ or _ path (12) - peek (12)
- propfind (12)
-
set
_ params (12) -
to
_ h (12) -
to
_ hash (12) - traverse (12)
- tsort (12)
-
verify
_ depth (24) -
verify
_ depth= (24)
検索結果
先頭5件
-
tsort (26120.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
...tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
=== Example
//emlist[][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
{1=>[2, 3],......=>[]}.tsort
#=> [3, 2, 1, 4]
{1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}.strongly_connected_components
#=> [[4], [2, 3], [1]]
//}
=== より現実的な例
非常に単純な `make' に似たツールは以下のように実装できます。
//emlist[][ruby]{
require 'tsort'
class Make
def initialize......ラリは Tarjan の強連結成分に関するアルゴリズムを使っているからです。
とはいえ strongly_connected_components という正確な名前は長過ぎます。
=== References
R. E. Tarjan,
Depth First Search and Linear Graph Algorithms,
SIAM Journal on Computing, Vol. 1,... -
JSON
:: State # depth -> Integer (24217.0) -
This integer returns the current depth of data structure nesting.
...
This integer returns the current depth of data structure nesting.... -
Net
:: HTTP # verify _ depth=(depth) (12420.0) -
証明書チェイン上の検証する最大の深さを設定します。
...証明書チェイン上の検証する最大の深さを設定します。
デフォルトは nil で、この場合 OpenSSL のデフォルト値(9)が使われます。
@param depth 最大深さを表す整数
@see Net::HTTP#verify_depth, OpenSSL::SSL::SSLContext#verify_depth=... -
JSON
:: State # depth=(depth) (12418.0) -
This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.
...
This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked.... -
OpenSSL
:: SSL :: SSLContext # verify _ depth=(depth) (12414.0) -
証明書チェイン上の検証する最大の深さを設定します。
...証明書チェイン上の検証する最大の深さを設定します。
デフォルトは nil で、この場合 OpenSSL のデフォルト値(9)が使われます。
@param depth 最大深さを表す整数
@see OpenSSL::SSL::SSLContext#verify_depth... -
Net
:: HTTP # verify _ depth -> Integer (12213.0) -
証明書チェイン上の検証する最大の深さを返します。
...証明書チェイン上の検証する最大の深さを返します。
@see Net::HTTP#verify_depth=, OpenSSL::SSL::SSLContext#verify_depth... -
OpenSSL
:: SSL :: SSLContext # verify _ depth -> Integer | nil (12207.0) -
証明書チェイン上の検証する最大の深さを返します。
...証明書チェイン上の検証する最大の深さを返します。
デフォルトは nil です。
@see OpenSSL::SSL::SSLContext#verify_depth=... -
OpenSSL
:: X509 :: StoreContext # error _ depth -> Integer (12201.0) -
エラーが起きた場所の深さを返します。
...:StoreContext#verify を呼び出したあと、
このメソッドを呼ぶと検証でエラーが起きた場所の深さを返します。
証明書チェインの各証明書を検証した
コールバック(OpenSSL::X509::Store#verify_callback=)が検証時に
呼びだされ、StoreContext... -
OpenSSL
:: X509 :: V _ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT -> Integer (12201.0) -
検証している証明書がルート CA (自己署名証明書)であり、 それが信頼されている証明書でないことを意味します。
...ことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths...