[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.140: ~ $
# frozen_string_literal: true
require "rake/private_reader"

module Rake

  class ThreadHistoryDisplay    # :nodoc: all
    include Rake::PrivateReader

    private_reader :stats, :items, :threads

    def initialize(stats)
      @stats   = stats
      @items   = { _seq_: 1  }
      @threads = { _seq_: "A" }
    end

    def show
      puts "Job History:"
      stats.each do |stat|
        stat[:data] ||= {}
        rename(stat, :thread, threads)
        rename(stat[:data], :item_id, items)
        rename(stat[:data], :new_thread, threads)
        rename(stat[:data], :deleted_thread, threads)
        printf("%8d %2s %-20s %s\n",
          (stat[:time] * 1_000_000).round,
          stat[:thread],
          stat[:event],
          stat[:data].map do |k, v| "#{k}:#{v}" end.join(" "))
      end
    end

    private

    def rename(hash, key, renames)
      if hash && hash[key]
        original = hash[key]
        value = renames[original]
        unless value
          value = renames[:_seq_]
          renames[:_seq_] = renames[:_seq_].succ
          renames[original] = value
        end
        hash[key] = value
      end
    end
  end

end

Filemanager

Name Type Size Permission Actions
ext Folder 0755
loaders Folder 0755
application.rb File 24.75 KB 0644
backtrace.rb File 896 B 0644
clean.rb File 2.03 KB 0644
cloneable.rb File 448 B 0644
cpu_counter.rb File 2.33 KB 0644
default_loader.rb File 265 B 0644
dsl_definition.rb File 5.48 KB 0644
early_time.rb File 370 B 0644
file_creation_task.rb File 699 B 0644
file_list.rb File 12.45 KB 0644
file_task.rb File 1.5 KB 0644
file_utils.rb File 3.82 KB 0644
file_utils_ext.rb File 3.84 KB 0644
invocation_chain.rb File 1.19 KB 0644
invocation_exception_mixin.rb File 461 B 0644
late_time.rb File 295 B 0644
linked_list.rb File 2.77 KB 0644
multi_task.rb File 345 B 0644
name_space.rb File 702 B 0644
packagetask.rb File 6.02 KB 0644
phony.rb File 381 B 0644
private_reader.rb File 394 B 0644
promise.rb File 2.28 KB 0644
pseudo_status.rb File 405 B 0644
rake_module.rb File 1.49 KB 0644
rake_test_loader.rb File 477 B 0644
rule_recursion_overflow_error.rb File 382 B 0644
scope.rb File 898 B 0644
task.rb File 12.74 KB 0644
task_argument_error.rb File 149 B 0644
task_arguments.rb File 2.41 KB 0644
task_manager.rb File 10.02 KB 0644
tasklib.rb File 165 B 0644
testtask.rb File 5.19 KB 0644
thread_history_display.rb File 1.13 KB 0644
thread_pool.rb File 4.68 KB 0644
trace_output.rb File 575 B 0644
version.rb File 208 B 0644
win32.rb File 1.52 KB 0644