d741d3e7a344622e5a534c34e9e2c0488b2fea4d |
|
15-Dec-2007 |
Matthias Clasen <mclasen@redhat.com> |
Add hash table iterators. (#500507, Jean-Yves Lefort) 2007-12-14 Matthias Clasen <mclasen@redhat.com> * glib/glib.symbols: * glib/ghash.[hc]: Add hash table iterators. (#500507, Jean-Yves Lefort) * tests/hash-test.c: Test iterators. svn path=/trunk/; revision=6130
/external/bluetooth/glib/tests/hash-test.c
|
7c65cf59155b264a709b29436ce577b6385d11b4 |
|
04-Dec-2007 |
Ryan Lortie <ryanl@src.gnome.org> |
typos. svn path=/trunk/; revision=6032
/external/bluetooth/glib/tests/hash-test.c
|
18fc4b8f02619480456bb61eba122c31334d03a4 |
|
03-Dec-2007 |
Ryan Lortie <desrt@desrt.ca> |
fix memory leak, add a few extra sanity tests. 2006-12-03 Ryan Lortie <desrt@desrt.ca> * tests/hash-test.c (second_hash_test): fix memory leak, add a few extra sanity tests. svn path=/trunk/; revision=6025
/external/bluetooth/glib/tests/hash-test.c
|
db8642a56c0436aeb730ead593140bc01b82d4ac |
|
11-Apr-2007 |
Emmanuele Bassi <ebassi@gnome.org> |
Add g_hash_table_get_keys() and g_hash_table_get_values(), API to retrieve 2007-04-11 Emmanuele Bassi <ebassi@gnome.org> * glib/ghash.[ch]: Add g_hash_table_get_keys() and g_hash_table_get_values(), API to retrieve the keys and values inside an hash table in list form. (#413133) * glib/glib.symbols: Update symbols. * tests/hash-test.c: Exercise newly added functions. svn path=/trunk/; revision=5444
/external/bluetooth/glib/tests/hash-test.c
|
ee4e622d3724a6dfee8ce9463eccb31081cf852f |
|
20-Feb-2004 |
Tim Janik <timj@gtk.org> |
applied patch from #131937 with slight renames. provides Fri Feb 20 03:02:05 2004 Tim Janik <timj@gtk.org> * glib/ghash.[hc]: applied patch from #131937 with slight renames. provides g_hash_table_find().
/external/bluetooth/glib/tests/hash-test.c
|
31e7c4b6fbd91ebe7eeea0e9bcff9cb09a6492a3 |
|
08-Feb-2002 |
Owen Taylor <otaylor@redhat.com> |
Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann). Fri Feb 8 12:32:14 2002 Owen Taylor <otaylor@redhat.com> * tests/hash-test.c (second_hash_test): Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann). Re-enable and debug some commented out code.
/external/bluetooth/glib/tests/hash-test.c
|
3fa620d4dfeb3440526682b4970bc9147b6665c9 |
|
19-Jul-2001 |
Darin Adler <darin@src.gnome.org> |
Add missing const. (g_strsplit): Add g_return_val_if_fail for case of * glib/gstrfuncs.c: (g_ascii_strdown), (g_ascii_strup): Add missing const. (g_strsplit): Add g_return_val_if_fail for case of empty delimiter, which can result in an infinite loop otherwise. * glib/gstrfuncs.h: Add missing const. * tests/.cvsignore: Ignore a generated file. * tests/array-test.c: * tests/dirname-test.c: * tests/hash-test.c: * tests/list-test.c: * tests/node-test.c: * tests/relation-test.c: * tests/shell-test.c: * tests/slist-test.c: * tests/spawn-test.c: * tests/strfunc-test.c: * tests/string-test.c: * tests/testglib.c: * tests/tree-test.c: * tests/type-test.c: Add an #undef G_DISABLE_ASSERT so all tests will assert even if asserts are disabled inside glib itself.
/external/bluetooth/glib/tests/hash-test.c
|
267b6813703e24ef60d0e8ba42557c414f9dd52e |
|
30-Oct-2000 |
Sebastian Wilhelmi <wilhelmi@ira.uka.de> |
Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h: Introduced new function type GEqualFunc to return TRUE for equal params. This is now used instead of GCompareFunc (which should work akin to strcmp) here. This kind of fixes Bug #14412. Note that technically GCompareFunc and GEqualFunc are still the same types, as gint == gboolean. * ghash.h, gutils.c: g_int_equal and g_direct_equal now return gboolean to be really become GEqualFunc. * gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to follow the above change.
/external/bluetooth/glib/tests/hash-test.c
|
c9bd7542e1a28ba9de60048361c0a97d251833e7 |
|
26-Jul-2000 |
Tim Janik <timj@gtk.org> |
applied patch from Andreas Persenius <ndap@swipnet.se> that updates the Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org> * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that updates the license headers to the GNU Lesser General Public License, as well as updating the copyright year to 2000.
/external/bluetooth/glib/tests/hash-test.c
|
b9ef2b41db975061960e2217220668c2a5d563da |
|
24-Feb-1999 |
CST 1999 Shawn T. Amundson <amundson@gtk.org> |
inserted additional note to look for ChangeLog and AUTHORS file for a log Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org> * *.[ch]: inserted additional note to look for ChangeLog and AUTHORS file for a log of modifications.
/external/bluetooth/glib/tests/hash-test.c
|
d5492a983cfa048658af8b03f833ddb3c0cf355e |
|
24-Jan-1999 |
EST 1999 Jeff Garzik <jgarzik@pobox.com> |
- Revert previous "fix" (which really just did things a different way). - Sun Jan 24 00:36:22 EST 1999 Jeff Garzik <jgarzik@pobox.com> * ghash.c: - Revert previous "fix" (which really just did things a different way). - (g_hash_table_remove): Don't need to support multiple values for a single key. * tests/hash-test.c: Add test where hash function always returns a single value. Add beginnings of tests for g_hash_table_foreach[_remove] and g_hash_table_remove.
/external/bluetooth/glib/tests/hash-test.c
|
448e792b0a9b092f9593eaa51e16acd8abe54c76 |
|
24-Jan-1999 |
Jeff Garzik <jgarzik@pobox.com> |
- Fixed bug that overwrote nodes in hash buckets instead of adding them to Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com> * ghash.c (g_hash_table_lookup_node, g_hash_table_lookup, g_hash_table_insert, g_hash_table_remove, g_hash_table_lookup_extended): - Fixed bug that overwrote nodes in hash buckets instead of adding them to the hash bucket node list. Hash tables now work as advertised. (g_hash_table_resize): - Use g_new0 instead of manual init. - Space out code a bit for readability. (g_hash_nodes_destroy): - Replaced "if (!hash_node) return;" with "if (hash_node) {do stuff}". Testing takes up less code space than explicit call to 'return' before end of function. (look at gcc -S) Updated module header copyright to 1999. New module macro G_HASH_BUCKET for (table,key)->bucket lookups. * tests/hash-test.c: - Add two new tests, one with strings as the keys and values, and one with ints as the keys and values. Tests indirect (strings) and direct (ints) hashing. - Cleanup unused junk left over from testglib.c. - Converted a g_print call to g_assert_not_reached. - Updated copyright to 1999. * testglib.c, tests/string-test.c: - Init 'tmp_string' var to NULL, silencing uninit-var warning.
/external/bluetooth/glib/tests/hash-test.c
|
4b72e452335914b9a4682445a7bea4290fa2419e |
|
03-Jan-1999 |
Jeff Garzik <jgarzik@src.gnome.org> |
add array-test.c * tests/Makefile.am: add array-test.c * tests/array-test.c: New module, tests array family * tests/hash-test.c, tests/list-test.c, tests/slist-test.c, tests/string-test.c, tests/node-test.c: Clean out cruft left over from testglib.
/external/bluetooth/glib/tests/hash-test.c
|
0b74f03e70ea7cab8c0f9d58108a446e3cb16d1e |
|
03-Jan-1999 |
Jeff Garzik <jgarzik@src.gnome.org> |
Added 'make check' tests, based on testglib code.
/external/bluetooth/glib/tests/hash-test.c
|