StarPU Handbook
starpu_hash.h
Go to the documentation of this file.
1 /* StarPU --- Runtime system for heterogeneous multicore architectures.
2  *
3  * Copyright (C) 2012 Inria
4  * Copyright (C) 2010,2012,2013,2015,2017,2019 CNRS
5  * Copyright (C) 2009-2014 Université de Bordeaux
6  *
7  * StarPU is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or (at
10  * your option) any later version.
11  *
12  * StarPU is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
17  */
18 
19 #ifndef __STARPU_HASH_H__
20 #define __STARPU_HASH_H__
21 
22 #include <stdint.h>
23 #include <stddef.h>
24 
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29 
41 uint32_t starpu_hash_crc32c_be_n(const void *input, size_t n, uint32_t inputcrc);
42 
49 uint32_t starpu_hash_crc32c_be(uint32_t input, uint32_t inputcrc);
50 
57 uint32_t starpu_hash_crc32c_string(const char *str, uint32_t inputcrc);
58 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* __STARPU_HASH_H__ */
starpu_hash_crc32c_be_n
uint32_t starpu_hash_crc32c_be_n(const void *input, size_t n, uint32_t inputcrc)
starpu_hash_crc32c_be
uint32_t starpu_hash_crc32c_be(uint32_t input, uint32_t inputcrc)
starpu_hash_crc32c_string
uint32_t starpu_hash_crc32c_string(const char *str, uint32_t inputcrc)