363件ヒット
[201-300件を表示]
(0.047秒)
種類
- インスタンスメソッド (210)
- 定数 (48)
- 特異メソッド (48)
- モジュール関数 (45)
- 文書 (12)
ライブラリ
クラス
- Array (36)
- CGI (12)
-
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - Matrix (48)
- Method (12)
-
Net
:: IMAP (12) - Socket (12)
- String (12)
- Thread (12)
- UnboundMethod (12)
- WIN32OLE (12)
モジュール
- Enumerable (36)
- Etc (12)
- GC (24)
- ObjectSpace (24)
- Observable (12)
-
Socket
:: Constants (12) -
Sync
_ m (6) - Timeout (21)
キーワード
-
MAX
_ MULTIPART _ COUNT (12) -
SC
_ 2 _ PBS _ ACCOUNTING (12) -
SO
_ NREAD (24) - arity (24)
-
column
_ count (12) -
column
_ size (12) -
count
_ observers (12) -
each
_ object (24) -
max
_ flag _ count (12) -
ole
_ reference _ count (12) - priority (12)
-
row
_ count (12) -
row
_ size (12) -
ruby 1
. 6 feature (12) - stat (12)
-
sync
_ ex _ count (6) - timeout (21)
検索結果
先頭5件
-
Etc
:: SC _ 2 _ PBS _ ACCOUNTING -> Integer (3200.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。 -
Matrix
# column _ size -> Integer (3101.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# row _ size -> Integer (3101.0) -
行列の行数を返します。
行列の行数を返します。 -
ObjectSpace
. # each _ object {|object| . . . } -> Integer (148.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
...を扱う][ruby]{
ObjectSpace.each_object.take(5).each { |x| p x }
count = ObjectSpace.each_object { |x| x }
puts "Total count: #{count}"
# => "scope"
# => "scopes"
# => "sym"
# => "class_names"
# => "@corrections"
# => Total count: 9938
//}
//emlist[例: 任意のクラスを扱う][ruby]{
Person......= Struct.new(:name)
s1 = Person.new("tanaka")
s2 = Person.new("sato")
count = ObjectSpace.each_object(Person) { |x| p x }
puts "Total count: #{count}"
# => #<struct Person name="sato">
# => #<struct Person name="tanaka">
# => Total count: 2
//}... -
ObjectSpace
. # each _ object(klass) {|object| . . . } -> Integer (148.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
...を扱う][ruby]{
ObjectSpace.each_object.take(5).each { |x| p x }
count = ObjectSpace.each_object { |x| x }
puts "Total count: #{count}"
# => "scope"
# => "scopes"
# => "sym"
# => "class_names"
# => "@corrections"
# => Total count: 9938
//}
//emlist[例: 任意のクラスを扱う][ruby]{
Person......= Struct.new(:name)
s1 = Person.new("tanaka")
s2 = Person.new("sato")
count = ObjectSpace.each_object(Person) { |x| p x }
puts "Total count: #{count}"
# => #<struct Person name="sato">
# => #<struct Person name="tanaka">
# => Total count: 2
//}... -
Thread
# priority -> Integer (148.0) -
スレッドの優先度を返します。この値が大きいほど優先度が高くなります。 メインスレッドのデフォルト値は 0 です。新しく生成されたスレッドは親スレッドの priority を引き継ぎます。
...][ruby]{
Thread.current.priority # => 0
count1 = count2 = 0
a = Thread.new do
loop { count1 += 1 }
end
a.priority = -1
b = Thread.new do
loop { count2 += 1 }
end
b.priority = -2
count1 = count2 = 0 # reset
sleep 1 # => 1
count1 # => 13809431
count2 # => 11571921
//}... -
GC
. stat(result _ hash = {}) -> {Symbol => Integer} (118.0) -
GC 内部の統計情報を Hash で返します。
...n GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slot=>519,
:heap_final_slot=>0,......:total_allocated_object=>7674,
:total_freed_object=>838,
:malloc_increase=>181034,
:malloc_limit=>16777216,
:minor_gc_count=>2,
:major_gc_count=>0,
:remembered_shady_object=>55,
:remembered_shady_object_limit=>0,
:old_object=>2422,
:old_object_limit=>0,
:old......GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,
:heap_available_slots=>9783,
:heap_li......7796,
:total_freed_objects=>83,
:malloc_increase_bytes=>2389312,
:malloc_increase_bytes_limit=>16777216,
:minor_gc_count=>0,
:major_gc_count=>0,
:remembered_wb_unprotected_objects=>0,
:remembered_wb_unprotected_objects_limit=>0,
:old_objects=>0,
:old_obje... -
Socket
:: Constants :: SO _ NREAD -> Integer (116.0) -
@todo Get first packet byte count。
...@todo
Get first packet byte count。... -
Socket
:: SO _ NREAD -> Integer (116.0) -
@todo Get first packet byte count。
...@todo
Get first packet byte count。...