るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 > >>

OpenSSL::OCSP::CertificateId#cmp(other) -> bool (21207.0)

2つの CertificateId オブジェクトを比較し、 同じものであれば真を返します。

...2つの CertificateId オブジェクトを比較し、
同じものであれば真を返します。

@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp_issuer...

FileUtils.#cmp(file_a, file_b) -> bool (21113.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::BN#cmp(other) -> -1 | 0 | 1 (15201.0)

自身と other を比較し、自身が小さいときには -1、 等しいときには 0、大きいときには 1 を返します。

...自身と other を比較し、自身が小さいときには -1、
等しいときには 0、大きいときには 1 を返します。

//emlist[][ruby]{
require 'openssl'

OpenSSL::BN.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 (15201.0)

他の OpenSSL::X509::Name オブジェクトと比較します。

...他の OpenSSL::X509::Name オブジェクトと比較します。

自身が other と一致する場合は 0、otherより大きい場合は1、
小さい場合は -1 を返します。

@param other 比較するオブジェクト...

Socket::Constants::IPPROTO_ICMP -> Integer (12200.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 (12200.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 (12200.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 (12200.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...

OpenSSL::OCSP::CertificateId#cmp_issuer(other) -> bool (9207.0)

2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、 同じ issuer であれば真を返します。

...2つの CertificateId オブジェクトの issuer(証明書発行者)を比較し、
同じ issuer であれば真を返します。

@param other 比較する OpenSSL::OCSP::CertificateId オブジェクト
@see OpenSSL::OCSP::CertificateId#cmp...
<< 1 2 3 > >>