るりまサーチ

最速Rubyリファレンスマニュアル検索!
348件ヒット [1-100件を表示] (0.213秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. rsa n
  4. openssl n
  5. pop n_mails

検索結果

<< 1 2 3 ... > >>

Net::IMAP#search(keys, charset = nil) -> [Integer] (27442.0)

SEARCH コマンドを送り、条件に合うメッセージの message sequence number を配列で返します。

...SEARCH コマンドを送り、条件に合うメッセージの message sequence number
を配列で返します。

N
et::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。

検索の条件は key に文字列の1次元配列もしくは...
...imap.search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.search('SUBJECT "hello"')
#=> [1, 6, 7, 8]

@param key 検索キー(文字列の配列もしくは文字列)
@param charset 検索に用いるcharset
@see Net...
...::IMAP#search...

Gem::SourceInfoCache#search(pattern, platform_only = false, all = false) -> [Gem::Specification] (27308.0)

与えられた条件を満たす Gem::Specification のリストを返します。

...fication のリストを返します。

@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。

@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。

@param all...
...真を指定するとキャッシュを更新してから検索を実行します。

@see Gem::SourceIndex#search...

Gem::SourceIndex#search(gem_pattern, platform_only = false) -> [Gem::Specification] (27302.0)

引数で指定された条件を満たす Gem のリストを返します。

...引数で指定された条件を満たす Gem のリストを返します。

@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。

@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。...

Array#bsearch_index -> Enumerator (21317.0)

ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。

...(log n))で検索します。要素が見つからない場合は nil
を返します。self はあらかじめソートしておく必要があります。

本メソッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch...
...いては
A
rray#bsearch を参照してください。

//emlist[例: find-minimum モード][ruby]{
a
ry = [0, 4, 7, 10, 12]
a
ry.bsearch_index { |x| x >= 4 } # => 1
a
ry.bsearch_index { |x| x >= 6 } # => 2
a
ry.bsearch_index { |x| x >= -1 } # => 0
a
ry.bsearch_index { |x| x >= 100 } # => nil
//}...
...//emlist[例: find-any モード][ruby]{
a
ry = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
a
ry.bsearch_index { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
a
ry.bsearch_index { |x| 4 - x / 2 } # => nil
//}

@see Array#bsearch...

Array#bsearch_index { |x| ... } -> Integer | nil (21317.0)

ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値の位置を 二分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返します。self はあらかじめソートしておく必要があります。

...(log n))で検索します。要素が見つからない場合は nil
を返します。self はあらかじめソートしておく必要があります。

本メソッドはArray#bsearchと同様に、ブロックを評価した結果により2
つのモードで動作します。Array#bsearch...
...いては
A
rray#bsearch を参照してください。

//emlist[例: find-minimum モード][ruby]{
a
ry = [0, 4, 7, 10, 12]
a
ry.bsearch_index { |x| x >= 4 } # => 1
a
ry.bsearch_index { |x| x >= 6 } # => 2
a
ry.bsearch_index { |x| x >= -1 } # => 0
a
ry.bsearch_index { |x| x >= 100 } # => nil
//}...
...//emlist[例: find-any モード][ruby]{
a
ry = [0, 4, 7, 10, 12]
# 4 <= v < 8 になる要素の位置を検索
a
ry.bsearch_index { |x| 1 - x / 4 } # => 2
# 8 <= v < 10 になる要素の位置を検索
a
ry.bsearch_index { |x| 4 - x / 2 } # => nil
//}

@see Array#bsearch...

絞り込み条件を変える

Gem::Commands::DependencyCommand#find_gems(name, source_index) -> Hash (21307.0)

与えられた Gem の名前をインデックスから検索します。

...与えられた Gem の名前をインデックスから検索します。

@param name Gem の名前を指定します。

@param source_index Gem::SourceIndex のインスタンスを指定します。

@see Gem::SourceIndex#search...

Gem::GemPathSearcher#matching_files(spec, path) -> [String] (18401.0)

与えられた spec に path が含まれている場合、その path のリストを返します。

...与えられた spec に path が含まれている場合、その path のリストを返します。

@param spec Gem::Specification のインスタンスを指定します。

@param path 探索対象のパスを指定します。...

Gem::GemPathSearcher#matching_file?(spec, path) -> bool (18301.0)

与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。

...与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。

@param spec Gem::Specification のインスタンスを指定します。

@param path 探索対象のパスを指定します。...

RDoc::Generator::JsonIndex#generate -> () (18217.0)

解析した情報を RDoc::Generator::JsonIndex::SEARCH_INDEX_FILE に出 力します。

...解析した情報を RDoc::Generator::JsonIndex::SEARCH_INDEX_FILE に出
力します。...

Kernel#check_signedness(type, headers = nil, opts = nil) -> "signed" | "unsigned" | nil (15565.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.

...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_O...
...ype+
n
ame, 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....

絞り込み条件を変える

<< 1 2 3 ... > >>