クラス
-
OpenSSL
:: BN (33) -
OpenSSL
:: OCSP :: CertificateId (22) -
OpenSSL
:: X509 :: Name (22) - Socket (22)
- String (19)
- Symbol (19)
モジュール
- FileUtils (33)
-
Socket
:: Constants (22)
キーワード
- <=> (22)
-
IPPROTO
_ ICMP (22) -
IPPROTO
_ ICMPV6 (22) - MEMCMP (11)
-
bigdecimal
/ ludcmp (11) - casecmp (22)
- casecmp? (16)
-
cmp
_ issuer (11) -
compare
_ file (11) - identical? (11)
- numcmp (11)
-
rb
_ mod _ cmp (11) - ucmp (11)
検索結果
先頭5件
-
FileUtils
. # cmp(file _ a , file _ b) -> bool (18113.0) -
ファイル file_a と file_b の内容が同じなら真を返します。
...ファイル file_a と file_b の内容が同じなら真を返します。
@param file_a ファイル名。
@param file_b ファイル名。
//emlist[][ruby]{
require 'fileutils'
FileUtils.cmp('somefile', 'somefile') #=> true
FileUtils.cmp('/dev/null', '/dev/urandom') #=> false
//}... -
OpenSSL
:: OCSP :: CertificateId # cmp(other) -> bool (18107.0) -
2つの CertificateId オブジェクトを比較し、 同じものであれば真を返します。
...2つの CertificateId オブジェクトを比較し、
同じものであれば真を返します。
@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp_issuer... -
OpenSSL
:: BN # cmp(other) -> -1 | 0 | 1 (15101.0) -
自身と other を比較し、自身が小さいときには -1、 等しいときには 0、大きいときには 1 を返します。
...new(5) <=> 5 # => 0
OpenSSL::BN.new(5) <=> OpenSSL::BN.new(9) # => -1
OpenSSL::BN.new(5) <=> OpenSSL::BN.new(5) # => 0
OpenSSL::BN.new(5) <=> OpenSSL::BN.new(-5) # => 1
//}
@param other 比較する整数
@raise TypeError 比較できないときに発生します。
@see OpenSSL::BN#ucmp... -
OpenSSL
:: X509 :: Name # cmp(other) -> -1 | 0 | 1 (15101.0) -
他の OpenSSL::X509::Name オブジェクトと比較します。
他の OpenSSL::X509::Name オブジェクトと比較します。
自身が other と一致する場合は 0、otherより大きい場合は1、
小さい場合は -1 を返します。
@param other 比較するオブジェクト -
OpenSSL
:: OCSP :: CertificateId # cmp _ issuer(other) -> bool (6107.0) -
2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、 同じ issuer であれば真を返します。
...2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、
同じ issuer であれば真を返します。
@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp... -
OpenSSL
:: BN # ucmp(other) -> -1 | 0 | 1 (6106.0) -
自身と other の絶対値を比較し、自身の絶対値が小さいときには -1、 等しいときには 0、 大きいときには 1 を返します。
...ucmp(5) # => 0
OpenSSL::BN.new(5).ucmp(OpenSSL::BN.new(-9)) # => -1
OpenSSL::BN.new(-5).ucmp(OpenSSL::BN.new(5)) # => 0
OpenSSL::BN.new(-5).ucmp(OpenSSL::BN.new(2)) # => 1
//}
@param other 比較する整数
@raise TypeError 比較できないときに発生します。
@see OpenSSL::BN#cmp... -
Socket
:: Constants :: IPPROTO _ ICMP -> Integer (6100.0) -
Control message protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Control message protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
icmp(4freebsd), icmp(7linux)... -
Socket
:: Constants :: IPPROTO _ ICMPV6 -> Integer (6100.0) -
Internet Control Message Protocol for IPv6。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet Control Message Protocol for IPv6。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see icmp6(4freebsd), 2292... -
Socket
:: IPPROTO _ ICMP -> Integer (6100.0) -
Control message protocol。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Control message protocol。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see netinet/in.h(header)
icmp(4freebsd), icmp(7linux)... -
Socket
:: IPPROTO _ ICMPV6 -> Integer (6100.0) -
Internet Control Message Protocol for IPv6。 BasicSocket#getsockopt, BasicSocket#setsockopt の level 引数に使用します。
...Internet Control Message Protocol for IPv6。
BasicSocket#getsockopt, BasicSocket#setsockopt の
level 引数に使用します。
また、Socket.open の protocol 引数に渡す利用法もあります。
@see icmp6(4freebsd), 2292...