77件ヒット
[1-77件を表示]
(0.250秒)
種類
- インスタンスメソッド (44)
- 特異メソッド (22)
- モジュール関数 (11)
ライブラリ
- ビルトイン (77)
クラス
-
Enumerator
:: Lazy (33)
モジュール
- GC (33)
- ObjectSpace (11)
キーワード
- chunk (22)
-
garbage
_ collect (22) - start (11)
- stress= (11)
検索結果
先頭5件
-
Enumerator
:: Lazy # lazy -> self (29155.0) -
self を返します。
...self を返します。
//emlist[例][ruby]{
lazy = (100..Float::INFINITY).lazy
p lazy.lazy # => #<Enumerator::Lazy: 100..Infinity>
p lazy == lazy.lazy # => true
//}... -
Enumerator
:: Lazy # chunk {|elt| . . . } -> Enumerator :: Lazy (11148.0) -
Enumerable#chunk と同じですが、配列ではなく Enumerator::Lazy を返します。
...numerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.chunk{ |n| n % 3 == 0 }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x007f8bf18118f0>:each>>
1.step.lazy.chunk{ |n| n % 3 == 0 }.take(5).force
# => [[false, [1, 2]], [true, [3]], [false, [4, 5]], [true, [6]], [f... -
Enumerator
:: Lazy # chunk(initial _ state) {|elt , state| . . . } -> Enumerator :: Lazy (11148.0) -
Enumerable#chunk と同じですが、配列ではなく Enumerator::Lazy を返します。
...numerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.chunk{ |n| n % 3 == 0 }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x007f8bf18118f0>:each>>
1.step.lazy.chunk{ |n| n % 3 == 0 }.take(5).force
# => [[false, [1, 2]], [true, [3]], [false, [4, 5]], [true, [6]], [f... -
GC
# garbage _ collect(full _ mark: true , immediate _ sweep: true) -> nil (8220.0) -
ガーベージコレクトを開始します。
...場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は true を指定します。
注意: これらのキーワード引数... -
GC
. start(full _ mark: true , immediate _ sweep: true) -> nil (8220.0) -
ガーベージコレクトを開始します。
...場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は true を指定します。
注意: これらのキーワード引数... -
ObjectSpace
. # garbage _ collect(full _ mark: true , immediate _ sweep: true) -> nil (8220.0) -
どこからも参照されなくなったオブジェクトを回収します。 GC.start と同じです。
...場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は true を指定します。
注意: これらのキーワード引数... -
GC
. stress=(value) (8018.0) -
GCのストレスモードを引数 value に設定します。 引数 value が真に設定されている間は、GC を行えるすべての機会に GC を行います。
...合に指定します。
: 0x02
sweep を遅らせる(Lazy Sweep を行う)に指定します。
: 0x04
malloc/calloc/realloc の後でメジャーGCを動作させる場合に指定します。
//emlist[例][ruby]{
GC.stress # => false
GC.stress = true
GC.stress # => true
//}
@see GC.stress...