ライブラリ
キーワード
- DelegateClass (11)
- Digest (11)
- JSON (11)
- Pathname (11)
-
arg
_ config (11) -
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) -
convertible
_ int (22) -
cpp
_ command (11) -
create
_ header (11) -
create
_ makefile (11) -
create
_ tmpsrc (11) - desc (11)
-
dir
_ config (11) - directory (11)
-
dummy
_ makefile (11) -
egrep
_ cpp (22) -
enable
_ config (22) - file (11)
-
file
_ create (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) - gem (11)
-
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) - httpd (11)
- import (11)
- install (11)
-
install
_ files (11) -
install
_ rb (11) - j (11)
- jj (11)
- libpathflag (11)
-
link
_ command (11) -
merge
_ libs (11) - mkmf (11)
- modified? (11)
- multitask (11)
-
psych
_ y (11) - require (11)
- rule (11)
- scanf (12)
- task (11)
- time (11)
- timeout (22)
- touch (11)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ func (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) -
wait
_ writable (11) -
with
_ config (22) -
with
_ werror (22) - xpopen (11)
- xsystem (11)
- y (11)
検索結果
先頭5件
-
Kernel
# libpathflag(libpath = $ DEFLIBPATH| $ LIBPATH) -> String (6402.0) -
与えられた libpath を -L 付きの文字列に変換して返します。
...与えられた libpath を -L 付きの文字列に変換して返します。
@param libpath LIBPATH に指定する値を指定します。... -
Kernel
# Pathname(path) -> Pathname (6302.0) -
文字列 path を元に Pathname オブジェクトを生成します。
...文字列 path を元に Pathname オブジェクトを生成します。
Pathname.new(path) と同じです。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。... -
Kernel
# find _ type(type , opt , *headers) -> Array (6202.0) -
静的な型 type がシステムに存在するかどうか検査します。
...な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type... -
Kernel
# find _ type(type , opt , *headers) { . . . } -> Array (6202.0) -
静的な型 type がシステムに存在するかどうか検査します。
...な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type... -
Kernel
# have _ type(type , headers = nil , opt = "") -> bool (6202.0) -
静的な型 type がシステムに存在するかどうか検査します。
...静的な型 type がシステムに存在するかどうか検査します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DHAVE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例え......uire 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラ... -
Kernel
# have _ type(type , headers = nil , opt = "") { . . . } -> bool (6202.0) -
静的な型 type がシステムに存在するかどうか検査します。
...静的な型 type がシステムに存在するかどうか検査します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DHAVE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例え......uire 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラ... -
Kernel
# multitask(args) { . . . } -> Rake :: MultiTask (6202.0) -
事前タスクを並列実行するタスクを定義します。
...事前タスクを並列実行するタスクを定義します。
与えられた事前タスクを実行する順序は不定です。
例:
multitask :deploy => [:deploy_gem, :deploy_rdoc]... -
Kernel
# task(*args) { . . . } -> Rake :: Task (6202.0) -
Rake タスクを定義します。
...Rake タスクを定義します。
@param args タスク名と依存タスクを指定します。
例:
task :clobber => [:clean] do
rm_rf "html"
end
@see Rake::Task.define_task... -
Kernel
# timeout(sec , exception _ class = nil) {|i| . . . . } -> object (6202.0) -
ブロックを sec 秒の期限付きで実行します。 ブロックの実行時間が制限を過ぎたときは例外 Timeout::Error が発生します。
...c 秒の期限付きで実行します。
ブロックの実行時間が制限を過ぎたときは例外
Timeout::Error が発生します。
exception_class を指定した場合には Timeout::Error の代わりに
その例外が発生します。
ブロックパラメータ i は sec がはい......@param exception_class タイムアウトした時、発生させる例外を指定します.
=== 注意
timeout による割り込みは Thread によって実現されています。C 言語
レベルで実装され、Ruby のスレッドが割り込めない処理に対して
timeout は無力......です。
そのような
ものは実用レベルでは少ないのですが、例をあげると Socket などは
DNSの名前解決に時間がかかった場合割り込めません
(resolv-replace を使用する必要があります)。
その処理を Ruby で実装しなおすか C 側で Ru... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (6182.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
...Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p......sor constants to the
compiler using the +type+ name, in uppercase.
* 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X'
is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP,
where 'TYP' is the +type+ name in uppercase with replacing '_t'
suffix with 'T', follo......where 'X' is the macro name to
convert +type+ to +Integer+ object, and vice versa.
For example, if foobar_t is defined as unsigned long, then
convertible_int("foobar_t") would return "unsigned long", and define
macros:
#define TYPEOF_FOOBAR_T unsigned long
#define FOOBART2NUM ULONG2N...