るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

検索結果

Zlib::Inflate#set_dictionary(string) -> String (21457.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)...

Zlib::Inflate#inflate(string) -> String (21237.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...

NEWS for Ruby 2.0.0 (180.0)

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

...は参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリストは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。

== 1.9.3 以降の変更

=== 言語仕様の変更

* キーワード引数を追加しました...
...get スレッドローカルな変数を取得します
(these are different than Fiber local variables).
* 追加: Thread#thread_variable_set スレッドローカルな変数をセットします
* 追加: Thread#thread_variables スレッドローカルな変数の名前のリスト...
...ThreadError を発生させます

* Time
* 返り値変更:
* 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:...

rubygems/commands/generate_index_command (72.0)

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

...s]
Options:
-
d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-
h, --help このコマンドのヘルプを表示します
-
V, --[no-]verbose 表示を詳細にします
-
q, --quiet...
...トレースを表示します
-
-debug Ruby 自体のデバッグオプションを有効にします
Summary:
Generates the index files for a gem server directory
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/ # .gem files you want to
index
quick/index
quick/ind...