369件ヒット
[1-100件を表示]
(0.142秒)
種類
- インスタンスメソッド (270)
- 特異メソッド (77)
- モジュール関数 (22)
ライブラリ
- ビルトイン (88)
- drb (22)
- e2mmap (6)
- erb (22)
-
fiddle
/ import (11) -
irb
/ frame (44) -
irb
/ xmp (22) - resolv-replace (11)
-
rubygems
/ installer (33) -
rubygems
/ specification (22) - socket (77)
- tracer (11)
クラス
- Binding (44)
-
DRb
:: DRbServer (11) - ERB (22)
-
Gem
:: Installer (33) -
Gem
:: Specification (22) - IPSocket (11)
-
IRB
:: Frame (44) - Module (11)
- Proc (11)
- Socket (22)
- TCPSocket (22)
- Tracer (11)
- UDPSocket (33)
- UnboundMethod (11)
- XMP (11)
モジュール
- DRb (11)
- Exception2MessageMapper (6)
-
Fiddle
:: Importer (11) - Kernel (22)
キーワード
-
add
_ bindir (11) -
add
_ filter (11) - binding (11)
- bindir= (11)
- bottom (22)
- eval (22)
-
generate
_ bin _ script (11) -
generate
_ bin _ symlink (11) -
generate
_ windows _ script (11) -
instance
_ method (11) -
local
_ variable _ defined? (11) -
local
_ variable _ get (11) -
local
_ variable _ set (11) - new (33)
- open (11)
- recvfrom (22)
-
recvfrom
_ nonblock (11) - result (11)
- run (11)
-
start
_ service (11) - top (22)
- xmp (11)
検索結果
先頭5件
-
UDPSocket
# bind(host , port) -> Integer (24341.0) -
UDPSocket#bindのパラメータ host の名前解決に resolv ライブラリを使います。
...UDPSocket#bindのパラメータ host の名前解決に resolv
ライブラリを使います。
@param host bindするホスト名を文字列で指定します。
@param port bindするポートを指定します。
@raise SocketError 名前解決に失敗した場合に発生します。... -
UDPSocket
# bind(host , port) -> 0 (24247.0) -
ソケットを host の port に bind(2) します。
...ソケットを host の port に bind(2) します。
bind したポートから Socket#recv でデータを受け取ることができます。
@param host bind するホスト名文字列
@param port bind するポート番号... -
Fiddle
:: Importer # bind(signature , *opts) { . . . } -> Fiddle :: Function (24243.0) -
Ruby のブロックを C の関数で wrap し、その関数をモジュールに インポートします。
...関数として定義されます。
また、Fiddle::Importer#[] で Fiddle::Function オブジェクトとして
取り出すことができます。
signature で関数の名前とシネグチャを指定します。例えば
"int compare(void*, void*)" のように指定します。
opts に......iddle::Function オブジェクトを返します。
@param signature 関数の名前とシネグチャ
@param opts オプション
例
require 'fiddle/import'
module M
extend Fiddle::Importer
dlload "libc.so.6"
typealias "size_t", "unsigned long"
extern "int qsort(void*, si......, size_t, void*)"
bind("int compare(void*, void*)"){|px, py|
x = px.to_s(Fiddle::SIZEOF_INT).unpack("i!")
y = py.to_s(Fiddle::SIZEOF_INT).unpack("i!")
x <=> y
}
end
data = [32, 180001, -13, -1, 0, 49].pack("i!*")
M.qsort(Fiddle::Pointer[data], 6, Fiddle::SIZE... -
UnboundMethod
# bind(obj) -> Method (24237.0) -
self を obj にバインドした Method オブジェクトを生成して返します。
...成して返します。
@param obj 自身をバインドしたいオブジェクトを指定します。ただしバインドできるのは、
生成元のクラスかそのサブクラスのインスタンスのみです。
@raise TypeError objがbindできないオブジェクト......である場合に発生します
//emlist[例][ruby]{
# クラスのインスタンスメソッドの UnboundMethod の場合
class Foo
def foo
"foo"
end
end
# UnboundMethod `m' を生成
p m = Foo.instance_method(:foo) # => #<UnboundMethod: Foo#foo>
# Foo のインスタンスをレシ......ーバとする Method オブジェクトを生成
p m.bind(Foo.new) # => #<Method: Foo#foo>
# Foo のサブクラス Bar のインスタンスをレシーバとする Method
class Bar < Foo
end
p m.bind(Bar.new) # => #<Method: Bar(Foo)#foo>
# モジュールのイン... -
Socket
# bind(my _ sockaddr) -> 0 (24223.0) -
ソケットを my_sockaddr に結合します。bind(2) と同じ働きをします。
...ソケットを my_sockaddr に結合します。bind(2)
と同じ働きをします。
@param my_sockaddr ソケットアドレス構造体を pack した文字列lib:socket#pack_stringもしくはAddrinfoオブジェクトを指定します。
@return 0 を返します。... -
Exception2MessageMapper
# bind(cl) -> () (24207.0) -
@todo
...@todo
@param cl xxx... -
IRB
:: Frame # bottom(n = 0) -> Binding (23306.0) -
下から n 番目のコンテキストを取り出します。
...下から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。... -
IRB
:: Frame # top(n = 0) -> Binding (23306.0) -
上から n 番目のコンテキストを取り出します。
...上から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
上位になります。... -
IRB
:: Frame . bottom(n = 0) -> Binding (23306.0) -
下から n 番目のコンテキストを取り出します。
...下から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。... -
IRB
:: Frame . top(n = 0) -> Binding (23306.0) -
上から n 番目のコンテキストを取り出します。
...上から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
上位になります。...