るりまサーチ

最速Rubyリファレンスマニュアル検索!
762件ヒット [1-100件を表示] (0.083秒)
トップページ > クエリ:-[x] > クエリ:times[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

Integer#times -> Enumerator (18226.0)

self 回だけ繰り返します。 self が正の整数でない場合は何もしません。

...ックパラメータには 0 から self - 1 までの数値が渡されます。

//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表...

Integer#times {|n| ... } -> self (18226.0)

self 回だけ繰り返します。 self が正の整数でない場合は何もしません。

...ックパラメータには 0 から self - 1 までの数値が渡されます。

//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表...

Process.#times -> Process::Tms (18201.0)

自身のプロセスとその子プロセスが消費したユーザ/システム CPU 時間の積算を Process::Tms オブジェクトで返します。 時間の単位は秒で、浮動小数点数で与えられます。

自身のプロセスとその子プロセスが消費したユーザ/システム CPU 時間の積算を
Process::Tms オブジェクトで返します。
時間の単位は秒で、浮動小数点数で与えられます。

@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。

@see Process::Tms

Socket::AncillaryData#timestamp -> Time (6224.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 'socket'

Addrinfo.udp("127.0.0.1...
...|
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 +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...

VALUE rb_time_timespec_new(const struct timespec *ts, int offset) (6212.0)

引数 ts、offset を元に Time オブジェクトを作成して返します。

...成して返します。

@param ts timespec 構造体のポインタ

@param offset 協定世界時との時差(秒)。
-
86400 < offset < 86400 の場合は指定した時差に、INT_MAX
を指定した場合は地方時、INT_MAX-1 を指定した場合は UTC に...

絞り込み条件を変える

Rake::FileCreationTask#timestamp -> Rake::EarlyTime (6200.0)

どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。

...どんなタイムスタンプよりも前の時刻をあらわすタイムスタンプを返します。


@see [[FileTask#timestamp]]...

Rake::FileTask#timestamp -> Time | Rake::LateTime (6200.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
//}...

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...

絞り込み条件を変える

<< 1 2 3 ... > >>