るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Psych::Nodes::Mapping::BLOCK -> Integer (18217.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping...

Psych::Nodes::Sequence::BLOCK -> Integer (18217.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence...

Kernel.#block_given? -> bool (6237.0)

メソッドにブロックが与えられていれば真を返します。

...ートするとはいえないので)推奨されていないの
block_given? を使ってください。

//emlist[例][ruby]{
def check
if block_given?
puts "Block is given."
else
puts "Block isn't given."
end
end
check{} #=> Block is given.
check #=> Block isn't given.
//}...

Socket::Constants::IP_BLOCK_SOURCE -> Integer (6217.0)

Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP,
ip(4freebsd)...

Socket::Constants::MCAST_BLOCK_SOURCE -> Integer (6217.0)

Block multicast packets from this source

...Block multicast packets from this source

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

絞り込み条件を変える

Socket::IP_BLOCK_SOURCE -> Integer (6217.0)

Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP,
ip(4freebsd)...

Socket::MCAST_BLOCK_SOURCE -> Integer (6217.0)

Block multicast packets from this source

...Block multicast packets from this source

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Digest::Base#block_length -> Integer (6207.0)

ダイジェストのブロック長を取得します。 例えば、Digest::MD5であれば64、Digest::SHA512であれば128です。

...クラスにより、
それぞれの実装に適したものにオーバーライドされます。

例: Digest::MD、Digest::SHA1、Digest::SHA512のブロック長を順番に調べる。

require 'digest'
["MD5", "SHA1", "SHA512"].map{|a| Digest(a).new().block_length } # => [64, 128, 128]...

Socket#connect_nonblock(server_sockaddr) -> 0 (6206.0)

ソケットをノンブロッキングモードに設定した後、 connect(2) を呼び出します。

...を connect_nonblock をリトライするために使うことができます。

# Pull down Google's web page
require 'socket'
include Socket::Constants
socket = Socket.new(AF_INET, SOCK_STREAM, 0)
sockaddr = Socket.sockaddr_in(80, 'www.google.com')
begin # emulate blocking connect...
...socket.connect_nonblock(sockaddr)
rescue IO::WaitWritable
IO.select(nil, [socket]) # wait 3-way handshake completion
begin
socket.connect_nonblock(sockaddr) # check connection failure
rescue Errno::EISCONN
end
end
socket.write("GET / HTTP/1.0\r\n\r\n")
results = socke...

Digest::SHA2#block_length -> Integer (6201.0)

ダイジェストのブロック長を返します。

ダイジェストのブロック長を返します。

絞り込み条件を変える

<< 1 2 3 ... > >>