るりまサーチ

最速Rubyリファレンスマニュアル検索!
228件ヒット [1-100件を表示] (0.102秒)
トップページ > クエリ:t[x] > クエリ:depth[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

<< 1 2 3 > >>

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.

...
T
his 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.

...
T
his 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...
<< 1 2 3 > >>