種類
- インスタンスメソッド (84)
- 定数 (77)
- 特異メソッド (55)
- ライブラリ (11)
ライブラリ
- ビルトイン (62)
- psych (110)
-
rdoc
/ context (11) -
rdoc
/ top _ level (11) - socket (22)
クラス
- Array (40)
-
Psych
:: Nodes :: Mapping (22) -
Psych
:: Nodes :: Scalar (22) -
Psych
:: Nodes :: Sequence (22) -
Psych
:: Nodes :: Stream (11) -
Psych
:: Parser (11) -
RDoc
:: Context (11) -
RDoc
:: TopLevel (11) - Range (22)
- Socket (11)
モジュール
- Psych (22)
-
Socket
:: Constants (11)
キーワード
-
INADDR
_ ANY (22) - bsearch (44)
-
bsearch
_ index (18) -
find
_ local _ symbol (11) - load (11)
-
method
_ list (11) - new (33)
- parse (11)
-
rubygems
/ commands / pristine _ command (11)
検索結果
先頭5件
-
Psych
:: Nodes :: Mapping :: ANY -> Integer (24201.0) -
「任意」のスタイルを意味します。
...「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping... -
Psych
:: Nodes :: Stream :: ANY -> Integer (21207.0) -
任意のエンコーディングを表す値。
...任意のエンコーディングを表す値。
Psych::Parser::ANY と同じ値です。... -
Psych
:: Nodes :: Scalar :: ANY -> Integer (21201.0) -
「任意」のスタイルを意味します。
...「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style... -
Psych
:: Nodes :: Sequence :: ANY -> Integer (21201.0) -
「任意」のスタイルを意味します。
...「任意」のスタイルを意味します。
emitter が適当に style を決めます。
@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence... -
Psych
:: Parser :: ANY -> Integer (21201.0) -
「任意の」エンコーディングを意味します。
「任意の」エンコーディングを意味します。 -
RDoc
:: Context # method _ list -> [RDoc :: AnyMethod] (12400.0) -
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列 を返します。
...追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列
を返します。... -
Socket
:: Constants :: INADDR _ ANY -> Integer (12323.0) -
A socket bound to INADDR_ANY receives packets from all interfaces and sends from the default IP address。 IPv4アドレスの 0.0.0.0 に対応する整数です。
...A socket bound to INADDR_ANY receives packets from
all interfaces and sends from the default IP address。
IPv4アドレスの 0.0.0.0 に対応する整数です。
@see netinet/in.h(header), ip(7linux), ip(4freebsd)... -
Socket
:: INADDR _ ANY -> Integer (12323.0) -
A socket bound to INADDR_ANY receives packets from all interfaces and sends from the default IP address。 IPv4アドレスの 0.0.0.0 に対応する整数です。
...A socket bound to INADDR_ANY receives packets from
all interfaces and sends from the default IP address。
IPv4アドレスの 0.0.0.0 に対応する整数です。
@see netinet/in.h(header), ip(7linux), ip(4freebsd)... -
Array
# bsearch _ index { |x| . . . } -> Integer | nil (12306.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...素が見つからない場合は nil
を返します。self はあらかじめソートしておく必要があります。
本メソッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要......h を参照してください。
//emlist[例: find-minimum モード][ruby]{
ary = [0, 4, 7, 10, 12]
ary.bsearch_index { |x| x >= 4 } # => 1
ary.bsearch_index { |x| x >= 6 } # => 2
ary.bsearch_index { |x| x >= -1 } # => 0
ary.bsearch_index { |x| x >= 100 } # => nil
//}
//emlist[例: find-any......モード][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
ary.bsearch_index { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
ary.bsearch_index { |x| 4 - x / 2 } # => nil
//}
@see Array#bsearch... -
Array
# bsearch _ index -> Enumerator (12206.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...素が見つからない場合は nil
を返します。self はあらかじめソートしておく必要があります。
本メソッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要......h を参照してください。
//emlist[例: find-minimum モード][ruby]{
ary = [0, 4, 7, 10, 12]
ary.bsearch_index { |x| x >= 4 } # => 1
ary.bsearch_index { |x| x >= 6 } # => 2
ary.bsearch_index { |x| x >= -1 } # => 0
ary.bsearch_index { |x| x >= 100 } # => nil
//}
//emlist[例: find-any......モード][ruby]{
ary = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
ary.bsearch_index { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
ary.bsearch_index { |x| 4 - x / 2 } # => nil
//}
@see Array#bsearch...