Name Description Size
CacheEntry.cpp 57281
CacheEntry.h 21253
CacheFile.cpp 75223
CacheFile.h 95e7f284-84ba-48f9-b1fc-3a7336b4c33c 11022
CacheFileChunk.cpp 23542
CacheFileChunk.h baf16149-2ab5-499c-a9c2-5904eb95c288 7886
CacheFileContextEvictor.cpp 21241
CacheFileContextEvictor.h 3753
CacheFileInputStream.cpp 19571
CacheFileInputStream.h 2458
CacheFileIOManager.cpp 130476
CacheFileIOManager.h 19733
CacheFileMetadata.cpp This is a helper class 30089
CacheFileMetadata.h a9e36125-3f01-4020-9540-9dafa8d31ba7 8462
CacheFileOutputStream.cpp 13501
CacheFileOutputStream.h 2099
CacheFileUtils.cpp A simple recursive descent parser for the mapping key. 18060
CacheFileUtils.h 6958
CacheHashUtils.cpp CacheHash::Hash(const char * key, uint32_t initval) See http://burtleburtle.net/bob/hash/evahash.html for more information about this hash function. This algorithm is used to check the data integrity. 4904
CacheHashUtils.h 1850
CacheIndex.cpp This helper class is responsible for keeping CacheIndex::mIndexStats and CacheIndex::mFrecencyArray up to date. 113513
CacheIndex.h 1000 0000 0000 0000 0000 0000 0000 0000 : initialized 0100 0000 0000 0000 0000 0000 0000 0000 : anonymous 0010 0000 0000 0000 0000 0000 0000 0000 : removed 0001 0000 0000 0000 0000 0000 0000 0000 : dirty 0000 1000 0000 0000 0000 0000 0000 0000 : fresh 0000 0100 0000 0000 0000 0000 0000 0000 : pinned 0000 0010 0000 0000 0000 0000 0000 0000 : has cached alt data 0000 0001 0000 0000 0000 0000 0000 0000 : reserved 0000 0000 1111 1111 1111 1111 1111 1111 : file size (in kB) 50957
CacheIndexContextIterator.cpp 909
CacheIndexContextIterator.h 862
CacheIndexIterator.cpp 3122
CacheIndexIterator.h 1853
CacheIOThread.cpp Helper class encapsulating platform-specific code to cancel any pending IO operation taking too long. Solely used during shutdown to prevent any IO shutdown hangs. Mainly designed for using Win32 CancelSynchronousIo function. 16351
CacheIOThread.h Callable only on this thread, checks if there is an event waiting in the event queue with a higher execution priority. If so, the result is true and the current event handler should break it's work and return from Run() method immediately. The event handler will be rerun again when all more priority events are processed. Events pending after this handler (i.e. the one that called YieldAndRerun()) will not execute sooner then this handler is executed w/o a call to YieldAndRerun(). 5091
CacheLog.cpp 609
CacheLog.h 543
CacheObserver.cpp 7399
CacheObserver.h 3724
CachePurgeLock.cpp 2866
CachePurgeLock.h 670
CacheStorage.cpp 6200
CacheStorage.h 1665
CacheStorageService.cpp Keeps tables of entries. There is one entries table for each distinct load context type. The distinction is based on following load context info states: <isPrivate|isAnon|inIsolatedMozBrowser> which builds a mapping key. Thread-safe to access, protected by the service mutex. 74882
CacheStorageService.h 15059
moz.build 1534
nsICacheEntry.idl Content type that is used internally to check whether the value parsed from disk is within allowed limits. Don't pass CONTENT_TYPE_LAST to setContentType method. 11890
nsICacheEntryDoomCallback.idl Callback invoked after an entry or entries has/have been doomed from the cache. 496
nsICacheEntryOpenCallback.idl State of the entry determined by onCacheEntryCheck. ENTRY_WANTED - the consumer is interested in the entry, we will pass it. RECHECK_AFTER_WRITE_FINISHED - the consumer cannot use the entry while data is still being written and wants to check it again after the current write is finished. This actually prevents concurrent read/write and is used with non-resumable HTTP responses. ENTRY_NEEDS_REVALIDATION - entry needs to be revalidated first with origin server, this means the loading channel will decide whether to use the entry content as is after it gets a positive response from the server about validity of the content ; when a new content needs to be loaded from the server, the loading channel opens a new entry with OPEN_TRUNCATE flag which dooms the one this check has been made for. ENTRY_NOT_WANTED - the consumer is not interested in the entry, we will not pass it. 3549
nsICachePurgeLock.idl This object is a wrapper of MultiInstanceLock. It's intended to be used to ensure exclusive access to folders being deleted by the purgeHTTPCache background task. 1319
nsICacheStorage.idl Representation of a cache storage. There can be just-in-mem, in-mem+on-disk, in-mem+on-disk+app-cache or just a specific app-cache storage. 5314
nsICacheStorageService.idl Provides access to particual cache storages of the network URI cache. 4473
nsICacheStorageVisitor.idl / void onCacheStorageInfo(in uint32_t aEntryCount, in uint64_t aConsumption, in uint64_t aCapacity, in nsIFile aDiskDirectory); /** 1130
nsICacheTesting.idl This is an internal interface used only for testing purposes. THIS IS NOT AN API TO BE USED BY EXTENSIONS! ONLY USED BY MOZILLA TESTS. 645