Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby20 /
lib64 /
ruby /
2.0.0 /
minitest /
Delete
Unzip
Name
Size
Permission
Date
Action
autorun.rb
513
B
-rw-r--r--
2012-05-05 02:16
benchmark.rb
10.14
KB
-rw-r--r--
2012-05-05 02:16
hell.rb
490
B
-rw-r--r--
2013-02-02 09:02
mock.rb
5.89
KB
-rw-r--r--
2013-02-02 09:02
parallel_each.rb
853
B
-rw-r--r--
2012-11-29 06:54
pride.rb
2.63
KB
-rw-r--r--
2012-11-29 06:53
spec.rb
11.82
KB
-rw-r--r--
2012-11-29 06:53
unit.rb
37.65
KB
-rw-r--r--
2012-11-29 06:53
Save
Rename
# encoding: utf-8 ###################################################################### # This file is imported from the minitest project. # DO NOT make modifications in this repo. They _will_ be reverted! # File a patch instead and assign it to Ryan Davis. ###################################################################### class ParallelEach require 'thread' include Enumerable N = (ENV['N'] || 2).to_i def initialize list @queue = Queue.new # *sigh*... the Queue api sucks sooo much... list.each { |i| @queue << i } N.times { @queue << nil } end def grep pattern self.class.new super end def each threads = N.times.map { Thread.new do Thread.current.abort_on_exception = true while job = @queue.pop yield job end end } threads.map(&:join) end end