Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Array
/
//opt/alt/ruby27/share/ri/system/Array/bsearch_index-i.ri
U:RDoc::AnyMethod[iI"bsearch_index:ETI"Array#bsearch_index;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MBy using binary search, finds an index of a value from this array which ;TI"Lmeets the given condition in O(log n) where n is the size of the array.;To:RDoc::Markup::BlankLine o; ; [ I"KIt supports two modes, depending on the nature of the block. They are ;TI"Vexactly the same as in the case of the #bsearch method, with the only difference ;TI"Lbeing that this method returns the index of the element instead of the ;TI"Melement itself. For more details consult the documentation for #bsearch.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"3ary.bsearch_index {|x| block } -> int or nil ;T0[ I"();T@FI" Array;TcRDoc::NormalClass00