クラス
-
OpenSSL
:: BN (36) -
OpenSSL
:: OCSP :: CertificateId (24) -
OpenSSL
:: X509 :: Name (24) - Socket (24)
- String (21)
- Symbol (21)
モジュール
- FileUtils (36)
-
Socket
:: Constants (24)
キーワード
- <=> (24)
-
IPPROTO
_ ICMP (24) -
IPPROTO
_ ICMPV6 (24) - MEMCMP (12)
-
bigdecimal
/ ludcmp (12) - casecmp (24)
- casecmp? (18)
-
cmp
_ issuer (12) -
compare
_ file (12) - identical? (12)
- numcmp (12)
-
rb
_ mod _ cmp (12) - ucmp (12)
検索結果
先頭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)...