The NetBSD Project

CVS log for src/common/lib/libc/hash/murmurhash/murmurhash.c

[BACK] Up to [cvs.NetBSD.org] / src / common / lib / libc / hash / murmurhash

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.26.3 / (download) - annotate - [select for diffs], Tue Apr 21 19:37:49 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.6.26.2: +3 -3 lines
Diff to previous 1.6.26.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Ooops, restore accidently removed files from merge mishap

Revision 1.6.26.2, Tue Apr 21 18:41:22 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.6.26.1: +3 -3 lines
FILE REMOVED

Sync with HEAD

Revision 1.6.26.1 / (download) - annotate - [select for diffs], Mon Apr 13 07:45:07 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6: +11 -4 lines
Diff to previous 1.6 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.6.28.1 / (download) - annotate - [select for diffs], Sun Dec 8 13:23:23 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.6: +11 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up following revision(s) (requested by riastradh in ticket #505):

	common/lib/libc/hash/murmurhash/murmurhash.c: revision 1.7
	common/lib/libc/hash/murmurhash/murmurhash.c: revision 1.8
	sys/sys/param.h: revision 1.610
	sys/arch/amd64/include/param.h: revision 1.31
	sys/arch/i386/include/param.h: revision 1.85

New macro ALIGNED_POINTER_LOAD.

To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly.  This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.

Fix byte order bug in murmurhash and pacify sanitizers.
add now required includes for memcpy prototypes analogue to other hash functions
(fix the build)

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 20 15:17:02 2019 UTC (4 years, 7 months ago) by para
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base, ad-namecache, HEAD
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

add now required includes for memcpy prototypes analogue to other hash functions

(fix the build)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 20 12:33:26 2019 UTC (4 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +7 -4 lines
Diff to previous 1.6 (colored)

Fix byte order bug in murmurhash and pacify sanitizers.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:14 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +39 -20 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:26:30 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4.4.2: +39 -20 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 26 21:06:38 2013 UTC (10 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-maxphys-20171202, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-9
Changes since 1.5: +37 -20 lines
Diff to previous 1.5 (colored)

murmurhash2: add an optimised path for the aligned pointer case.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 30 12:20:32 2013 UTC (10 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

RUMP fix: ifdef weak alias.  Pointed out by martin@.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:46:14 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.4.4.1: +90 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.4.4.1, Tue Jul 10 17:05:38 2012 UTC (11 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4: +0 -90 lines
FILE REMOVED

file murmurhash.c was added on branch yamt-pagecache on 2012-10-30 18:46:13 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 10 17:05:38 2012 UTC (11 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.3: +10 -5 lines
Diff to previous 1.3 (colored)

Fix kernel compilation: no namespace.h
Fix libc RCSID protection.
Remove useless cast.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 9 21:25:46 2012 UTC (11 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.2: +11 -5 lines
Diff to previous 1.2 (colored)

Add weak symbol for murmurhash2.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 8 13:42:29 2012 UTC (11 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

Shut up lint.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 8 01:21:12 2012 UTC (11 years, 9 months ago) by rmind
Branch: MAIN

Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby.
The code is taken from the upstream and is in the public domain.

OK christos@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>