Name Description Size Coverage
CacheEntry.cpp 60151 92 %
CacheEntry.h 22283 89 %
CacheFile.cpp 75752 77 %
CacheFile.h 95e7f284-84ba-48f9-b1fc-3a7336b4c33c 11090 97 %
CacheFileChunk.cpp 23578 86 %
CacheFileChunk.h baf16149-2ab5-499c-a9c2-5904eb95c288 7778 82 %
CacheFileContextEvictor.cpp 24827 80 %
CacheFileContextEvictor.h 4115 100 %
CacheFileInputStream.cpp 19571 83 %
CacheFileInputStream.h 2454 100 %
CacheFileIOManager.cpp 138400 81 %
CacheFileIOManager.h 20890 89 %
CacheFileMetadata.cpp This is a helper class 30320 84 %
CacheFileMetadata.h a9e36125-3f01-4020-9540-9dafa8d31ba7 8386 97 %
CacheFileOutputStream.cpp 13696 70 %
CacheFileOutputStream.h 2227 100 %
CacheFileUtils.cpp A simple recursive descent parser for the mapping key. 17809 86 %
CacheFileUtils.h 7109 100 %
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 97 %
CacheHashUtils.h 1819 100 %
CacheIndex.cpp This helper class is responsible for keeping CacheIndex::mIndexStats and CacheIndex::mFrecencyStorage up to date. 113739 68 %
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 : is a dictionary 0000 0000 1111 1111 1111 1111 1111 1111 : file size (in kB) Max file size is 16GiB 51751 88 %
CacheIndexContextIterator.cpp 909 100 %
CacheIndexContextIterator.h 858 100 %
CacheIndexIterator.cpp 3122 82 %
CacheIndexIterator.h 1849 100 %
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. 14333 93 %
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(). 5139 67 %
CacheLog.cpp 609 -
CacheLog.h 539 -
CacheObserver.cpp 7399 91 %
CacheObserver.h 3494 100 %
CachePurgeLock.cpp 2866 85 %
CachePurgeLock.h 667 100 %
CacheStorage.cpp 6450 97 %
CacheStorage.h 1661 100 %
CacheStorageService.cpp 77663 91 %
CacheStorageService.h 15799 96 %
Dictionary.cpp Reference to the DictionaryCache singleton. May be null. 62295 75 %
Dictionary.h 13647 71 %
metrics.yaml 7526 -
moz.build 1583 -
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. 12656 -
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. 6902 -
nsICacheStorageService.idl Provides access to particual cache storages of the network URI cache. 4800 -
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. 1331 -