1
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Davi de Castro Reis d233b4943f Partially apply https://sourceforge.net/p/cmph/patches/3/ 2018-12-28 00:51:37 -02:00
Davi Reis 217c784dda Revert "Fix memory leak problem for bmz8"
This code leaks memory when iterations reaches 0 and previous code was
correct. See https://sourceforge.net/p/cmph/git/merge-requests/4/.
2014-06-06 12:33:04 -03:00
Davi Reis c09a1f64ea Merge commit 'efe08b8080d0696bf388b21' 2014-06-06 12:00:56 -03:00
Davi Reis a57b0e966d Style fixes to https://sourceforge.net/p/cmph/git/merge-requests/3/. 2014-06-06 11:52:06 -03:00
Huang-Ming Huang efe08b8080 fixed problem where the FCH algorithm did not dispose the keys using the user supplied function specified in cmph_config_t. 2014-05-23 11:21:34 -05:00
Huang-Ming Huang a45235f886 Fix memory leak problem for bmz8 2014-05-23 08:55:22 -05:00
Joseph HERLANT 2e797796a5 Correcting potential segfault due to division by 0
This happend when passing a weird file name to cmph in generate
or verbose mode.
To get the crash test script and full report, refer to:
http://bugs.debian.org/715745
2014-03-07 12:12:39 +01:00
Fabiano C. Botelho 2cf5c15cf6 This fixes a bug the key_struct_vector_read function.
This has been reported by Rama Krishna Chitta.
2013-04-20 01:44:25 -07:00
Fabiano C. Botelho 9f999ef428 Remaining part of the fix for bug 3465649. This one fixes both BRZ and
CHD_PH for small key sets.
2013-04-20 01:28:00 -07:00
Fabiano C. Botelho 1b2a7cedff Fixing bug 3465649. I still need to make CMPH_BRZ work for small sets. 2013-04-17 01:19:15 -07:00
Fabiano C. Botelho c1a9eb164e Fixes bug 3482222 filed in the bug tracker. 2013-04-16 00:50:24 -07:00
Fabiano C. Botelho 9e434d41d0 Applying Michael Samuel's patch to fix a bug in jenkins_hash.
This will break compatibility with mphf previously generated.
If someone has functions stored they will need to either change
this function back and keep using the buggy version or regenerate
them.
2013-04-16 00:16:49 -07:00
Fabiano C. Botelho f9e5adacbd Applying Michael Samuel's patch to avoid buffer overflow while loading
the algorithm name from a dump file.
2013-04-15 23:42:21 -07:00
Davi de Castro Reis 20a67137d4 Several build fixes. 2012-06-02 23:17:45 -03:00
Davi de Castro Reis 0c13ae5fa4 Compiles with clang. 2012-06-01 17:49:00 -03:00
Davi de Castro Reis 24e645febe Aesthetics in C code and replaced some asserts with NULL returns. 2011-12-26 19:35:30 -02:00
Davi de Castro Reis 4e4d36d833 Fixed fread test. 2011-12-26 19:12:24 -02:00
Davi Reis b603173d01 About to merge. 2011-11-05 10:32:47 -02:00
Davi Reis 2a67236e29 Improved c++0x test. 2011-11-05 10:27:24 -02:00
Davi Reis b10fe56a4e All compiles in the mac. 2011-06-13 02:16:19 -03:00
Davi Reis bb40a4bb00 Renamed table to index and reorganized benchmarks. 2011-05-23 11:01:08 -07:00
Davi de Castro Reis 532ee999b9 Moved benchmark code into tests directory. 2011-05-15 17:19:08 -03:00
Davi de Castro Reis af887685f5 Merge branch 'master' into cxxmph
Conflicts:
	INSTALL
	Makefile.am
	cxxmph/Makefile.am
	cxxmph/cmph_hash_map.h
	cxxmph/cmph_hash_map_test.cc
	cxxmph/mphtable.cc
	cxxmph/mphtable.h
2011-05-15 17:15:57 -03:00
Fabiano C. Botelho 5315e3a597 Committer: Fabiano C. Botelho <fbotelho@fbotelho-desk.(none)>
On branch master
Changes to be committed:
Fixing bugs reported by Steve Friedman, Kaštil Jan
and a bug that was accidently introduced in file
chd_ph.c in 1.0 release.

	modified:   src/bdz.c
	modified:   src/bitbool.h
	modified:   src/chd_ph.c
	modified:   src/cmph_structs.c
	modified:   src/hash.c
2011-03-27 01:41:28 -07:00
Davi de Castro Reis 8355e2e1b8 Added a benchmark to the C code. 2011-02-18 14:15:10 -08:00
Davi de Castro Reis 4fc0c52c56 Benchmark works. 2011-02-15 20:46:05 -08:00
Davi de Castro Reis d0eb54d030 Finishing benchmarks. 2011-02-15 14:49:08 -05:00
Davi de Castro Reis b2da526497 Dumping cmph_uint32. 2011-02-13 23:32:50 -02:00
Davi de Castro Reis 5b78c02da0 Dumping cmph_uint32. 2011-02-13 20:40:26 -02:00
Davi de Castro Reis 2a35666bfa Add benchmarking code. 2011-01-24 10:29:22 -02:00
Davi de Castro Reis 2a68958c1f Fixed licenses, applied patch from Colin Walters fixing gcc 2.95 warnings and added -Wall -Werror compilation flags. 2011-01-21 03:11:55 -02:00
Davi de Castro Reis 799b4a3fc5 Forgot. 2011-01-20 23:07:46 -02:00
davi bb2e9e28a8 All looks fine, commenting debug. 2010-11-09 03:38:46 -02:00
davi 676d34073c Fixed first_edge initialization bug. 2010-11-08 22:02:18 -02:00
Davi de Castro Reis 22d149d3a8 It works. 2010-10-27 19:45:43 -07:00
Davi de Castro Reis 62c3b0d375 Removed more noise. 2010-06-28 16:03:59 -03:00
Davi de Castro Reis 355836a156 Added new files. 2010-06-28 16:01:18 -03:00
Davi Reis 250afcb75f Minor 2009-07-04 20:17:36 -07:00
Fabiano C. Botelho 27a9158cb5 cmph_time.h included as header in Makefile.am 2009-06-17 15:01:39 -03:00
Fabiano C. Botelho 7476b61a88 Documentation updated for release 0.9 2009-06-12 21:49:26 -03:00
Fabiano C. Botelho f68c665136 Compiled with -Werror -Wall -O3 and -Wconversion flags 2009-06-12 02:46:18 -03:00
Davi de Castro Reis 4ce2a5a8c6 Fixed Makefile.am such that make dist works on ubuntu. 2009-06-11 23:10:39 -03:00
davi 4666739e25 Fixed r value initialization bdz and bdz_ph. 2009-06-08 02:36:54 -03:00
fc_botelho 0407fea016 *** empty log message *** 2009-04-21 13:01:45 +00:00
fc_botelho f682fe0304 *** empty log message *** 2009-04-07 23:16:40 +00:00
fc_botelho a80f0de19f *** empty log message *** 2009-03-18 22:08:46 +00:00
fc_botelho 79d250d152 compressed hash and displace method added 2009-03-18 19:40:23 +00:00
fc_botelho 417c7fb458 *** empty log message *** 2009-03-16 13:07:10 +00:00
fc_botelho 7e265956c9 select data structure added 2009-03-14 23:24:05 +00:00
fc_botelho 8203d56952 *** empty log message *** 2009-03-12 02:20:33 +00:00