Commit Graph

163 Commits

Author SHA1 Message Date
c1b3c8dfd8 changed val.c to adopt ase_map_t changes 2008-09-25 02:00:50 +00:00
a88cc05eae fixed various bugs in a map and enhanced it.
- added ase_strbytes returning the number of bytes of a '\0'-terminated string
 - changed the prototype of ase_map_walker_t to return ase_map_walk_t 
 - added ASE_MAP_KCLEN and ASE_MAP_VCLEN
 - fixed the bug of not initializing the bucket in ase_map_init
 - fixed the bug of returning 0 when a match is found in ase_map_search
 - fixed the bug of wrongly calculating the value pointer in alloc_pair
2008-09-25 01:18:50 +00:00
21c331febf added to ase_map_t a keeper function that is called when a value is replace by itself. deprecated the generic ase_sizer_t and defined context-specific sizer types such as ase_str_sizer_t and ase_map_sizer_t 2008-09-24 08:47:23 +00:00
ac92d8581a changed ase_map_open() to adjust invalid parameters and fixed reorganize() to adjust a wrong capacity returned by a user-defined sizer 2008-09-24 05:37:38 +00:00
2fbbff8139 added the sizer function to ase_map_t 2008-09-24 05:27:24 +00:00
2230fbd445 renamed ASE_STR_XXX macros and added the ase_xstr_t type 2008-09-24 03:51:24 +00:00
b6e14c7be3 added the hint parameter to the sizer function 2008-09-23 05:21:08 +00:00
f90fffc853 2008-09-05 04:58:08 +00:00
fd2eb3f012 2008-09-01 05:17:01 +00:00
4520a77a59 fixed unnecessary freeing of memory in ase_map_init() 2008-09-01 05:16:52 +00:00
cb5e20a885 added ase_sll_init() and ase_sll_fini() 2008-09-01 05:15:57 +00:00
5958ddccef 2008-09-01 04:56:47 +00:00
ae2f49f1a1 removed ase_str_forfeit() and added ase_str_yield() 2008-09-01 04:55:59 +00:00
91159085ed 2008-08-30 09:02:26 +00:00
dd00a6f49d added ase_str_init(), ase_str_fini(), ase_map_init() and ase_map_fini() to support static creation. 2008-08-30 08:51:04 +00:00
2390cda730 2008-08-29 08:21:25 +00:00
616ddad7d7 2008-08-29 04:29:53 +00:00
7f353d7c8a 2008-08-27 05:04:16 +00:00
b361aee101 2008-08-27 04:31:24 +00:00
0590924941 2008-08-27 02:50:12 +00:00
b6d38c892a 2008-08-23 09:23:09 +00:00
7fb73210b8 2008-08-23 02:13:47 +00:00
b51b4bd524 2008-08-23 01:06:35 +00:00
713586d04a 2008-08-21 04:58:19 +00:00
6dbf01ade0 2008-08-21 04:00:22 +00:00
01dd1ad765 2008-08-21 03:58:42 +00:00
89b9bf7296 2008-08-21 03:29:59 +00:00
5e8901042a 2008-08-21 03:17:25 +00:00
a95dad6655 2008-08-21 02:24:36 +00:00
9a6365bbe8 2008-08-21 02:22:07 +00:00
6effdf92ad 2008-08-20 05:00:26 +00:00
3cbefaa12c 2008-08-19 05:21:48 +00:00
63014b5fc8 2008-08-18 08:51:40 +00:00
ac38e2b46a renamed ase_memchr/ase_memrchr to ase_membyte/ase_memrbyte 2008-08-17 08:08:53 +00:00
002a9d1913 2008-08-13 07:58:57 +00:00
4793f1efdf 2008-08-12 04:52:25 +00:00
580520d195 2008-08-11 08:22:31 +00:00
f4b28ffb6a 2008-08-11 02:27:21 +00:00
6355e8b5d4 2008-08-09 04:35:04 +00:00
6f69035772 defined ASE_MEMXXX and started adding copier and freeer 2008-08-08 05:02:08 +00:00
93a0589204 experimented ase_sll_openx 2008-08-07 07:52:14 +00:00
5cc0d3bc1f 2008-08-06 07:30:10 +00:00
961c493986 2008-08-04 08:14:52 +00:00
088751e5a9 2008-08-04 08:13:03 +00:00
cbb37554c1 2008-08-04 08:06:43 +00:00
a754d8e7c1 2008-07-28 00:16:54 +00:00
925701797f 2008-07-27 09:37:38 +00:00
3aa1251661 2008-07-26 09:01:27 +00:00
3a8e597e03 2008-07-25 08:08:37 +00:00
bcb66176b0 2008-07-24 08:11:17 +00:00
b37a295b60 2008-07-23 21:59:57 +00:00
e5d8cb27fd 2008-07-23 08:22:24 +00:00
2b99c1efad 2008-07-23 07:12:56 +00:00
aca2acab75 2008-07-23 07:01:49 +00:00
b363d651b1 2008-07-21 23:27:34 +00:00
a2d5d649ba 2008-07-21 21:49:09 +00:00
3667d352f5 2008-07-21 07:52:30 +00:00
3e5257dfe8 2008-07-21 06:49:23 +00:00
c995006f78 2008-07-21 06:42:39 +00:00
a665af8f49 2008-07-20 23:53:29 +00:00
892aebdfcd 2008-07-20 02:03:49 +00:00
017c4cceb1 2008-07-20 01:29:52 +00:00
842970473e 2008-07-19 08:56:50 +00:00
1546704051 2008-07-19 08:04:49 +00:00
1d7890f625 2008-07-19 06:54:19 +00:00
b800dead92 2008-07-19 04:42:24 +00:00
aa43115454 2008-07-18 05:03:09 +00:00
4898f5f78c 2008-07-17 07:45:01 +00:00
0d4d3af7df 2008-07-16 01:49:47 +00:00
67b527a4df 2008-07-16 01:06:43 +00:00
754c2970af 2008-07-15 23:56:32 +00:00
57aa2517e1 2008-07-15 07:53:31 +00:00
95b36c4c8c 2008-07-14 08:20:48 +00:00
8aeb8f010d 2008-07-12 22:52:19 +00:00
e71d5af472 2008-07-12 08:41:16 +00:00
fbfa20f040 2008-07-12 05:07:17 +00:00
00b3e80690 2008-07-10 08:07:47 +00:00
75d4e90399 2008-07-10 07:20:08 +00:00
97fb77f21f 2008-07-06 01:25:54 +00:00
9900c570e2 2008-07-03 08:08:38 +00:00
8fa039f1e2 2008-06-30 07:41:11 +00:00
07b451aedb 2008-06-29 03:38:00 +00:00
cbc48145c4 2008-06-29 02:37:09 +00:00
dd55a09215 2008-06-27 04:46:39 +00:00
74b42e112d 2008-06-27 00:44:41 +00:00
c9a9fb6c85 2008-06-26 23:48:54 +00:00
83f8a0d606 2008-06-23 00:56:35 +00:00
8e3a0e2c84 2008-06-22 08:37:03 +00:00
ac4c18389e 2008-06-20 04:27:37 +00:00
77d6c882d7 2008-06-20 03:54:58 +00:00
8f15f888d9 2008-06-20 03:44:45 +00:00
cd7ea696cd 2008-06-16 08:28:09 +00:00
c6664b6bcd 2008-06-15 02:15:37 +00:00
7c6da1cb72 2008-06-13 07:50:51 +00:00
62daaaa340 2008-06-13 04:38:59 +00:00
51015d8f84 2008-06-10 04:23:38 +00:00
2a01d601fb 2008-06-10 03:41:47 +00:00
0c8fe75ed1 2008-06-10 00:57:20 +00:00
b8952fa1eb 2008-06-10 00:49:17 +00:00
fe6bacaf95 2008-06-10 00:30:52 +00:00