1665件ヒット
[1601-1665件を表示]
(0.053秒)
ライブラリ
- ビルトイン (365)
- bigdecimal (11)
-
cgi
/ core (22) - csv (22)
- date (33)
- drb (11)
-
drb
/ timeridconv (11) - etc (11)
- fiddle (44)
- getoptlong (11)
-
irb
/ context (33) -
irb
/ ext / history (22) -
irb
/ ext / save-history (22) - json (55)
- logger (1)
- matrix (66)
- mkmf (44)
-
net
/ http (22) - openssl (220)
- optparse (143)
- prime (55)
- psych (22)
- resolv-replace (11)
- rexml (33)
- rubygems (11)
-
rubygems
/ config _ file (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ specification (11) -
shell
/ process-controller (12) - socket (99)
- stringio (11)
-
webrick
/ httprequest (11) -
webrick
/ httpresponse (44) -
webrick
/ httpversion (44) - win32ole (66)
クラス
- Array (18)
- BasicSocket (44)
- BigDecimal (11)
- Binding (6)
- CSV (22)
-
DRb
:: DRbIdConv (11) -
DRb
:: TimerIdConv (11) - Date (22)
- DateTime (11)
-
Encoding
:: Converter (44) -
Fiddle
:: Function (44) -
Gem
:: ConfigFile (11) -
Gem
:: Package :: TarHeader (11) -
Gem
:: Specification (11) - GetoptLong (11)
- IO (22)
-
IRB
:: Context (77) - Integer (44)
-
JSON
:: State (44) -
Logger
:: Application (1) - Matrix (55)
-
Matrix
:: LUPDecomposition (11) - Method (11)
- Module (5)
-
Net
:: HTTP (11) - Object (11)
-
OpenSSL
:: OCSP :: BasicResponse (22) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: OCSP :: Response (11) -
OpenSSL
:: SSL :: SSLContext (99) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: CRL (11) -
OpenSSL
:: X509 :: Certificate (11) -
OpenSSL
:: X509 :: Request (11) -
OpenSSL
:: X509 :: StoreContext (22) - OptionParser (143)
- Prime (22)
-
Prime
:: TrialDivisionGenerator (22) - Proc (11)
-
Psych
:: Emitter (11) -
Psych
:: Nodes :: Document (11) -
RDoc
:: Options (22) -
REXML
:: ParseException (33) - Rational (88)
- Regexp (11)
-
RubyVM
:: InstructionSequence (11) -
Shell
:: ProcessController (12) - SignalException (11)
-
Socket
:: Option (55) - String (18)
- StringIO (11)
-
Thread
:: Backtrace :: Location (11) - Time (33)
- UDPSocket (11)
- UnboundMethod (11)
-
WEBrick
:: Cookie (22) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (44) -
WEBrick
:: HTTPVersion (44) -
WIN32OLE
_ METHOD (11) -
WIN32OLE
_ TYPE (33) -
WIN32OLE
_ TYPELIB (22)
モジュール
-
CGI
:: QueryExtension (22) - Enumerable (21)
-
Gem
:: QuickLoader (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) - Kernel (44)
-
Net
:: HTTPHeader (11) -
OpenSSL
:: Buffering (11)
キーワード
- abi (11)
-
back
_ trace _ limit (11) -
back
_ trace _ limit= (11) -
buffer
_ initial _ length (11) -
bulk
_ threshold (11) - byteindex (2)
-
calculate
_ integers _ for _ gem _ version (11) - call (11)
- ceil (11)
-
check
_ nonce (11) - ciphers (11)
- cofactor (11)
-
cofactor
_ expansion (11) - concat (16)
- connect (11)
-
const
_ source _ location (5) -
content
_ length (44) -
content
_ length= (11) - context (11)
-
continue
_ timeout (11) - converters (11)
-
convertible
_ int (22) -
copy
_ nonce (11) -
coverage
_ report (11) -
debug
_ level (11) - denominator (11)
- depth (11)
- depth= (11)
- error (11)
-
error
_ depth (11) -
eval
_ history (11) -
eval
_ history= (11) - exponent (11)
- family (11)
-
field
_ size _ limit (11) -
first
_ lineno (11) - floor (11)
- hash (11)
- helpcontext (22)
- indentation (11)
- int (11)
-
int
_ from _ prime _ division (11) -
kill
_ job (6) -
laplace
_ expansion (11) - level (11)
- line (11)
- lineno (11)
- linger (11)
- major (11)
- major= (11)
-
major
_ version (22) -
max
_ nesting (11) - minor (11)
- minor= (11)
-
minor
_ version (22) - mon (22)
- month (22)
- next (11)
- numerator (11)
- one? (39)
- optname (11)
- ordering (11)
- pathconf (11)
- pivots (11)
- position (11)
-
prime
_ division (22) -
primitive
_ convert (44) - ptr (11)
- rationalize (22)
- recvmsg (11)
-
recvmsg
_ nonblock (11) - round (11)
-
save
_ history (11) -
save
_ history= (11) - second (11)
- sendmsg (11)
-
sendmsg
_ nonblock (11) -
sent
_ size (11) -
server
_ port (11) -
session
_ cache _ mode (11) -
session
_ cache _ size (11) -
session
_ cache _ stats (11) -
set
_ log (1) - sfork (6)
- signo (11)
-
singleton
_ class (11) -
source
_ location (39) -
specification
_ version (11) -
ssl
_ timeout (11) - status (33)
- subsec (11)
- succ (11)
-
summary
_ width (11) -
tab
_ width (11) - timeout (22)
-
to
_ i (22) -
to
_ id (22) -
to
_ json (11) -
to
_ r (11) - tr (11)
- trace (11)
- truncate (11)
-
try
_ constant (22) -
verify
_ depth (11) -
verify
_ mode (11) - version (66)
- version= (11)
-
write
_ nonblock (33)
検索結果
先頭5件
- Matrix
# trace -> Integer | Float | Rational | Complex - BasicSocket
# recvmsg(maxmesglen=nil , flags=0 , maxcontrollen=nil , opts={}) -> [String , Addrinfo , Integer , *Socket :: AncillaryData] - BasicSocket
# sendmsg(mesg , flags=0 , dest _ sockaddr=nil , *controls) -> Integer - Matrix
# cofactor(row , column) -> Integer | Rational | Float - Time
# subsec -> Integer | Rational
-
Matrix
# trace -> Integer | Float | Rational | Complex (203.0) -
トレース (trace) を返します。
...列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します... -
BasicSocket
# recvmsg(maxmesglen=nil , flags=0 , maxcontrollen=nil , opts={}) -> [String , Addrinfo , Integer , *Socket :: AncillaryData] (202.0) -
recvmsg(2) を用いてメッセージを受け取ります。
...このメソッドはブロックします。ノンブロッキング方式で通信したい
場合は BasicSocket#recvmsg_nonblock を用います。
maxmesglen, maxcontrollen で受け取るメッセージおよび補助データ
(Socket::AncillaryData)の最大長をバイト単位で指定......ったメッセージを表す文字列です。
2番目の要素は connection-less socket の場合には送り元の
アドレスが Addrinfo オブジェクトとして含まれています。
TCP のような connection-oriented socket の場合は
何が含まれているかはプラットフ......er_sockaddr, rflags, *controls = sock.recvmsg(:scm_rights=>true)
controls.each {|ancdata|
if ancdata.cmsg_is?(:SOCKET, :RIGHTS)
return ancdata.unix_rights[0]
end
}
@param maxmesglen 受け取るメッセージの最大長
@param flags フラグ
@param maxcontrollen 受け取る補... -
BasicSocket
# sendmsg(mesg , flags=0 , dest _ sockaddr=nil , *controls) -> Integer (202.0) -
sendmsg(2) を用いてメッセージを送ります。
...cket#sendmsg_nonblock を用います。
ソケットが connection-less の場合は dest_sockaddr で
通信先のアドレスを指定しなければなりません。Socket.sockaddr_in
の返り値や Addrinfo オブジェクトを引数として渡すことができます。
controls には......o].pack("i!")]
sock.sendmsg("\0", 0, nil, ancdata)
@param mesg メッセージ文字列
@param flags フラグ(Socket::MSG_* という定数の bitwise OR を取ったもの)
@param dest_sockaddr 通信先のアドレス
@param controls 補助データの配列
@see BasicSocket#sendmsg_nonblock... -
Matrix
# cofactor(row , column) -> Integer | Rational | Float (202.0) -
(row, column)-余因子を返します。
...(row, column)-余因子を返します。
各要素の型によって返り値が変わります。
@param row 行
@param column 列
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#adjugate... -
Time
# subsec -> Integer | Rational (202.0) -
時刻を表す分数を返します。
...時刻を表す分数を返します。
Rational を返す場合があります。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.subsec #=> (3/500000)
//}
to_f の値と subsec の値の下のほうの桁の値は異なる場... -
CSV
# field _ size _ limit -> Integer (108.0) -
フィールドサイズの最大値を返します。
...csv = CSV.new(DATA)
csv.field_size_limit # => nil
p csv.read # => [["a", "b"], ["\n2\n2\n", ""]]
DATA.rewind
csv = CSV.new(DATA, field_size_limit: 4)
p csv.field_size_limit # => 4
csv.read # => #<CSV::MalformedCSVError: Field size exceeded on line 2.>
__END__
"a","b"
"
2
2
",""
//}
@see CSV.new... -
String
# byteindex(pattern , offset = 0) -> Integer | nil (108.0) -
文字列の offset から右に向かって pattern を検索し、 最初に見つかった部分文字列の左端のバイト単位のインデックスを返します。 見つからなければ nil を返します。
...'o', -3) # => 1
'foo'.byteindex('o', -4) # => nil
'あいう'.byteindex('う') # => 6
'あいう'.byteindex('う', 3) # => 6
'あいう'.byteindex('う', -3) # => 6
'あいう'.byteindex('う', 1) # offset 1 does not land on character boundary (IndexError)
//}
@see String#index, String#byterindex...