golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/backupbuddy/destinations/_s3lib3/Aws
⬆️ Go Up
Upload
File/Folder
Size
Actions
Acm
-
Del
OK
Api
-
Del
OK
ApplicationAutoScaling
-
Del
OK
ApplicationDiscoveryService
-
Del
OK
AutoScaling
-
Del
OK
AwsClient.php
11.34 KB
Del
OK
AwsClientInterface.php
5.4 KB
Del
OK
AwsClientTrait.php
2.49 KB
Del
OK
CacheInterface.php
755 B
Del
OK
ClientResolver.php
26.63 KB
Del
OK
CloudHsm
-
Del
OK
CloudTrail
-
Del
OK
CodeCommit
-
Del
OK
CodePipeline
-
Del
OK
CognitoIdentity
-
Del
OK
CognitoIdentityProvider
-
Del
OK
CognitoSync
-
Del
OK
Command.php
1.3 KB
Del
OK
CommandInterface.php
946 B
Del
OK
CommandPool.php
4.91 KB
Del
OK
ConfigService
-
Del
OK
Credentials
-
Del
OK
DataPipeline
-
Del
OK
DatabaseMigrationService
-
Del
OK
DeviceFarm
-
Del
OK
DirectConnect
-
Del
OK
DirectoryService
-
Del
OK
DoctrineCacheAdapter.php
989 B
Del
OK
Ecr
-
Del
OK
Ecs
-
Del
OK
Efs
-
Del
OK
Emr
-
Del
OK
Endpoint
-
Del
OK
Exception
-
Del
OK
GameLift
-
Del
OK
Handler
-
Del
OK
HandlerList.php
12.43 KB
Del
OK
HasDataTrait.php
1.11 KB
Del
OK
HashInterface.php
531 B
Del
OK
HashingStream.php
1.53 KB
Del
OK
History.php
3.81 KB
Del
OK
Iam
-
Del
OK
ImportExport
-
Del
OK
Inspector
-
Del
OK
Iot
-
Del
OK
IotDataPlane
-
Del
OK
JsonCompiler.php
478 B
Del
OK
Kinesis
-
Del
OK
KinesisAnalytics
-
Del
OK
Kms
-
Del
OK
LruArrayCache.php
2.06 KB
Del
OK
MachineLearning
-
Del
OK
MarketplaceCommerceAnalytics
-
Del
OK
MarketplaceMetering
-
Del
OK
Middleware.php
12.8 KB
Del
OK
MockHandler.php
3.6 KB
Del
OK
MultiRegionClient.php
7.42 KB
Del
OK
Multipart
-
Del
OK
OpsWorks
-
Del
OK
PhpHash.php
1.78 KB
Del
OK
PsrCacheAdapter.php
742 B
Del
OK
Redshift
-
Del
OK
Result.php
1.08 KB
Del
OK
ResultInterface.php
1.34 KB
Del
OK
ResultPaginator.php
5.08 KB
Del
OK
RetryMiddleware.php
6.17 KB
Del
OK
S3
-
Del
OK
Sdk.php
14.59 KB
Del
OK
ServiceCatalog
-
Del
OK
Signature
-
Del
OK
SnowBall
-
Del
OK
Ssm
-
Del
OK
StorageGateway
-
Del
OK
Sts
-
Del
OK
Support
-
Del
OK
Swf
-
Del
OK
TraceMiddleware.php
10.41 KB
Del
OK
Waf
-
Del
OK
Waiter.php
8.44 KB
Del
OK
WorkSpaces
-
Del
OK
WrappedHttpHandler.php
6.88 KB
Del
OK
data
-
Del
OK
functions.php
9.54 KB
Del
OK
index.php
27 B
Del
OK
Edit: LruArrayCache.php
<?php namespace Aws; /** * Simple in-memory LRU cache that limits the number of cached entries. * * The LRU cache is implemented using PHP's ordered associative array. When * accessing an element, the element is removed from the hash and re-added to * ensure that recently used items are always at the end of the list while * least recently used are at the beginning. When a value is added to the * cache, if the number of cached items exceeds the allowed number, the first * N number of items are removed from the array. */ class LruArrayCache implements CacheInterface { /** @var int */ private $maxItems; /** @var array */ private $items; /** * @param int $maxItems Maximum number of allowed cache items. */ public function __construct($maxItems = 1000) { $this->maxItems = $maxItems; } public function get($key) { if (!isset($this->items[$key])) { return null; } $entry = $this->items[$key]; // Ensure the item is not expired. if (!$entry[1] || time() < $entry[1]) { // LRU: remove the item and push it to the end of the array. unset($this->items[$key]); $this->items[$key] = $entry; return $entry[0]; } unset($this->items[$key]); return null; } public function set($key, $value, $ttl = 0) { // Only call time() if the TTL is not 0/false/null $ttl = $ttl ? time() + $ttl : 0; $this->items[$key] = [$value, $ttl]; // Determine if there are more items in the cache than allowed. $diff = count($this->items) - $this->maxItems; // Clear out least recently used items. if ($diff > 0) { // Reset to the beginning of the array and begin unsetting. reset($this->items); for ($i = 0; $i < $diff; $i++) { unset($this->items[key($this->items)]); next($this->items); } } } public function remove($key) { unset($this->items[$key]); } }
Save