https://github.com/splatlab/squeakr
Revision 8940c94c790f335029b00e1824912bb5f48ed26a authored by Prashant Pandey on 04 February 2017, 23:21:09 UTC, committed by Prashant Pandey on 04 February 2017, 23:21:09 UTC
1 parent 4a94369
Raw File
Tip revision: 8940c94c790f335029b00e1824912bb5f48ed26a authored by Prashant Pandey on 04 February 2017, 23:21:09 UTC
Adding code for Squeakr.
Tip revision: 8940c94
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