るりまサーチ

最速Rubyリファレンスマニュアル検索!
831件ヒット [1-100件を表示] (0.169秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クエリ:result[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

GC::Profiler.result -> String (27307.0)

GC のプロファイル情報をフォーマットし、文字列として返します。

...場合の実行例です。

$ ruby -e "GC::Profiler.enable; a = Array.new(100000){ 'aa' }; puts GC::Profiler.result"
GC 5 invokes.
I
ndex Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.012...
...: GC invokes
GC の起動回数
: Invoke Time
Ruby が起動してから GC が起動するまでに経過した時間
: Use Size
ヒープ内での使用サイズ
: Total Size
ヒープ全体のサイズ
: Total Object
ヒープ内に存在するオブジェクトの個数
: GC Time
G...
...C の処理時間

@see GC::Profiler.report...

StopIteration#result -> object (27207.0)

この例外オブジェクトを発生させる原因となったメソッド等の返り値を返します。

...ect = Object.new
def object.each
yield :yield1
yield :yield2
:each_returned
end

enumerator = object.to_enum

p enumerator.next #=> :yield1
p enumerator.next #=> :yield2

begin
enumerator.next
rescue StopIteration => error
p error.result #=> :each_returned
end...

ERB#result(b=TOPLEVEL_BINDING) -> String (24513.0)

ERB を b の binding で実行し、結果の文字列を返します。

...ERB を b の binding で実行し、結果の文字列を返します。

@param b eRubyスクリプトが実行されるときのbinding

//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//...
...}

@see ERB#result_with_hash...

OpenSSL::SSL::SSLSocket#verify_result -> Integer (21301.0)

検証結果のエラーコードを整数値で返します。

...検証結果のエラーコードを整数値で返します。

エラーコードの整数値は OpenSSL::X509 に定数が定義されています。
詳しくは c:OpenSSL::X509#verify_error を見てください。
検証に成功した場合は OpenSSL::X509::V_OK を返します。...

ERB#result_with_hash(hash) -> String (18307.0)

ERB をハッシュオブジェクトで指定されたローカル変数を持つ 新しいトップレベルバインディングで実行し、結果の文字列を返します。

...ERB をハッシュオブジェクトで指定されたローカル変数を持つ
新しいトップレベルバインディングで実行し、結果の文字列を返します。

@param hash ローカル変数名をキーにしたハッシュ

@see ERB#result...

絞り込み条件を変える

Gem::Ext::ExtConfBuilder.build(extension, directory, dest_path, results) -> Array (18300.0)

@todo

...odo

Makefile が存在しない場合は、extconf.rb を実行して
Makefile を作成してから make を実行します。

@param extension ファイル名を指定します。

@param directory このメソッドでは使用していません。

@param dest_path ???

@param results コマ...
...ンドの実行結果を格納します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

Gem::Ext::RakeBuilder.build(extension, directory, dest_path, results) -> Array (18300.0)

@todo

...ake を実行します。

@param extension ファイル名を指定します。

@param directory このメソッドでは使用していません。

@param dest_path ???

@param results コマンドの実行結果を格納します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

Gem::Ext::ConfigureBuilder.build(extension, directory, dest_path, results) -> Array (15300.0)

@todo

...@todo

Makefile が存在しない場合は、configure スクリプトを実行して
Makefile を作成してから make を実行します。

@param extension このメソッドでは使用しません。

@param directory

@param dest_path

@param results コマンドの実行結果を格納...
...します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

GC.latest_gc_info(result_hash = {}) -> Hash (12313.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...
...Symbol で指定します。

//emlist[例][ruby]{
l
atest = GC.latest_gc_info
l
atest # => {: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_info(:...

GC.latest_gc_info(key) -> object (12213.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...
...Symbol で指定します。

//emlist[例][ruby]{
l
atest = GC.latest_gc_info
l
atest # => {: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_info(:...

絞り込み条件を変える

<< 1 2 3 ... > >>