るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

検索結果

FileUtils.#cmp(file_a, file_b) -> bool (72940.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 (63322.0)

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

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

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

FileUtils.#compare_file(file_a, file_b) -> bool (36940.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_issuer(other) -> bool (36622.0)

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

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

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

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

FileUtils.#identical?(file_a, file_b) -> bool (36340.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
//}

bigdecimal/ludcmp (36001.0)

LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。

LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。

Ruby のソースコード中の以下のサンプルスクリプトも参考にしてください。

* https://github.com/ruby/ruby/blob/master/ext/bigdecimal/sample/linear.rb

絞り込み条件を変える

String#casecmp(other) -> -1 | 0 | 1 | nil (27601.0)

String#<=> と同様に文字列の順序を比較しますが、 アルファベットの大文字小文字の違いを無視します。

String#<=> と同様に文字列の順序を比較しますが、
アルファベットの大文字小文字の違いを無視します。

このメソッドの動作は組み込み変数 $= には影響されません。


@param other self と比較する文字列

//emlist[例][ruby]{
"aBcDeF".casecmp("abcde") #=> 1
"aBcDeF".casecmp("abcdef") #=> 0
"aBcDeF".casecmp("abcdefg") #=> -1
"abcdef".casecmp("ABCDEF") #=> 0
//}

nil は文字列のエ...

Symbol#casecmp(other) -> -1 | 0 | 1 | nil (18601.0)

Symbol#<=> と同様にシンボルに対応する文字列の順序を比較しますが、 アルファベットの大文字小文字の違いを無視します。

Symbol#<=> と同様にシンボルに対応する文字列の順序を比較しますが、
アルファベットの大文字小文字の違いを無視します。


@param other 比較対象のシンボルを指定します。

//emlist[][ruby]{
:aBcDeF.casecmp(:abcde) #=> 1
:aBcDeF.casecmp(:abcdef) #=> 0
:aBcDeF.casecmp(:abcdefg) #=> -1
:abcdef.casecmp(:ABCDEF) #=> 0
:"\u{e4 f6 fc}".casecmp(:"\u{c4 d6 dc}") #=> 1
...

int MEMCMP(p1, p2, type, n) (18601.0)

type 型のメモリ領域 p1 と p2 の先頭 n 個を比較する。 p1 が p2 の最初の n 個より小さい、等しい、大きいとき、そ れぞれ正、0、負の値を返す。

type 型のメモリ領域 p1 と p2 の先頭 n 個を比較する。
p1 が p2 の最初の n 個より小さい、等しい、大きいとき、そ
れぞれ正、0、負の値を返す。

static VALUE rb_mod_cmp(VALUE mod, VALUE arg) (18601.0)

static int numcmp(long x, long y) (18601.0)

int用の比較関数。

int用の比較関数。

絞り込み条件を変える