Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/efx_hash.c
/*- | /*- | ||||
* Copyright 2006 Bob Jenkins | * Copyright 2006 Bob Jenkins | ||||
* | * | ||||
* Derived from public domain source, see | * Derived from public domain source, see | ||||
* <http://burtleburtle.net/bob/c/lookup3.c>: | * <http://burtleburtle.net/bob/c/lookup3.c>: | ||||
* | * | ||||
* "lookup3.c, by Bob Jenkins, May 2006, Public Domain. | * "lookup3.c, by Bob Jenkins, May 2006, Public Domain. | ||||
* | * | ||||
* These are functions for producing 32-bit hashes for hash table lookup... | * These are functions for producing 32-bit hashes for hash table lookup... | ||||
* ...You can use this free for any purpose. It's in the public domain. | * ...You can use this free for any purpose. It's in the public domain. | ||||
* It has no warranty." | * It has no warranty." | ||||
* | * | ||||
* Copyright (c) 2014-2015 Solarflare Communications Inc. | * Copyright (c) 2014-2016 Solarflare Communications Inc. | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions are met: | * modification, are permitted provided that the following conditions are met: | ||||
* | * | ||||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | ||||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | ||||
* 2. Redistributions in binary form must reproduce the above copyright notice, | * 2. Redistributions in binary form must reproduce the above copyright notice, | ||||
▲ Show 20 Lines • Show All 310 Lines • Show Last 20 Lines |