るりまサーチ

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

別のキーワード

  1. tracer set_get_line_procs
  2. _builtin set_encoding
  3. stringio set_encoding
  4. set new
  5. openssl set

ライブラリ

クラス

検索結果

Zlib::Inflate#inflate(string) -> String (21125.0)

string を展開ストリームに入力します。

...lib::Inflate#set_dictionary メソッドで辞書をセットした
後で、空文字列と共にこのメソッドを再度呼び出して下さい。

require 'zlib'

cstr = "x\234\313\310OOUH+MOTH\315K\001\000!\251\004\276"
inz = Zlib::Inflate.new
p inz.inflate(cstr...

Zlib::Inflate#set_dictionary(string) -> String (9131.0)

展開に用いる辞書を指定します。string を返します。 このメソッドは Zlib::NeedDict 例外が発生した直後のみ 有効です。詳細は zlib.h を参照して下さい。

...ez.set_dictionary(dict)
comp_str = dez.deflate(str)
comp_str << dez.finish
comp_str.size
inz = Zlib::Inflate.new
begin
inz.inflate(comp_str)
rescue Zlib::NeedDict
end
# 展開に用いる辞書が必要です。
inz.set_dictionary(dict)
p inz.inflate(co...
...mp_str)
end
dict = 'hoge_fuga_ugougo'
sset = [ dict, 'taeagbamike', 'ugotagma', 'fugebogya' ]
g = [ 0, 0, 0, 1, 1, 1, 0, 0, 0, 3, 3, 3, 0, 0, 1, 1,
0, 0, 0, 1, 2, 2, 0, 0, 0, 2, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0]
str = g.collect{|m| sset.at(m)}.join("")

case2(str, dict)...

NEWS for Ruby 2.0.0 (30.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...get スレッドローカルな変数を取得します
(these are different than Fiber local variables).
* 追加: Thread#thread_variable_set スレッドローカルな変数をセットします
* 追加: Thread#thread_variables スレッドローカルな変数の名前のリスト...
...* 返り値変更:
* Time#to_s now returns US-ASCII encoding instead of BINARY.

* TracePoint
* new class. This class is replacement of set_trace_func.
Easy to use and efficient implementation.

* toplevel
* added method:
* added main.define_method which defines a glob...
...* libyaml がインストールされていない場合のために libyaml を同梱するようになりました。

* zlib
* Zlib::Inflate, Zlib::Deflate にストリーミングサポートを追加しました。
大量のメモリを消費せずに、ストリームを処理...

rubygems/commands/generate_index_command (18.0)

ある Gem サーバに対するインデックスを作成するためのライブラリです。

...y
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under the path given to
the --directory option. When done, it will generate a set of files like
this:

gems/...
...rsion>.Z # Marshal full index
yaml
yaml.Z # legacy YAML full index

The .Z and .rz extension files are compressed with the inflate algorithm.
The
Marshal version number comes from ruby's Marshal::MAJOR_VERSION and
Marshal::MINOR_VERSION constants. It is use...