Name Description Size
Action.cpp 883
Action.h 3380
ActorChild.cpp 1457
ActorChild.h 936
ActorUtils.h 1587
AutoUtils.cpp 18610
AutoUtils.h 3148
Cache.cpp 18259
Cache.h 4116
CacheChild.cpp 4341
CacheChild.h 2532
CacheOpChild.cpp 7179
CacheOpChild.h 2245
CacheOpParent.cpp 6761
CacheOpParent.h 2489
CacheParent.cpp 2190
CacheParent.h 1305
CacheStorage.cpp 18681
CacheStorage.h 3665
CacheStorageChild.cpp 3921
CacheStorageChild.h 2293
CacheStorageParent.cpp 4139
CacheStorageParent.h 1807
CacheStreamControlChild.cpp 5675
CacheStreamControlChild.h 2126
CacheStreamControlParent.cpp 5338
CacheStreamControlParent.h 2569
CacheTypes.ipdlh 3953
CacheWorkerRef.cpp 3758
CacheWorkerRef.h 1529
Connection.cpp 7399
Connection.h 926
Context.cpp 33323
Context.h 7660
DBAction.cpp 8054
DBAction.h 2431
DBSchema.cpp 126545
DBSchema.h 4585
FileUtils.cpp 32633
FileUtils.h This function is used to check if the directory padding file is existed. 5168
IPCUtils.h 1094
Manager.cpp aIncreaceSize 66398
Manager.h 9634
ManagerId.cpp 2314
ManagerId.h 1550
moz.build 2204
PCache.ipdl 719
PCacheOp.ipdl 739
PCacheStorage.ipdl 751
PCacheStreamControl.ipdl 831
PrincipalVerifier.cpp 6049
PrincipalVerifier.h 2396
QuotaClient.cpp aTrackQuota 21481
QuotaClient.h The following functions are used to access the directory padding file. The directory padding file lives in DOM Cache base directory (e.g. foo.com/cache/.padding). It is used to keep the current overall padding size for an origin, so that the QuotaManager doesn't need to access the database when getting quota clients' usage. For the directory padding file, it's only accessed on Quota IO thread (for getting current usage) and Cache IO threads (for tracking padding size change). Besides, the padding file is protected by a mutex lock held by CacheQuotaClient. Each padding file should only take 8 bytes (int64_t) to record the overall padding size. Besides, we use the temporary padding file to indicate if the previous action is completed successfully. If the temporary file exists, it represents that the previous action is failed and the content of padding file cannot be trusted, and we need to restore the padding file from the database. 2402
ReadStream.cpp 18164
ReadStream.h 3788
SavedTypes.h 1430
StreamControl.cpp 2560
StreamControl.h 2722
StreamList.cpp 4375
StreamList.h 1958
test 3
Types.h 1232
TypeUtils.cpp 16087
TypeUtils.h 4715