94件ヒット
[1-94件を表示]
(0.094秒)
ライブラリ
- ビルトイン (12)
-
drb
/ timeridconv (24) -
fiddle
/ import (12) -
net
/ ftp (10) - openssl (24)
-
rubygems
/ timer (12)
クラス
-
DRb
:: TimerIdConv (24) -
Net
:: FTP :: MLSxEntry (10) -
OpenSSL
:: OCSP :: BasicResponse (24) - Time (12)
モジュール
-
Fiddle
:: Importer (12) - Kernel (12)
検索結果
先頭5件
-
Kernel
# time(msg , width = 25) { . . . } -> object (18202.0) -
与えられたブロックの実行時間を計測して表示します。
...与えられたブロックの実行時間を計測して表示します。
@param msg 表示するメッセージを指定します。
@param width 表示する幅を指定します。
@return ブロックの実行結果を返します。... -
Time
# friday? -> bool (15107.0) -
self の表す時刻が金曜日である場合に true を返します。 そうでない場合に false を返します。
...self の表す時刻が金曜日である場合に true を返します。
そうでない場合に false を返します。
//emlist[][ruby]{
t = Time.local(1987, 12, 18) # => 1987-12-18 00:00:00 +0900
p t.friday? # => true
//}... -
DRb
:: TimerIdConv # to _ id(obj) -> Integer (12102.0) -
オブジェクトを識別子に変換します。
オブジェクトを識別子に変換します。 -
DRb
:: TimerIdConv # to _ obj(ref) -> Object (6001.0) -
識別子をオブジェクトに変換します。
識別子をオブジェクトに変換します。 -
Fiddle
:: Importer # struct(signature) -> Class (3025.0) -
C の構造体型に対応する Ruby のクラスを構築して返します。
...れを
配列で signature に渡してデータを定義します。例えば C における
struct timeval {
long tv_sec;
long tv_usec;
};
という構造体型に対応して
Timeval = struct(["long tv_sec", "long tv_usec"])
として構造体に対応するクラスを生成しま......Fiddle::CStruct を継承しています。詳しくは
そちらを参照してください。
@param signature 構造体の各要素を文字列で表現したものの配列
require 'fiddle/import'
module M
extend Fiddle::Importer
dlload "libc.so.6"
extern "int gettimeofday......(void*, void*)"
Timeval = struct(["long tv_sec", "long tv_usec"])
end
time = M::Timeval.malloc
M.gettimeofday(time, Fiddle::NULL)
p time.tv_sec
p time.tv_usec... -
OpenSSL
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] (428.0) -
証明書の状態の問い合わせの結果を返します。
...は複数の問い合わせ結果が含まれています。
個々の結果は以下の内容の配列です。
[ 問い合わせの CertificateId オブジェクト,
ステータスコード,
失効理由コード,
失効時刻,
最終更新時刻,
次回更新時刻,
拡......L::OCSP::CertificateId:0x00000000e3c290>, # certificate ID
# 0, # status code
# 0, # reason code
# nil, # revoked time
# 2011-06-......29 05:24:43 UTC, # update time
# 2011-07-06 05:24:43 UTC, # next update time
# []] # extensions
# ]
@raise OpenSSL::OCSP::OCSPError ステータスの読み出しに失敗した場... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (219.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
...い。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param revtime 失効時刻(Time オブジェクトもしくは nil)
@param thisupd 最終更新時刻(Time オブジェ......クト)
@param nextupd 次回更新時刻(Time オブジェクト)
@param exts 拡張領域(OpenSSL::X509::Extension オブジェクトの配列)... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (126.0) -
そのエントリの「facts」を返します。
...す。
* "modify" : 変更時刻 (Time)
* "create": 作成時刻
* "perm": パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir" など)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの......: グループ(Integer)
* "unix.owner": ファイルのオーナー(Integer)
* "unix.atime": ファイルに最後にアクセスした時刻 (Time)
* "unix.ctime": ファイルを作成した時刻 (Time)
これ以外の非標準的な fact を保持している場合もあります。
詳...