[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.140: ~ $
# frozen_string_literal: true
##
# An array of attributes which parallels the characters in a string.

class RDoc::Markup::AttrSpan

  ##
  # Creates a new AttrSpan for +length+ characters

  def initialize(length, exclusive)
    @attrs = Array.new(length, 0)
    @exclusive = exclusive
  end

  ##
  # Toggles +bits+ from +start+ to +length+
  def set_attrs(start, length, bits)
    updated = false
    for i in start ... (start+length)
      if (@exclusive & @attrs[i]) == 0 || (@exclusive & bits) != 0
        @attrs[i] |= bits
        updated = true
      end
    end
    updated
  end

  ##
  # Accesses flags for character +n+

  def [](n)
    @attrs[n]
  end

end


Filemanager

Name Type Size Permission Actions
attr_changer.rb File 424 B 0644
attr_span.rb File 672 B 0644
attribute_manager.rb File 9.97 KB 0644
attributes.rb File 1.25 KB 0644
blank_line.rb File 391 B 0644
block_quote.rb File 252 B 0644
document.rb File 3.15 KB 0644
formatter.rb File 5.45 KB 0644
hard_break.rb File 446 B 0644
heading.rb File 1.48 KB 0644
include.rb File 829 B 0644
indented_paragraph.rb File 906 B 0644
list.rb File 1.82 KB 0644
list_item.rb File 1.71 KB 0644
paragraph.rb File 493 B 0644
parser.rb File 14.4 KB 0644
pre_process.rb File 8.42 KB 0644
raw.rb File 1000 B 0644
regexp_handling.rb File 718 B 0644
rule.rb File 315 B 0644
table.rb File 996 B 0644
to_ansi.rb File 2.05 KB 0644
to_bs.rb File 1.64 KB 0644
to_html.rb File 9.93 KB 0644
to_html_crossref.rb File 4.87 KB 0644
to_html_snippet.rb File 5.46 KB 0644
to_joined_paragraph.rb File 1.14 KB 0644
to_label.rb File 1.84 KB 0644
to_markdown.rb File 3.61 KB 0644
to_rdoc.rb File 6.53 KB 0644
to_table_of_contents.rb File 1.72 KB 0644
to_test.rb File 1.14 KB 0644
to_tt_only.rb File 2.28 KB 0644
verbatim.rb File 1.28 KB 0644