452件ヒット
[1-100件を表示]
(0.104秒)
ライブラリ
- ビルトイン (374)
- bigdecimal (14)
-
bigdecimal
/ ludcmp (12) - mathn (4)
- objspace (12)
- openssl (24)
- syslog (12)
モジュール
- Kernel (100)
- LUSolve (12)
- Math (4)
- ObjectSpace (36)
-
OpenSSL
:: ASN1 (24) - Process (132)
-
Process
:: Sys (24) -
Process
:: UID (108) -
Syslog
:: Macros (12)
キーワード
- BigDecimal (14)
-
LOG
_ UPTO (12) - Rational (7)
-
allocation
_ sourceline (12) -
change
_ privilege (12) -
clock
_ gettime (12) -
each
_ object (24) - eid (12)
- eid= (12)
- euid (12)
- format (12)
-
from
_ name (12) - geteuid (12)
- getrlimit (12)
- getuid (12)
-
grant
_ privilege (12) - groups (12)
- initgroups (12)
- ludecomp (12)
- maxgroups (12)
- maxgroups= (12)
- putc (12)
-
re
_ exchange (12) - rid (12)
- rsqrt (4)
- sprintf (12)
- switch (24)
- syscall (12)
- test (24)
- uid (12)
- wait2 (12)
- waitall (12)
- waitpid2 (12)
検索結果
先頭5件
- Kernel
. # Integer(arg , base = 0 , exception: true) -> Integer | nil - OpenSSL
:: ASN1 . # Integer(value) -> OpenSSL :: ASN1 :: Integer - OpenSSL
:: ASN1 . # Integer(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Integer - Process
. # initgroups(user , group) -> [Integer] - LUSolve
. # ludecomp(a , n , zero = 0 , one = 1) -> [Integer]
-
Kernel
. # Integer(arg , base = 0 , exception: true) -> Integer | nil (18459.0) -
引数を整数 に変換した結果を返します。
...引数を整数
(Fixnum,Bignum)
に変換した結果を返します。
引数が数値の場合は直接変換し(小数点以下切り落とし)、
文字列の場合は、進数を表す接頭辞を含む整数表現とみなせる文字列のみ
変換します。
数値と文字列以外......il を返します。
@raise ArgumentError 整数と見なせない文字列を引数に指定した場合に発生します。
@raise TypeError メソッド to_int, to_i を持たないオブジェクトを引数に指定したか、to_int, to_i
が整数(Integerのサブクラス)を返さな......ruby]{
p Integer(4) #=> 4
p Integer(4_000) #=> 4000
p Integer(9.88) #=> 9
p Integer(nil) # can't convert nil into Integer (TypeError)
p Integer(Object.new) # cannot convert Object into Integer (TypeError)
p Integer("10") #=> 10
p Integer("10", 2) #=> 2
p Integer......#=> 10
p Integer("010") #=> 8
p Integer("0o10") #=> 8
p Integer("0x10") #=> 16
p Integer("0b10") #=> 2
p Integer(" \n10\t ") #=> 10 # 先頭と末尾の空白類は無視される
p Integer("1\n0") # `Integer': invalid value for Integer: "1\n0" (ArgumentError)
p Integer("hoge")... -
OpenSSL
:: ASN1 . # Integer(value) -> OpenSSL :: ASN1 :: Integer (18327.0) -
ASN.1 の Integer 型の値を表現する Ruby のオブジェクトを 生成します。
...ASN.1 の Integer 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Integer.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(OpenSSL::BNのインスタンス)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLI......CIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)... -
OpenSSL
:: ASN1 . # Integer(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Integer (18327.0) -
ASN.1 の Integer 型の値を表現する Ruby のオブジェクトを 生成します。
...ASN.1 の Integer 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Integer.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(OpenSSL::BNのインスタンス)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLI......CIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)... -
Process
. # initgroups(user , group) -> [Integer] (6302.0) -
user が属するグループのリストを更新し、group をそのリストに加えます。
...
user が属するグループのリストを更新し、group をそのリストに加えます。
このメソッドを呼ぶには root 権限が必要です。
@param user ユーザ名を表す文字列で指定します。
@param group ユーザグループ ID を整数で指定します。... -
LUSolve
. # ludecomp(a , n , zero = 0 , one = 1) -> [Integer] (6208.0) -
n 次正方行列を表す配列 a を破壊的に変更し、返り値と併せて元の行列の LU 分解を提供します。
...n 次正方行列を表す配列 a を破壊的に変更し、返り値と併せて元の行列の LU 分解を提供します。
LUSolve.#lusolve の引数を構築するために使います。
@param a 行列を BigDecimal の配列で指定します。(各要素を
Row-major order......次元を整数で指定します。
@param zero 0 を表す値を指定します。
@param one 1 を表す値を指定します。
@return ピボットの位置を表す Integer の配列を返します。
@raise RuntimeError 引数 a に特異行列を指定した場合に発生します。... -
ObjectSpace
. # allocation _ sourceline(object) -> Integer (6202.0) -
objectの元となったソースファイルの行番号を返します。
...します。
@return objectの元となるソースファイルの行番号を返します。存在しない場合はnilを返します。
//emlist[例][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "line:#{ObjectSpace::allocation_sourceline(obj)}" #... -
Process
. # euid -> Integer (6202.0) -
カレントプロセスの実効ユーザ ID を整数で返します。
...カレントプロセスの実効ユーザ ID を整数で返します。
@see geteuid(2)... -
Process
. # groups -> [Integer] (6202.0) -
補助グループ ID の配列を返します(実効グループ ID を含むかも知れません)。
...返します(実効グループ ID を含むかも知れません)。
返される配列の最大要素数は Process.#maxgroups です。
このメソッドは getgroups(2) の単純なラッパーです。
このことは以下の特徴がプラットフォームに依存することを意味し......ソート済みで重複のないグループ ID の配列の取得は以下のようにできます:
//emlist[][ruby]{
Process.groups.uniq.sort
//}
@raise Errno::EXXX Process.#maxgroups が実際に返される補助グループ ID の
数よりも少ない値を設定してい......ると発生します。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。
//emlist[][ruby]{
Process.groups #=> [27, 6, 10, 11]
//}
@see getgroups(2)... -
Process
. # maxgroups -> Integer (6202.0) -
設定できる補助グループ ID の数を指定します。
...定します。
実際に返される補助グループ ID の数よりも少ない値を設定していると、
Process.#groups で例外が発生します。
@param num 整数を指定します。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されてい...