624件ヒット
[1-100件を表示]
(0.041秒)
ライブラリ
クラス
-
ARGF
. class (24) - Array (24)
- Coverage (7)
- Enumerator (36)
- Float (22)
- IO (12)
- Integer (72)
- Object (48)
-
Rake
:: FileCreationTask (12) - Socket (48)
-
Socket
:: AncillaryData (12) - String (12)
- Thread (18)
-
Thread
:: ConditionVariable (24) - ThreadsWait (36)
モジュール
- Benchmark (24)
- Kernel (24)
- Process (24)
-
Socket
:: Constants (48)
キーワード
- * (36)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
NEWS for Ruby 3
. 0 . 0 (5) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
-
SCM
_ TIMESTAMP (24) -
SCM
_ TIMESTAMPNS (24) -
SO
_ TIMESTAMP (24) -
SO
_ TIMESTAMPNS (24) - Tms (12)
-
all
_ waits (12) -
at
_ exit (12) - benchmark (12)
- bm (12)
- broadcast (12)
-
clock
_ gettime (12) - downto (24)
-
enum
_ for (24) - eof (12)
- eof? (12)
- join (6)
-
join
_ nowait (6) -
line
_ stub (7) - modified? (12)
- new (6)
- next (12)
-
next
_ float (11) -
next
_ wait (6) -
prev
_ float (11) -
rb
_ time _ timespec _ new (10) -
rb
_ timespec _ now (10) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - select (12)
- signal (12)
-
to
_ enum (24) - upto (24)
-
with
_ object (24) - クラス/メソッドの定義 (12)
- 変数と定数 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Integer
# times -> Enumerator (18126.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...渡されます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#upto, Integer#downto, Numeric#s... -
Integer
# times {|n| . . . } -> self (18126.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...渡されます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#upto, Integer#downto, Numeric#s... -
Process
. # times -> Process :: Tms (18113.0) -
自身のプロセスとその子プロセスが消費したユーザ/システム CPU 時間の積算を Process::Tms オブジェクトで返します。 時間の単位は秒で、浮動小数点数で与えられます。
...ム CPU 時間の積算を
Process::Tms オブジェクトで返します。
時間の単位は秒で、浮動小数点数で与えられます。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。
@see Process::Tms... -
VALUE rb
_ time _ timespec _ new(const struct timespec *ts , int offset) (6218.0) -
引数 ts、offset を元に Time オブジェクトを作成して返します。
...引数 ts、offset を元に Time オブジェクトを作成して返します。
@param ts timespec 構造体のポインタ
@param offset 協定世界時との時差(秒)。
-86400 < offset < 86400 の場合は指定した時差に、INT_MAX
を指定した場合は......地方時、INT_MAX-1 を指定した場合は UTC に
なります。
@raise ArgumentError offset に上述の範囲以外の値を指定した場合に発生し
ます。... -
void rb
_ timespec _ now(struct timespec *ts) (6206.0) -
現在時刻を取得してその結果を引数 ts で指定した timespec 構造体に格納します。
...現在時刻を取得してその結果を引数 ts で指定した timespec 構造体に格納します。
@param ts timespec 構造体のポインタ... -
Socket
:: Constants :: SO _ TIMESTAMPNS -> Integer (6122.0) -
@todo Receive nanosecond timestamp with datagrams (timespec)。
...@todo
Receive nanosecond timestamp with datagrams (timespec)。
@see Socket::Constants::SO_TIMESTAMP,
Socket::AncillaryData#timestamp... -
Socket
:: SO _ TIMESTAMPNS -> Integer (6122.0) -
@todo Receive nanosecond timestamp with datagrams (timespec)。
...@todo
Receive nanosecond timestamp with datagrams (timespec)。
@see Socket::Constants::SO_TIMESTAMP,
Socket::AncillaryData#timestamp... -
Rake
:: FileCreationTask # timestamp -> Rake :: EarlyTime (6106.0) -
どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
...どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。
@see [[FileTask#timestamp]]... -
Socket
:: AncillaryData # timestamp -> Time (6106.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......1", 0).bind {|s2|
s1.setsockopt(:SOCKET, :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 +090......0
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...