full? returns false when there is space remaining in the buffer returns true when the buffer is full #remaining calculates the number of bytes remaining #[] raises ArgumentError if the index is less than zero raises ArgumentError if the index exceeds the limit obtains bytes at a given index without altering position #position= sets the buffer's position to a valid value raises ArgumentError if the specified position is less than zero raises ArgumentError if the specified position exceeds the limit #initialize raises TypeError if given a bogus argument I/O #read_from reads data into the buffer returns 0 if no data is available raises NIO::ByteBuffer::OverflowError if the buffer is already full #write_to writes data from the buffer raises NIO::ByteBuffer::UnderflowError if the buffer is out of data #clear clears the buffer #rewind rewinds the buffer leaving the limit intact #capacity has the requested capacity Pending: (Failures listed here are expected and do not affect your suite's status) 1) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) TypeError: no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 # ./spec/support/selectable_examples.rb:36:in `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' Finished in 29.29 seconds (files took 5.35 seconds to load) 111 examples, 0 failures, 1 pending Randomized with seed 35561 + popd ~/build/BUILD/nio4r-2.5.2 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-nio4r-2.5.2-3.fc33.riscv64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-3.fc33 rubygem-nio4r(riscv-64) = 2.5.2-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libruby.so.2.7()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-3.fc33.noarch Provides: rubygem-nio4r-doc = 2.5.2-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Processing files: rubygem-nio4r-debugsource-2.5.2-3.fc33.riscv64 Provides: rubygem-nio4r-debugsource = 2.5.2-3.fc33 rubygem-nio4r-debugsource(riscv-64) = 2.5.2-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-nio4r-debuginfo-2.5.2-3.fc33.riscv64 Provides: debuginfo(build-id) = d1285d17ccae26ced6054190e6b7d3413a6e553f rubygem-nio4r-debuginfo = 2.5.2-3.fc33 rubygem-nio4r-debuginfo(riscv-64) = 2.5.2-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(riscv-64) = 2.5.2-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-3.fc33.riscv64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.5.2-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-3.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Udw0bX + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0