るりまサーチ

最速Rubyリファレンスマニュアル検索!
120件ヒット [1-100件を表示] (0.056秒)

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer times
  5. integer upto

検索結果

<< 1 2 > >>

Pathname#utime(atime, mtime) -> Integer (18224.0)

File.utime(atime, mtime, self.to_s) と同じです。

...File.utime(atime, mtime, self.to_s) と同じです。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param mtime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。


@see File.utime...

File.utime(atime, mtime, *filename) -> Integer (18214.0)

ファイルの最終アクセス時刻と更新時刻を変更します。 シンボリックリンクに対しては File.lutime と違って、 シンボリックのリンク先を変更します。

...e.new(2018, 2, 3, 4, 5, 6)
File.utime(atime, mtime, "testfile") # => 1
File.atime("testfile") # => 2018-01-02 03:04:05 +0900
File.mtime("testfile") # => 2018-02-03 04:05:06 +0900
//}

//emlist[例: 経過秒数で指定][ruby]{
File.utime(1, 2, "testfile") # => 1
File...
...ファイルの最終アクセス時刻と更新時刻を変更します。
シンボリックリンクに対しては File.lutime と違って、
シンボリックのリンク先を変更します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で...
....atime("testfile") # => 1970-01-01 09:00:01 +0900
File.mtime("testfile") # => 1970-01-01 09:00:02 +0900
//}

@see File.lutime...

Shell#utime(atime, mtime, *filename) -> Integer (18214.0)

File クラスにある同名のクラスメソッドと同じです.

...filename ファイル名を表す文字列を指定します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@see File.utime...

Shell::CommandProcessor#utime(atime, mtime, *filename) -> Integer (18214.0)

File クラスにある同名のクラスメソッドと同じです.

...filename ファイル名を表す文字列を指定します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@see File.utime...

Shell::Filter#utime(atime, mtime, *filename) -> Integer (18214.0)

File クラスにある同名のクラスメソッドと同じです.

...filename ファイル名を表す文字列を指定します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@see File.utime...

絞り込み条件を変える

File.lutime(atime, mtime, *filename) -> Integer (6223.0)

ファイルの最終アクセス時刻と更新時刻を変更します。 シンボリックリンクに対しては File.utime と違って、 シンボリックそのものを変更します。

...ファイルの最終アクセス時刻と更新時刻を変更します。
シンボリックリンクに対しては File.utime と違って、
シンボリックそのものを変更します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指...
...時からの経過秒数を数値で指定します。

@param filename ファイル名を表す文字列を指定します。複数指定できます。

@return 変更したファイルの数を返します。

@raise Errno::EXXX 変更に失敗した場合に発生します。

@see File.utime...

Process::CLOCK_PROCESS_CPUTIME_ID -> Integer | Symbol (6201.0)

Process.#clock_gettime で使われます。

...Process.#clock_gettime で使われます。

システムによっては :GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID です。
システムによっては定義されていません。...

Process::CLOCK_THREAD_CPUTIME_ID -> Integer (6201.0)

Process.#clock_gettime で使われます。

Process.#clock_gettime で使われます。

システムによっては定義されていません。

Etc::SC_CPUTIME -> Integer (3330.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_THREAD_CPUTIME -> Integer (3330.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

絞り込み条件を変える

Process.#clock_gettime(clock_id, unit=:float_second) -> Float | Integer (137.0)

POSIX の clock_gettime() 関数の時間を返します。

...SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12
: Process::CLOCK_PROCESS_CPUTIME_ID
SUSv3 to 4, Linux 2.5.63, OpenBSD 5.4, macOS 10.12
: Process::CLOCK_THREAD_CPUTIME_ID
SUSv3 to 4, Linux 2.5.63, FreeBSD 7.1, OpenBSD 5.4, macOS 10.12
: Process::CLOCK_VIRTUAL
FreeBSD 3...
...定義されている clock_gettime を含みます。
SUS では CLOCK_REALTIME は必須ですが、CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID は任意です。

さらに clock_id はいくつかのシンボルを受け付けます。
それらは clock_gettime() をエ...
...at_millisecond
Float のミリ秒
: :float_microsecond
Float のマイクロ秒
: :second
Integer
の秒
: :millisecond
Integer
のミリ秒
: :microsecond
Integer
のマイクロ秒
: :nanosecond
Integer
のナノ秒

基になる関数 clock_gettime() はナノ秒を返します。
Float オ...
<< 1 2 > >>