ライブラリ
- ビルトイン (44)
- mkmf (48)
-
net
/ http (24) -
net
/ imap (48) -
rdoc
/ generator / json _ index (24) - resolv (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / which _ command (12) -
rubygems
/ gem _ path _ searcher (36) -
rubygems
/ source _ index (12)
クラス
- Array (20)
-
Encoding
:: Converter (24) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: GemPathSearcher (36) -
Gem
:: SourceIndex (12) -
Net
:: HTTP (24) -
Net
:: IMAP (48) -
RDoc
:: Generator :: JsonIndex (24) -
Resolv
:: DNS (12)
モジュール
- Kernel (48)
キーワード
-
SEARCH
_ INDEX _ FILE (12) - SearchCommand (12)
- WhichCommand (12)
-
bsearch
_ index (20) -
check
_ signedness (24) -
convertible
_ int (24) - convpath (12)
- find (12)
-
find
_ all (12) -
find
_ gems (12) - generate (12)
-
lib
_ dirs _ for (12) -
net
/ imap (12) - new (12)
- post (24)
- rake (12)
-
rdoc
/ generator / json _ index (12) -
ruby 1
. 6 feature (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / search _ command (12) -
search
_ convpath (12) -
search
_ method (12) - thread (12)
-
uid
_ search (12) -
uid
_ sort (12) -
uid
_ thread (12)
検索結果
先頭5件
-
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (21101.0) -
引数で指定された条件を満たす Gem のリストを返します。
...引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。... -
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (12241.0) -
UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。
...UID SEARCH コマンドを送り、条件に合うメッセージの UID
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは文字列で渡......。
詳しくは 2060 の 6.4.4 を見てください。
例:
p imap.uid_search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.uid_search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.uid_search('SUBJECT "hello"')
#=> [1, 6, 7, 8]
@param key 検索キー(文字列......の配列もしくは文字列)
@param charset 検索に用いるcharset
@see Net::IMAP#uid_search... -
RDoc
:: Generator :: JsonIndex :: SEARCH _ INDEX _ FILE -> String (12201.0) -
検索インデックスのパスを表す文字列です。
検索インデックスのパスを表す文字列です。 -
Array
# bsearch _ index -> Enumerator (12200.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...ッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要素自
身を返すか位置を返すかのみです。各モードのより詳細な違いについては
Array#bsearch を参照して......さい。
//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 { |x| . . . } -> Integer | nil (12200.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。
...ッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch との違いは見つかった要素自
身を返すか位置を返すかのみです。各モードのより詳細な違いについては
Array#bsearch を参照して......さい。
//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... -
static NODE * search
_ method(VALUE klass , ID id , VALUE *origin) (12200.0) -
クラス klass から id という名前のメソッドエントリを検索し、 返します。見付からなければ NULL を返します。
...クラス klass から id という名前のメソッドエントリを検索し、
返します。見付からなければ NULL を返します。
このメソッドは undef を考慮しません。つまり m_tbl に
エントリがあるならその内容に関らず探索は成功します。... -
rubygems
/ commands / search _ command (12018.0) -
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
...gem search [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to search
-d, --[no-]details Display detailed information of gem(s)
--[no-]versions Disp......lay only gem names
-a, --all Display all gem versions
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both......ローカルとリモートの両方の操作を許可します
-B, --bulk-threshold COUNT Threshold for switching to bulk
synchronization (default 1000)
--source URL Gem パッケージのリモートリポジトリ... -
Gem
:: Commands :: SearchCommand (12000.0) -
指定された文字列を含む Gem パッケージを全て表示するためのクラスです。
指定された文字列を含む Gem パッケージを全て表示するためのクラスです。 -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (9331.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
...す。
@param source_encoding 変換元の文字エンコーディングを Encoding オ
ブジェクトか文字列で指定します。
@param destination_encoding 変換先の文字エンコーディングを
Encoding オブジェクトか文......Encoding::Converter.new と同じオプションが指定でき
ます。
//emlist[][ruby]{
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP")
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>]]
p Encoding::Converter.search_co......niversal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", newline: :universal)
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "universal_newline"]
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE"...