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.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
gems /
gems /
rbs-2.8.2 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
io
[ DIR ]
drwxr-xr-x
2026-05-05 23:07
rbs
[ DIR ]
drwxr-xr-x
2026-04-07 17:42
rubygems
[ DIR ]
drwxr-xr-x
2026-05-05 23:07
array.rbs
126.13
KB
-rw-r--r--
2026-04-07 17:42
basic_object.rbs
13.05
KB
-rw-r--r--
2026-04-07 17:42
binding.rbs
6.03
KB
-rw-r--r--
2026-04-07 17:42
builtin.rbs
1.42
KB
-rw-r--r--
2026-04-07 17:42
class.rbs
5.34
KB
-rw-r--r--
2026-04-07 17:42
comparable.rbs
5.55
KB
-rw-r--r--
2026-04-07 17:42
complex.rbs
14.38
KB
-rw-r--r--
2026-04-07 17:42
constants.rbs
1.72
KB
-rw-r--r--
2026-04-07 17:42
deprecated.rbs
186
B
-rw-r--r--
2026-04-07 17:42
dir.rbs
21.28
KB
-rw-r--r--
2026-04-07 17:42
encoding.rbs
53.14
KB
-rw-r--r--
2026-04-07 17:42
enumerable.rbs
79.8
KB
-rw-r--r--
2026-04-07 17:42
enumerator.rbs
15.45
KB
-rw-r--r--
2026-04-07 17:42
env.rbs
157
B
-rw-r--r--
2026-04-07 17:42
errno.rbs
12.38
KB
-rw-r--r--
2026-04-07 17:42
errors.rbs
18.59
KB
-rw-r--r--
2026-04-07 17:42
exception.rbs
7.14
KB
-rw-r--r--
2026-04-07 17:42
false_class.rbs
1.79
KB
-rw-r--r--
2026-04-07 17:42
fiber.rbs
15.89
KB
-rw-r--r--
2026-04-07 17:42
fiber_error.rbs
374
B
-rw-r--r--
2026-04-07 17:42
file.rbs
62.16
KB
-rw-r--r--
2026-04-07 17:42
file_test.rbs
9.42
KB
-rw-r--r--
2026-04-07 17:42
float.rbs
30.84
KB
-rw-r--r--
2026-04-07 17:42
gc.rbs
12.16
KB
-rw-r--r--
2026-04-07 17:42
global_variables.rbs
5.74
KB
-rw-r--r--
2026-04-07 17:42
hash.rbs
59.33
KB
-rw-r--r--
2026-04-07 17:42
integer.rbs
39.28
KB
-rw-r--r--
2026-04-07 17:42
io.rbs
100.9
KB
-rw-r--r--
2026-04-07 17:42
kernel.rbs
96.46
KB
-rw-r--r--
2026-04-07 17:42
marshal.rbs
6.91
KB
-rw-r--r--
2026-04-07 17:42
match_data.rbs
11.55
KB
-rw-r--r--
2026-04-07 17:42
math.rbs
12.32
KB
-rw-r--r--
2026-04-07 17:42
method.rbs
8.68
KB
-rw-r--r--
2026-04-07 17:42
module.rbs
49.12
KB
-rw-r--r--
2026-04-07 17:42
nil_class.rbs
3.02
KB
-rw-r--r--
2026-04-07 17:42
numeric.rbs
24.58
KB
-rw-r--r--
2026-04-07 17:42
object.rbs
37.09
KB
-rw-r--r--
2026-04-07 17:42
object_space.rbs
6.11
KB
-rw-r--r--
2026-04-07 17:42
proc.rbs
21.71
KB
-rw-r--r--
2026-04-07 17:42
process.rbs
51.68
KB
-rw-r--r--
2026-04-07 17:42
ractor.rbs
29.67
KB
-rw-r--r--
2026-04-07 17:42
random.rbs
7.03
KB
-rw-r--r--
2026-04-07 17:42
range.rbs
26.65
KB
-rw-r--r--
2026-04-07 17:42
rational.rbs
15.06
KB
-rw-r--r--
2026-04-07 17:42
rb_config.rbs
1.97
KB
-rw-r--r--
2026-04-07 17:42
refinement.rbs
1.11
KB
-rw-r--r--
2026-04-07 17:42
regexp.rbs
44.58
KB
-rw-r--r--
2026-04-07 17:42
ruby_vm.rbs
2.01
KB
-rw-r--r--
2026-04-07 17:42
signal.rbs
3.49
KB
-rw-r--r--
2026-04-07 17:42
string.rbs
112.63
KB
-rw-r--r--
2026-04-07 17:42
string_io.rbs
13.5
KB
-rw-r--r--
2026-04-07 17:42
struct.rbs
9.49
KB
-rw-r--r--
2026-04-07 17:42
symbol.rbs
13.71
KB
-rw-r--r--
2026-04-07 17:42
thread.rbs
50.99
KB
-rw-r--r--
2026-04-07 17:42
thread_group.rbs
2.37
KB
-rw-r--r--
2026-04-07 17:42
time.rbs
54.8
KB
-rw-r--r--
2026-04-07 17:42
trace_point.rbs
11.06
KB
-rw-r--r--
2026-04-07 17:42
true_class.rbs
1.72
KB
-rw-r--r--
2026-04-07 17:42
unbound_method.rbs
6.98
KB
-rw-r--r--
2026-04-07 17:42
warning.rbs
1.54
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
# <!-- rdoc-file=random.c --> # Random provides an interface to Ruby's pseudo-random number generator, or # PRNG. The PRNG produces a deterministic sequence of bits which approximate # true randomness. The sequence may be represented by integers, floats, or # binary strings. # # The generator may be initialized with either a system-generated or # user-supplied seed value by using Random.srand. # # The class method Random.rand provides the base functionality of Kernel.rand # along with better handling of floating point values. These are both interfaces # to the Ruby system PRNG. # # Random.new will create a new PRNG with a state independent of the Ruby system # PRNG, allowing multiple generators with different seed values or sequence # positions to exist simultaneously. Random objects can be marshaled, allowing # sequences to be saved and resumed. # # PRNGs are currently implemented as a modified Mersenne Twister with a period # of 2**19937-1. As this algorithm is *not* for cryptographical use, you must # use SecureRandom for security purpose, instead of this PRNG. # class Random < RBS::Unnamed::Random_Base # <!-- # rdoc-file=random.c # - Random.new(seed = Random.new_seed) -> prng # --> # Creates a new PRNG using `seed` to set the initial state. If `seed` is # omitted, the generator is initialized with Random.new_seed. # # See Random.srand for more information on the use of seed values. # def initialize: (?Integer seed) -> void # <!-- # rdoc-file=random.c # - Random.bytes(size) -> string # --> # Returns a random binary string. The argument `size` specifies the length of # the returned string. # def self.bytes: (Integer size) -> String # <!-- # rdoc-file=random.c # - prng1 == prng2 -> true or false # --> # Returns true if the two generators have the same internal state, otherwise # false. Equivalent generators will return the same sequence of pseudo-random # numbers. Two generators will generally have the same state only if they were # initialized with the same seed # # Random.new == Random.new # => false # Random.new(1234) == Random.new(1234) # => true # # and have the same invocation history. # # prng1 = Random.new(1234) # prng2 = Random.new(1234) # prng1 == prng2 # => true # # prng1.rand # => 0.1915194503788923 # prng1 == prng2 # => false # # prng2.rand # => 0.1915194503788923 # prng1 == prng2 # => true # def ==: (untyped arg0) -> bool # <!-- # rdoc-file=random.c # - Random.new_seed -> integer # --> # Returns an arbitrary seed value. This is used by Random.new when no seed value # is specified as an argument. # # Random.new_seed #=> 115032730400174366788466674494640623225 # def self.new_seed: () -> Integer # <!-- # rdoc-file=random.c # - Random.rand -> float # - Random.rand(max) -> number # - Random.rand(range) -> number # --> # Returns a random number using the Ruby system PRNG. # # See also Random#rand. # def self.rand: () -> Float | (Integer | ::Range[Integer] max) -> Integer | (Float | ::Range[Float] max) -> Float | [T < Numeric] (::Range[T]) -> T # <!-- # rdoc-file=random.c # - srand(number = Random.new_seed) -> old_seed # --> # Seeds the system pseudo-random number generator, with `number`. The previous # seed value is returned. # # If `number` is omitted, seeds the generator using a source of entropy provided # by the operating system, if available (/dev/urandom on Unix systems or the RSA # cryptographic provider on Windows), which is then combined with the time, the # process id, and a sequence number. # # srand may be used to ensure repeatable sequences of pseudo-random numbers # between different runs of the program. By setting the seed to a known value, # programs can be made deterministic during testing. # # srand 1234 # => 268519324636777531569100071560086917274 # [ rand, rand ] # => [0.1915194503788923, 0.6221087710398319] # [ rand(10), rand(1000) ] # => [4, 664] # srand 1234 # => 1234 # [ rand, rand ] # => [0.1915194503788923, 0.6221087710398319] # def self.srand: (?Integer number) -> Integer # <!-- # rdoc-file=random.c # - Random.urandom(size) -> string # --> # Returns a string, using platform providing features. Returned value is # expected to be a cryptographically secure pseudo-random number in binary form. # This method raises a RuntimeError if the feature provided by platform failed # to prepare the result. # # In 2017, Linux manpage random(7) writes that "no cryptographic primitive # available today can hope to promise more than 256 bits of security". So it # might be questionable to pass size > 32 to this method. # # Random.urandom(8) #=> "\x78\x41\xBA\xAF\x7D\xEA\xD8\xEA" # def self.urandom: (Integer) -> String # <!-- # rdoc-file=random.c # - prng.seed -> integer # --> # Returns the seed value used to initialize the generator. This may be used to # initialize another generator with the same state at a later time, causing it # to produce the same sequence of numbers. # # prng1 = Random.new(1234) # prng1.seed #=> 1234 # prng1.rand(100) #=> 47 # # prng2 = Random.new(prng1.seed) # prng2.rand(100) #=> 47 # def seed: () -> Integer private def initialize_copy: (self object) -> self def left: () -> untyped def marshal_dump: () -> untyped def marshal_load: (untyped) -> untyped def state: () -> untyped end Random::DEFAULT: Random class Random::Base < RBS::Unnamed::Random_Base end # <!-- rdoc-file=lib/random/formatter.rb --> # ## Random number formatter. # # Formats generated random numbers in many manners. # # ### Examples # # Generate random hexadecimal strings: # # require 'random/formatter' # # prng.hex(10) #=> "52750b30ffbc7de3b362" # prng.hex(10) #=> "92b15d6c8dc4beb5f559" # prng.hex(13) #=> "39b290146bea6ce975c37cfc23" # # Generate random base64 strings: # # prng.base64(10) #=> "EcmTPZwWRAozdA==" # prng.base64(10) #=> "KO1nIU+p9DKxGg==" # prng.base64(12) #=> "7kJSM/MzBJI+75j8" # # Generate random binary strings: # # prng.random_bytes(10) #=> "\016\t{\370g\310pbr\301" # prng.random_bytes(10) #=> "\323U\030TO\234\357\020\a\337" # # Generate alphanumeric strings: # # prng.alphanumeric(10) #=> "S8baxMJnPl" # prng.alphanumeric(10) #=> "aOxAg8BAJe" # # Generate UUIDs: # # prng.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594" # prng.uuid #=> "bad85eb9-0713-4da7-8d36-07a8e4b00eab" # # <!-- rdoc-file=random.c --> # Generate a random number in the given range as Random does # # prng.random_number #=> 0.5816771641321361 # prng.random_number(1000) #=> 485 # prng.random_number(1..6) #=> 3 # prng.rand #=> 0.5816771641321361 # prng.rand(1000) #=> 485 # prng.rand(1..6) #=> 3 # module Random::Formatter include RBS::Unnamed::Random_Formatter end