181件ヒット
[1-100件を表示]
(0.026秒)
種類
- インスタンスメソッド (63)
- 特異メソッド (60)
- 文書 (24)
- 関数 (22)
- 定数 (12)
クラス
- DateTime (36)
-
Encoding
:: Converter (36) - IO (48)
- String (3)
モジュール
-
Socket
:: Constants (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
IPV6
_ CHECKSUM (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 1 . 0 (4) - binread (12)
- byteindex (3)
- civil (12)
- new (12)
-
primitive
_ convert (36) -
rb
_ ary _ entry (12) -
rb
_ time _ timespec _ new (10) - seek (12)
- write (24)
検索結果
先頭5件
- DateTime
# offset -> Rational - Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol - Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol - Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol - Socket
:: Constants :: IPV6 _ CHECKSUM -> Integer
-
DateTime
# offset -> Rational (18201.0) -
時差を返します。
時差を返します。 -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (9600.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...coding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesiz......ram options 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol
options には以下が指定できます。
: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after o......efore input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol (9500.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...coding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesiz......ram options 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol
options には以下が指定できます。
: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after o......efore input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (9400.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...coding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesiz......ram options 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol
options には以下が指定できます。
: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after o......efore input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty... -
Socket
:: Constants :: IPV6 _ CHECKSUM -> Integer (3016.0) -
Byte offset into a packet where the checksum is located. BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Byte offset into a packet where the checksum is located.
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IPV6,
ip6(4freebsd),
3542... -
VALUE rb
_ ary _ entry(VALUE ary , long offset) (240.0) -
ary のインデックス offset の要素を返します。
...ックス offset の要素を返します。
インデックスが範囲を越えるときは Qnil を返します。
負のインデックスも使えます。
対応するRubyコード
ary[offset] または
ary.at(offset)
使用例
VALUE num;
num = rb_ary_entry(ary, offset);
printf......("%d\n", FIX2INT(num));
キャストを使った要素の参照方法
VALUE num = RARRAY(ary)->ptr[offset];... -
VALUE rb
_ time _ timespec _ new(const struct timespec *ts , int offset) (234.0) -
引数 ts、offset を元に Time オブジェクトを作成して返します。
...引数 ts、offset を元に Time オブジェクトを作成して返します。
@param ts timespec 構造体のポインタ
@param offset 協定世界時との時差(秒)。
-86400 < offset < 86400 の場合は指定した時差に、INT_MAX
を指定した場合は......地方時、INT_MAX-1 を指定した場合は UTC に
なります。
@raise ArgumentError offset に上述の範囲以外の値を指定した場合に発生し
ます。... -
DateTime
. civil(year = -4712 , mon = 1 , mday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (208.0) -
暦日付に相当する日時オブジェクトを生成します。
...降では、"+0900" のような時差をあらわす文字列もつかえます。
@param year 年
@param mon 月
@param mday 日
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise Argument... -
DateTime
. new(year = -4712 , mon = 1 , mday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (208.0) -
暦日付に相当する日時オブジェクトを生成します。
...降では、"+0900" のような時差をあらわす文字列もつかえます。
@param year 年
@param mon 月
@param mday 日
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise Argument...