testdict.c


Log

Author Commit Date CI Message
Nick Wellnhofer 12ce9b5f 2024-01-25T12:52:14 dict: Fix warnings with older clang
Nick Wellnhofer a7b03795 2023-11-04T19:04:23 doc: Minor fixes for apibuild.py
Nick Wellnhofer 4f221a77 2023-09-12T19:08:07 hash: Add hash table tests Make sure to properly test removal from hash tables.
Nick Wellnhofer a77f9ab8 2023-09-20T16:57:22 globals: Don't include SAX2.h from globals.h
Nick Wellnhofer edc2dd48 2023-09-04T16:07:23 dict: Update hash function Update hash function from classic Jenkins OAAT (dict.c) and a variant of DJB2 (hash.c) to "GoodOAAT" taken from the SMHasher repo. This hash function passes all SMHasher tests.
Nick Wellnhofer 7f3f3f11 2023-05-03T03:20:14 dict: Raise MAX_DICT_HASH limit This fixes quadratic behavior with large dictionaries. Also rework testdict.c to support tests with larger dictionaries.
Nick Wellnhofer 886bf4e6 2023-04-30T15:35:47 Stop calling xmlMemoryDump This was used to check for memory leaks but could potentially create a .memdump file. These days, there are better ways to check for memory leaks.
Nick Wellnhofer d725addd 2022-11-22T14:50:14 warnings: Work around MSVC bug MSVC apparently complains when passing a `const char **` to memset. Unlike `const char *const *`, this isn't a pointer to const memory.
Philip Withnall 57941042 2014-10-26T18:08:04 Remove various unused value assignments As detected by Coverity (CIDs 60467–60472). https://bugzilla.gnome.org/show_bug.cgi?id=739220
Daniel Veillard d330f18f 2008-08-08T12:03:22 add the new test in 'make check' and update it to check subdictionaries * Makefile.am testdict.c: add the new test in 'make check' and update it to check subdictionaries processing. Daniel svn path=/trunk/; revision=3769
Daniel Veillard d68f8912 2008-08-08T10:09:19 added a program to regression test the dictionary code improve the lookup * testdict.c: added a program to regression test the dictionary code * dict.c: improve the lookup efficiency by caching the key. Daniel svn path=/trunk/; revision=3768