るりまサーチ

最速Rubyリファレンスマニュアル検索!
132件ヒット [101-132件を表示] (0.016秒)
トップページ > クエリ:GC[x] > クエリ:free[x]

別のキーワード

  1. gc stat
  2. gc latest_gc_info
  3. _builtin latest_gc_info
  4. _builtin gc
  5. gc stress

ライブラリ

クラス

モジュール

キーワード

検索結果

<< < 1 2 >>

Fiddle::Pointer.malloc(size, free = nil) -> Fiddle::Pointer (119.0)

与えられた長さ size のメモリ領域を確保し、それを表す Pointer オブジェクトを生成して返します。

...Pointer オブジェクトを生成して返します。

@param size 確保したいメモリ領域のサイズを整数で指定します。

@param free GC 時に呼ばれる Pointer オブジェクトの free 関数を
Fiddle::Function オブジェクトか整数で指定します。...

ruby 1.8.4 feature (36.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...== 組み込みライブラリ

#Thu Dec 8 02:07:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * eval.c (umethod_bind): adjust invoking class for module method.
# [ruby-dev:27964]

: UnboundMethod#bind [bug]

UnboundMethod#bindされたモジュールのインスタンス...
...(<ruby-core:06625>))

: String#scan [bug]

#Thu Oct 27 16:45:31 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * string.c (scan_once): wrong condition to use mbclen2().
# [ruby-dev:27535]

String#scanで、全角文字に「*」(0回以上の繰り返し)を付けると、空...
...* ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62)
# [ruby-dev:27839]
#
# * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
# NULL or not before S_FREE.
#
# * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
#...

char * STR2CSTR(VALUE str) (18.0)

Ruby のオブジェクト str から C の文字列を取り出します。 str が String でない場合は to_str によって変換を試みます。

...クト str から C の文字列を取り出します。
str が String でない場合は to_str によって変換を試みます。

返り値を free したり直接書き換えたりしてはいけません。

STR2CSTR は、与えられたオブジェクトが文字列でなく to_str メソ...
...注意して使用しないと結果が GC される可能性があります。

Ruby 1.7 以降では代わりに StringValuePtr を使用します。こちら
は、引数の参照先が暗黙の型変換の結果に置き換わるため変換結果が GC
されません。(Ruby 1.7 では、STR2C...
<< < 1 2 >>