https://github.com/splatlab/squeakr
Revision 3374258381c4faa1682b1587dd0ba8298adf1649 authored by Prashant Pandey on 05 February 2017, 00:06:30 UTC, committed by Prashant Pandey on 05 February 2017, 00:06:30 UTC
1 parent 013a66e
Raw File
Tip revision: 3374258381c4faa1682b1587dd0ba8298adf1649 authored by Prashant Pandey on 05 February 2017, 00:06:30 UTC
Adding a sample query benchmark.
Tip revision: 3374258
hashutil.h
/*
 * =====================================================================================
 *
 *       Filename:  hashutil.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  04/18/2016 04:49:32 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Prashant Pandey (ppandey@cs.stonybrook.edu)
 *                  Rob Patro (rob.patro@cs.stonybrook.edu)
 *                  Rob Johnson (rob@cs.stonybrook.edu)
 *   Organization:  Stony Brook University
 *
 * =====================================================================================
 */

#ifndef _HASHUTIL_H_
#define _HASHUTIL_H_

#include <sys/types.h>
#include <string>
#include <stdlib.h>
#include <stdint.h>
#include <openssl/evp.h>

namespace kmercounting {
	class HashUtil {
		public:
			static uint64_t MurmurHash64B ( const void * key, int len, unsigned int seed );
			static uint64_t MurmurHash64A ( const void * key, int len, unsigned int seed );

		private:
			HashUtil();
	};
}	// namespace kmercounting

#endif  // #ifndef _HASHUTIL_H_


back to top