Peter Wehrfritz
d770cd618e
NULL is a valid value, it's actually the default
...
SVN revision: 31600
2007-09-02 17:44:38 +00:00
Peter Wehrfritz
cd20fbc9d9
*API BREAK* see the discussion in the mailing list. misc and e_modules will follow
...
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Sebastian Dransfeld
237cb22cf5
Fix hash reduce function. Passed wrong value to rehash.
...
SVN revision: 30214
2007-06-03 12:22:05 +00:00
Sebastian Dransfeld
6f042d4963
Temporary revert changes, made hash malfunction.
...
SVN revision: 30211
2007-06-03 11:37:32 +00:00
Sebastian Dransfeld
869c74666b
Also check for PRIME_MAX when increasing hash size.
...
SVN revision: 30210
2007-06-03 08:22:48 +00:00
Sebastian Dransfeld
63a4d1b72a
It's not hash->size which is to be compared to PRIME_{MIN,MAX}, but the
...
result from the ecore_prime_table lookup.
SVN revision: 30209
2007-06-03 08:10:33 +00:00
Sebastian Dransfeld
07cedee486
Add a function to find a value in a hash.
...
SVN revision: 29129
2007-03-25 16:44:11 +00:00
Sebastian Dransfeld
060ca01331
Functions to join lists and hashes.
...
SVN revision: 28034
2007-01-17 13:41:08 +00:00
ningerso
8f497e0648
Add basic stat output to hash for testing.
...
Expose hash output functions for ecore_string.
Move mask calculation outside inner loop for ecore_str_hash.
SVN revision: 28006
2007-01-16 01:27:01 +00:00
Dan Sinclair
f83be72545
- if we're replacing the value in the hash make sure we free the old value
...
SVN revision: 27909
2007-01-11 23:42:21 +00:00
ningerso
91a0e23656
Add a function to get the count of nodes in a hash.
...
SVN revision: 27786
2007-01-04 07:45:40 +00:00
Kim Woelders
91e6ee5f66
Add const, fix warnings.
...
SVN revision: 26975
2006-11-05 16:42:30 +00:00
sebastid
3aa4e62438
Add const modifier for compare and hash functions.
...
SVN revision: 25515
2006-09-06 07:06:55 +00:00
sebastid
477f950c8c
The func might not exist
...
SVN revision: 25016
2006-08-21 17:21:32 +00:00
sebastid
d7a14aed43
If the node is found, the key is not used. So free it.
...
SVN revision: 25015
2006-08-21 17:20:37 +00:00
Christopher Michael
da3180436d
Formatting like 'E' format.
...
Note: No function changes, only formatting.
SVN revision: 23550
2006-06-23 06:39:24 +00:00
rbdpngn
ad83be938c
Fix return value on ecore hash when key already exists in hash.
...
SVN revision: 20473
2006-02-15 05:06:01 +00:00
Dan Sinclair
a74f72c2ad
- these data structures are never compiled with locking anymore so remove
...
the locks.
SVN revision: 19732
2006-01-12 03:01:58 +00:00
Carsten Haitzler
12aa35dd99
fix up some warnings
...
SVN revision: 19563
2006-01-06 17:58:12 +00:00
rbdpngn
172b0612aa
Catch a potential segfault if a hash is created and never used.
...
SVN revision: 18785
2005-12-02 15:35:50 +00:00
rbdpngn
d7aa8d7dc9
Fix rehashing the nodes to a hash of a new size.
...
SVN revision: 18518
2005-11-17 15:15:37 +00:00
rbdpngn
db983db6ff
Avoid potential recursion on the destruction of a collision chain.
...
SVN revision: 18508
2005-11-17 06:39:14 +00:00
rbdpngn
c28f6b8d68
Ecore hash was originally written to teach the concept of a hash, so it used
...
high level lists. Since it's getting more extensive use, I've switched it to
use it's own list structure for collision chaining. This is more memory
efficient and overall faster.
SVN revision: 18503
2005-11-16 22:17:11 +00:00
Carsten Haitzler
347c26ce53
turran's dfb stuff! whee! :)
...
SVN revision: 17573
2005-10-15 10:37:37 +00:00
sebastid
0895d05ac4
No need to call free_value, since we set value to NULL
...
SVN revision: 17085
2005-09-30 06:09:36 +00:00
sebastid
4210007040
Return NULL, not FALSE for pointers.
...
SVN revision: 16622
2005-09-06 21:00:55 +00:00
sebastid
874e4df9ee
Add Ecore.h for TRUE/FALSE
...
SVN revision: 16621
2005-09-06 19:29:24 +00:00
sebastid
ac0f8ec127
Don't export local defines.
...
SVN revision: 16569
2005-09-05 15:01:40 +00:00
sebastid
d758ca86bb
Header cleanup. Don't include unneeded headers in system lib header.
...
SVN revision: 16550
2005-09-05 10:17:08 +00:00
werkt
3e74bc08a0
Added ecore_list_goto_first to the list returned by ecore_hash_keys.
...
SVN revision: 16054
2005-08-07 06:08:47 +00:00
Carsten Haitzler
de28192bda
kwo's ecore cleanup patch
...
SVN revision: 13559
2005-03-02 07:06:44 +00:00
werkt
b9a15e79bd
ecore_hash_goto_first and ecore_hash_next have been removed
...
SVN revision: 12771
2005-01-05 07:20:11 +00:00
werkt
260ad16e93
Fixes for ecore_hash_goto_first and ecore_hash_next
...
SVN revision: 12767
2005-01-05 06:03:48 +00:00
werkt
5bdc79df9d
Un-botched ecore_hash_next
...
SVN revision: 12753
2005-01-05 02:05:07 +00:00
werkt
958efc06f5
Added user_data capability to data callbacks and some sequential processing
...
routines for hashes.
SVN revision: 12747
2005-01-04 22:45:06 +00:00
ncn
c26e42395a
Basically clean-up, simplification, created a few more modules and inserted a doc bug or two.
...
SVN revision: 11126
2004-08-01 12:48:39 +00:00
ncn
255a0b7226
More docs stuff - fix ups, rearranging, little bit o' new stuff, quieter doc generation.
...
SVN revision: 11103
2004-07-30 12:28:29 +00:00
rbdpngn
31007f3255
Use the node destroy function when removing values.
...
SVN revision: 9991
2004-05-01 17:30:34 +00:00
Carsten Haitzler
ab01bcabdb
hey guys! can u rememebr to add yourselves to AUTHORS?
...
SVN revision: 9978
2004-04-30 03:10:17 +00:00
rbdpngn
89914f3097
Convert some of the documentation to doxygen.
...
SVN revision: 9393
2004-03-18 19:02:23 +00:00
xcomputerman
1034f13443
Merge Ewd code into Ecore.
...
The new functions (Ecore_Data.h) have not been tested yet, be warned! :)
SVN revision: 9384
2004-03-18 05:29:54 +00:00