Name Description Size
CacheEntry.cpp 56120
CacheEntry.h 20843
CacheFile.cpp 74907
CacheFile.h 95e7f284-84ba-48f9-b1fc-3a7336b4c33c 9867
CacheFileChunk.cpp 23420
CacheFileChunk.h baf16149-2ab5-499c-a9c2-5904eb95c288 7886
CacheFileContextEvictor.cpp 21221
CacheFileContextEvictor.h 3753
CacheFileInputStream.cpp 19042
CacheFileInputStream.h 2458
CacheFileIOManager.cpp 121944
CacheFileIOManager.h 18732
CacheFileMetadata.cpp This is a helper class 29981
CacheFileMetadata.h a9e36125-3f01-4020-9540-9dafa8d31ba7 8460
CacheFileOutputStream.cpp 12973
CacheFileOutputStream.h 2099
CacheFileUtils.cpp A simple recursive descent parser for the mapping key. 18046
CacheFileUtils.h 6820
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. 4923
CacheHashUtils.h 1850
CacheIndex.cpp This helper class is responsible for keeping CacheIndex::mIndexStats and CacheIndex::mFrecencyArray up to date. 110461
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) 48948
CacheIndexContextIterator.cpp 909
CacheIndexContextIterator.h 862
CacheIndexIterator.cpp 3075
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. 17749
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(). 4834
CacheLog.cpp 609
CacheLog.h 543
CacheObserver.cpp 6988
CacheObserver.h 3492
CacheStorage.cpp 6257
CacheStorage.h 1745
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. 73094
CacheStorageService.h 15054
moz.build 1404
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. 13188
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
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. 5311
nsICacheStorageService.idl Provides access to particual cache storages of the network URI cache. 4504
nsICacheStorageVisitor.idl / void onCacheStorageInfo(in uint32_t aEntryCount, in uint64_t aConsumption, in uint64_t aCapacity, in nsIFile aDiskDirectory); /** 1077
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