https://github.com/splatlab/squeakr
Revision c9dca4b254e8a4dbc1898e63b8d8a4062350ff98 authored by Prashant Pandey on 30 November 2017, 16:25:46 UTC, committed by Prashant Pandey on 30 November 2017, 16:25:46 UTC
1 parent 4ca288b
Raw File
Tip revision: c9dca4b254e8a4dbc1898e63b8d8a4062350ff98 authored by Prashant Pandey on 30 November 2017, 16:25:46 UTC
Addig CLI interface to other two commands.
Tip revision: c9dca4b
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>

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