712件ヒット
[1-100件を表示]
(0.063秒)
別のキーワード
ライブラリ
クラス
-
ARGF
. class (22) - Array (22)
- Binding (10)
- Coverage (6)
- Enumerator (33)
-
Enumerator
:: Lazy (44) - Float (20)
- IO (11)
- Integer (66)
- Object (44)
-
Rake
:: FileCreationTask (11) -
Rake
:: FileTask (11) -
Rake
:: Task (11) - Socket (44)
-
Socket
:: AncillaryData (11) - String (11)
- Thread (8)
-
Thread
:: ConditionVariable (22) - ThreadsWait (60)
モジュール
- Benchmark (33)
- Etc (11)
- Kernel (22)
- Process (33)
-
Socket
:: Constants (44)
キーワード
- * (33)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) - Numeric (11)
-
PC
_ TIMESTAMP _ RESOLUTION (11) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Rubyの起動 (11)
-
SCM
_ TIMESTAMP (22) -
SCM
_ TIMESTAMPNS (22) -
SO
_ TIMESTAMP (22) -
SO
_ TIMESTAMPNS (22) -
all
_ waits (18) -
at
_ exit (11) - benchmark (11)
- bigdecimal (11)
- bm (11)
- broadcast (11)
-
clock
_ gettime (11) - downto (22)
- empty? (6)
-
enum
_ for (44) - eof (11)
- eof? (11)
- finished? (6)
- join (6)
-
join
_ nowait (6) -
line
_ stub (6) -
local
_ variables (10) - measure (11)
- modified? (11)
- new (6)
- next (11)
-
next
_ float (10) -
next
_ wait (6) -
prev
_ float (10) -
report
_ on _ exception (8) - select (11)
- signal (11)
- threads (6)
-
to
_ enum (44) - upto (22)
- waitall (11)
-
with
_ object (22) - xmlrpc (3)
- クラス/メソッドの定義 (11)
- 制御構造 (11)
- 演算子式 (11)
検索結果
先頭5件
-
Integer
# times -> Enumerator (18220.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...ら self - 1 までの数値が渡されます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#... -
Integer
# times {|n| . . . } -> self (18220.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...ら self - 1 までの数値が渡されます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#... -
Process
. # times -> Process :: Tms (18201.0) -
自身のプロセスとその子プロセスが消費したユーザ/システム CPU 時間の積算を Process::Tms オブジェクトで返します。 時間の単位は秒で、浮動小数点数で与えられます。
自身のプロセスとその子プロセスが消費したユーザ/システム CPU 時間の積算を
Process::Tms オブジェクトで返します。
時間の単位は秒で、浮動小数点数で与えられます。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。
@see Process::Tms -
Rake
:: FileTask # timestamp -> Time | Rake :: LateTime (6206.0) -
ファイルタスクのタイムスタンプを返します。
...ファイルタスクのタイムスタンプを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.timestamp # => #<Rake::LateTime:0x2ba58f0>
end
//}... -
Socket
:: AncillaryData # timestamp -> Time (6206.0) -
タイムスタンプ制御メッセージに含まれる時刻を Time オブジェクト で返します。
...タイムスタンプ制御メッセージ" は以下のいずれかです。
* SOL_SOCKET/SCM_TIMESTAMP (micro second) GNU/Linux, FreeBSD, NetBSD, OpenBSD, Solaris, MacOS X
* SOL_SOCKET/SCM_TIMESTAMPNS (nano second) GNU/Linux
* SOL_SOCKET/SCM_BINTIME (2**(-64) second) FreeBSD
require 's......:TIMESTAMP, true)
s2.send "a", 0, s1.local_address
ctl = s1.recvmsg.last
p ctl
#=> #<Socket::AncillaryData: INET SOCKET TIMESTAMP 2009-02-24 17:35:46.775581>
t = ctl.timestamp
p t #=> 2009-02-24 17:35:46 +0900
p t.usec #=> 775581
p t.nsec #=>......775581000
}
}
@see Socket::Constants::SCM_TIMESTAMP,
Socket::Constants::SCM_TIMESTAMPNS,
Socket::Constants::SCM_BINTIME,
Socket::Constants::SO_TIMESTAMP,
Socket::Constants::SO_TIMESTAMPNS,
Socket::Constants::SO_BINTIME... -
Rake
:: FileCreationTask # timestamp -> Rake :: EarlyTime (6200.0) -
どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
...どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
@see [[FileTask#timestamp]]... -
Rake
:: Task # timestamp -> Time (6200.0) -
自身のタイムスタンプを返します。
自身のタイムスタンプを返します。
基本的なタスクは現在時刻を返しますが、高度なタスクはタイムスタンプを
計算して返します。 -
Socket
:: Constants :: SCM _ TIMESTAMP -> Integer (6200.0) -
Timestamp (timeval).
...Timestamp (timeval).
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg... -
Socket
:: Constants :: SCM _ TIMESTAMPNS -> Integer (6200.0) -
Timestamp (timespec).
...Timestamp (timespec).
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg... -
Socket
:: Constants :: SO _ TIMESTAMP -> Integer (6200.0) -
Receive timestamp with datagrams (timeval)。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Receive timestamp with datagrams (timeval)。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET
Socket::AncillaryData#timestamp...