LibreOffice Module svl (master) 1
|
Classes | |
struct | hash_entry |
struct | head_entry |
struct | lru_entry |
Public Member Functions | |
INetURLHistory_Impl () | |
INetURLHistory_Impl (const INetURLHistory_Impl &)=delete | |
INetURLHistory_Impl & | operator= (const INetURLHistory_Impl &)=delete |
void | putUrl (const OUString &rUrl) |
putUrl/queryUrl. More... | |
bool | queryUrl (const OUString &rUrl) const |
Private Member Functions | |
void | initialize () |
Initialization. More... | |
sal_uInt16 | find (sal_uInt32 nHash) const |
void | move (sal_uInt16 nSI, sal_uInt16 nDI) |
void | backlink (sal_uInt16 nThis, sal_uInt16 nTail) |
void | unlink (sal_uInt16 nThis) |
Static Private Member Functions | |
static sal_uInt16 | capacity () |
static sal_uInt32 | crc32 (OUString const &rData) |
Private Attributes | |
head_entry | m_aHead |
Representation. More... | |
hash_entry | m_pHash [INETHIST_SIZE_LIMIT] |
lru_entry | m_pList [INETHIST_SIZE_LIMIT] |
Definition at line 39 of file inethist.cxx.
INetURLHistory_Impl::INetURLHistory_Impl | ( | ) |
Definition at line 158 of file inethist.cxx.
References initialize().
|
delete |
|
inlineprivate |
Definition at line 126 of file inethist.cxx.
References INetURLHistory_Impl::lru_entry::m_nNext, INetURLHistory_Impl::lru_entry::m_nPrev, and m_pList.
Referenced by initialize(), and putUrl().
|
inlinestaticprivate |
Definition at line 112 of file inethist.cxx.
References INETHIST_SIZE_LIMIT.
Referenced by find(), initialize(), putUrl(), and queryUrl().
|
inlinestaticprivate |
Definition at line 117 of file inethist.cxx.
Referenced by putUrl(), and queryUrl().
|
private |
Definition at line 176 of file inethist.cxx.
References capacity(), m, and m_pHash.
Referenced by putUrl(), and queryUrl().
|
private |
Initialization.
Definition at line 163 of file inethist.cxx.
References backlink(), capacity(), i, INetURLHistory_Impl::head_entry::initialize(), initialize(), m_aHead, INetURLHistory_Impl::head_entry::m_nNext, m_pHash, m_pList, and n.
Referenced by INetURLHistory_Impl(), and initialize().
|
private |
|
delete |
void INetURLHistory_Impl::putUrl | ( | const OUString & | rUrl | ) |
putUrl/queryUrl.
Definition at line 218 of file inethist.cxx.
References backlink(), capacity(), crc32(), find(), h, m_aHead, INetURLHistory_Impl::hash_entry::m_nHash, INetURLHistory_Impl::lru_entry::m_nHash, INetURLHistory_Impl::hash_entry::m_nLru, INetURLHistory_Impl::head_entry::m_nNext, INetURLHistory_Impl::lru_entry::m_nPrev, m_pHash, m_pList, move(), and unlink().
bool INetURLHistory_Impl::queryUrl | ( | const OUString & | rUrl | ) | const |
Definition at line 266 of file inethist.cxx.
References capacity(), crc32(), find(), h, and m_pHash.
|
inlineprivate |
Definition at line 137 of file inethist.cxx.
References INetURLHistory_Impl::lru_entry::m_nNext, INetURLHistory_Impl::lru_entry::m_nPrev, and m_pList.
Referenced by putUrl().
|
private |
Representation.
Definition at line 104 of file inethist.cxx.
Referenced by initialize(), and putUrl().
|
private |
Definition at line 105 of file inethist.cxx.
Referenced by find(), initialize(), move(), putUrl(), and queryUrl().
|
private |
Definition at line 106 of file inethist.cxx.
Referenced by backlink(), initialize(), putUrl(), and unlink().