297件ヒット
[1-100件を表示]
(0.091秒)
種類
- インスタンスメソッド (99)
- 特異メソッド (77)
- モジュール関数 (55)
- 関数 (55)
- 文書 (11)
クラス
- CSV (44)
モジュール
- GC (33)
- JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Marshal (22)
- Open3 (11)
キーワード
- dump (22)
- generate (11)
-
latest
_ gc _ info (22) -
mark
_ hashentry (11) - numhash (11)
- open (44)
- pipeline (11)
-
rb
_ f _ hash (11) - rehash (11)
-
ruby 1
. 8 . 2 feature (11) -
stat
_ col (11) -
to
_ json (99) - unparse (11)
検索結果
先頭5件
-
GC
. stat(result _ hash = {}) -> {Symbol => Integer} (18343.0) -
GC 内部の統計情報を Hash で返します。
...GC 内部の統計情報を Hash で返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得ら......ol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slo......_final_slot=>0,
:heap_swept_slot=>818,
: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_obj......Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,......p_available_slots=>9783,
:heap_live_slots=>7713,
:heap_free_slots=>2070,
:heap_final_slots=>0,
:heap_marked_slots=>0,
:heap_swept_slots=>0,
:heap_eden_pages=>24,
:heap_tomb_pages=>0,
:total_allocated_pages=>24,
:total_freed_pages=>0,
:total_allocated... -
static void stat
_ col(void) (12316.0) -
ハッシュの衝突に関する統計を /tmp/col に出力する。 #ifdef HASH_LOG のときだけ定義される、開発者用関数。
...ハッシュの衝突に関する統計を /tmp/col に出力する。
#ifdef HASH_LOG のときだけ定義される、開発者用関数。... -
static VALUE rb
_ f _ hash(VALUE obj , VALUE arg) (6516.0) -
Kernel.#Hash の実体です。
...Kernel.#Hash の実体です。... -
static int mark
_ hashentry(VALUE key , VALUE value) (6500.0) -
-
static void rehash(register st
_ table *table) (6400.0) -
テーブルの全要素に対しハッシュ値を計算しなおして テーブルを再構成する。エントリに対して要素の数が 増えすぎ、テーブルが狭くなってきたときに発生する。
テーブルの全要素に対しハッシュ値を計算しなおして
テーブルを再構成する。エントリに対して要素の数が
増えすぎ、テーブルが狭くなってきたときに発生する。 -
GC
. latest _ gc _ info(result _ hash = {}) -> Hash (6338.0) -
最新のGCの情報を返します。
...最新のGCの情報を返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる情報か......Symbol で指定します。
//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}
stat = GC.stat
merged = GC.latest_gc_info(stat)
merged == latest.merge(stat) # => true
GC.latest_gc_i... -
static int numhash(long n) (6300.0)
-
int用のハッシュ関数。 n に対するハッシュ値を計算する。
int用のハッシュ関数。
n に対するハッシュ値を計算する。 -
Open3
. # pipeline(*cmds) -> [Process :: Status] (6212.0) -
指定したコマンドのリストをパイプで繋いで順番に実行します。
...g か Array で指定します。
commandline にはコマンド全体(例. "nroff -man")を表す
String を指定します。
options には Hash で指定します。
env には環境変数を Hash で指定します。
cmdname にはコ......マンド名を表す String を指定します。
1、2、3 は shell 経由で実行されます。
(1) commandline
(2) [commandline, options]
(3) [env, commandline, options]
(4) [env, cmdname, arg1, arg2, ..., options]
(5) [env, [cmdname, argv0], arg1, ..., options]
@return 実......z"
p Open3.pipeline(["zcat", fname], "nroff -man", "less")
#=> [#<Process::Status: pid 11817 exit 0>,
# #<Process::Status: pid 11820 exit 0>,
# #<Process::Status: pid 11828 exit 0>]
例2:
require "open3"
Open3.pipeline([{"LANG"=>"C"}, "env"], ["grep", "LANG"], "less")
@see Open... -
GC
. latest _ gc _ info(key) -> object (6138.0) -
最新のGCの情報を返します。
...最新のGCの情報を返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる情報か......Symbol で指定します。
//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}
stat = GC.stat
merged = GC.latest_gc_info(stat)
merged == latest.merge(stat) # => true
GC.latest_gc_i... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (3313.0) -
自身から生成した JSON 形式の文字列を返します。
...返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}...