るりまサーチ

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

別のキーワード

  1. optionparser on
  2. optparse on
  3. tracer on
  4. thread abort_on_exception
  5. thread abort_on_exception=

検索結果

<< 1 2 3 ... > >>

Exception2MessageMapper#bind(cl) -> () (21101.0)

@todo

@todo

@param cl xxx

Fiddle::Importer#bind(signature, *opts) { ... } -> Fiddle::Function (18207.0)

Ruby のブロックを C の関数で wrap し、その関数をモジュールに インポートします。

...

これでインポートされた関数はモジュール関数として定義されます。
また、Fiddle::Importer#[] で Fiddle::Function オブジェクトとして
取り出すことができます。

signature で関数の名前とシネグチャを指定します。例えば
"int co...
...を表す Fiddle::Function オブジェクトを返します。

@param signature 関数の名前とシネグチャ
@param opts オプション


require 'fiddle/import'

module M
extend Fiddle::Importer
dlload "libc.so.6"
typealias "size_t", "unsigned long"
extern "int qsor...
...t(void*, size_t, 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],...

static VALUE bind_clone(VALUE self) (12200.0)

Socket::Constants::IPV6_V6ONLY -> Integer (9116.0)

Only bind IPv6。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Only bind IPv6。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IPV6,
netinet/in.h(header), ip6(4freebsd), ipv6(7linux),
3493...

Socket::Constants::SO_BINDTODEVICE -> Integer (9116.0)

Bind this socket to a particular device。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Bind this socket to a particular device。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see socket(7linux), Socket::Constants::SOL_SOCKET...

絞り込み条件を変える

Binding#source_location -> [String, Integer] (9100.0)

self の Ruby のソースファイル名と行番号を返します。

...self の Ruby のソースファイル名と行番号を返します。

d:spec/variables#pseudo の __FILE__ と __LINE__ も参照してください。

//emlist[例][ruby]{
p binding.source_location # => ["test.rb", 1]
//}...

Gem::Specification#add_bindir(executables) -> Array | nil (9100.0)

実行コマンドの格納場所を返します。

実行コマンドの格納場所を返します。

@param executables 実行コマンド名を格納した配列を指定します。

Gem::Specification#bindir -> String (9100.0)

実行ファイルを格納するディレクトリを返します。

実行ファイルを格納するディレクトリを返します。

Gem::Specification#bindir=(dir) (9100.0)

実行ファイルを格納するディレクトリをセットします。

実行ファイルを格納するディレクトリをセットします。

@param dir 実行ファイルを格納するディレクトリを指定します。デフォルトは "bin" です。

Socket::Constants::IP_FREEBIND -> Integer (9100.0)

Allow binding to nonexistent IP addresses。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Allow binding to nonexistent IP addresses。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(7linux)...

絞り込み条件を変える

<< 1 2 3 ... > >>