Pixar Arch
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1
// Copyright 2016 Pixar
2
//
3
// Licensed under the terms set forth in the LICENSE.txt file available at
4
// https://openusd.org/license.
5
//
6
// Modified by Jeremy Retailleau.
7
8
#ifndef PXR_ARCH_HASH_H
9
#define PXR_ARCH_HASH_H
10
13
14
#include "./api.h"
15
#include "
./inttypes.h
"
16
17
namespace
pxr
{
18
26
ARCH_API uint32_t
ArchHash
(
const
char
*data,
size_t
len);
28
ARCH_API uint32_t
ArchHash
(
const
char
*data,
size_t
len, uint32_t seed);
29
37
ARCH_API uint64_t
ArchHash64
(
const
char
*data,
size_t
len);
39
ARCH_API uint64_t
ArchHash64
(
const
char
*data,
size_t
len, uint64_t seed);
40
41
}
// namespace pxr
42
43
#endif
// PXR_ARCH_HASH_H
inttypes.h
Define integral types.
pxr
pxr::ArchHash
ARCH_API uint32_t ArchHash(const char *data, size_t len)
Hash len bytes of data.
pxr::ArchHash64
ARCH_API uint64_t ArchHash64(const char *data, size_t len)
Hash len bytes of data.
src
pxr
arch
hash.h
Generated by
1.12.0