650件ヒット
[1-100件を表示]
(0.039秒)
別のキーワード
ライブラリ
クラス
- Array (12)
- BasicObject (24)
- CSV (24)
-
CSV
:: Table (60) -
Gem
:: StreamUI :: VerboseProgressReporter (24) - Method (12)
-
Net
:: POP3 (24) - Proc (7)
- Thread (24)
- UnboundMethod (36)
モジュール
- Enumerable (60)
- Etc (12)
- GC (24)
-
Net
:: HTTPHeader (24) - ObjectSpace (96)
- Observable (12)
- Timeout (21)
キーワード
- ! (12)
- != (12)
- << (7)
- ConditionVariable (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
SC
_ 2 _ PBS _ ACCOUNTING (12) - arity (24)
-
basic
_ auth (12) -
by
_ col _ or _ row (12) -
by
_ col _ or _ row! (12) -
by
_ row (12) -
by
_ row! (12) -
count
_ nodes (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ observers (12) -
count
_ tdata _ objects (12) -
each
_ object (48) -
garbage
_ collect (12) - inspect (24)
- priority (12)
- priority= (12)
-
proxy
_ basic _ auth (12) - read (12)
- readlines (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 5 feature (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / specification _ command (12) -
sort
_ by (24) - start (24)
- stat (12)
- timeout (21)
-
to
_ s (12) - updated (12)
検索結果
先頭5件
-
Enumerable
# count {|obj| . . . } -> Integer (21227.0) -
レシーバの要素数を返します。
...価して真になった要素の個数を
カウントして返します。
@param item カウント対象となる値。
//emlist[例][ruby]{
enum = [1, 2, 4, 2].each
enum.count # => 4
enum.count(2) # => 2
enum.count{|x|x%2==0} # => 3
//}
@see Array#count... -
Enumerable
# count -> Integer (21127.0) -
レシーバの要素数を返します。
...価して真になった要素の個数を
カウントして返します。
@param item カウント対象となる値。
//emlist[例][ruby]{
enum = [1, 2, 4, 2].each
enum.count # => 4
enum.count(2) # => 2
enum.count{|x|x%2==0} # => 3
//}
@see Array#count... -
Enumerable
# count(item) -> Integer (21127.0) -
レシーバの要素数を返します。
...価して真になった要素の個数を
カウントして返します。
@param item カウント対象となる値。
//emlist[例][ruby]{
enum = [1, 2, 4, 2].each
enum.count # => 4
enum.count(2) # => 2
enum.count{|x|x%2==0} # => 3
//}
@see Array#count... -
Gem
:: StreamUI :: VerboseProgressReporter # count -> Integer (21101.0) -
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。
...Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。... -
Array
# count {|obj| . . . } -> Integer (18227.0) -
レシーバの要素数を返します。
...ブロックを評価して真になった要素の個数を
カウントして返します。
@param item カウント対象となる値。
//emlist[例][ruby]{
ary = [1, 2, 4, 2.0]
ary.count # => 4
ary.count(2) # => 2
ary.count{|x|x%2==0} # => 3
//}
@see Enumerable#count... -
ObjectSpace
. # count _ objects(result _ hash = {}) -> Hash (15207.0) -
オブジェクトを種類ごとにカウントした結果を Hash として返します。
...オブジェクトを種類ごとにカウントした結果を Hash として返します。
このメソッドは C Ruby 以外の Ruby では動かないでしょう。
@param result_hash ハッシュを指定します。与えられたハッシュは上書きして返されます。......これを利用すると測定による影響を避けることができます。
@raise TypeError 引数に Hash 以外を与えた場合、発生します。
//emlist[例][ruby]{
ObjectSpace.count_objects # => {:TOTAL=>10000, :FREE=>3011, :T_OBJECT=>6, :T_CLASS=>404, ...}
//}... -
ObjectSpace
. # count _ objects _ size(result _ hash = nil) -> Hash (15207.0) -
型ごとのオブジェクトサイズをバイト単位で格納したハッシュを返します。
...くまでもヒ
ントとして扱う必要があります。特に T_DATA の合計値は正しくないでしょう。
//emlist[例][ruby]{
ObjectSpace.count_objects_size
# => {:TOTAL=>1461154, :T_CLASS=>158280, :T_MODULE=>20672, :T_STRING=>527249, ...}
//}
@raise TypeError result_hash にハッ......シュ以外を指定した時に発生します。
戻り値のハッシュは処理系に依存します。これは将来変更になるかもしれません。
本メソッドは C Ruby 以外では動作しません。... -
ObjectSpace
. # count _ tdata _ objects(result _ hash = nil) -> Hash (15207.0) -
T_DATA の種類ごとにオブジェクトの数を格納したハッシュを返します。
...Ruby プログラマ向けのメソッドではありません。パフォー
マンスに興味のある C Ruby の開発者向けのものです。
//emlist[例][ruby]{
ObjectSpace.count_tdata_objects
# => {RubyVM::InstructionSequence=>504, :parser=>5, :barrier=>6,
# :mutex=>6, Proc=>60, Ruby......VM::Env=>57, Mutex=>1, Encoding=>99,
# ThreadGroup=>1, Binding=>1, Thread=>1, RubyVM=>1, :iseq=>1,
# Random=>1, ARGF.class=>1, Data=>1, :autoload=>3, Time=>2}
//}
現在のバージョンでは、戻り値のキーはクラスオブジェクトかシンボルのオブ
ジェクトです。......、キーはシンボルです。シンボルの値は
rb_data_type_struct に格納された名前が使用されます。
戻り値のハッシュは処理系に依存します。これは将来変更になるかもしれません。
本メソッドは C Ruby 以外では動作しません。... -
Observable
# count _ observers -> Integer (15201.0) -
登録されているオブザーバの数を返します。
登録されているオブザーバの数を返します。