]>
git.proxmox.com Git - ceph.git/blob - ceph/src/zstd/tests/namespaceTest.c
2 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
12 #include <stddef.h> /* size_t */
13 #include <string.h> /* strlen */
15 /* symbol definition */
16 extern unsigned XXH32(const void* src
, size_t srcSize
, unsigned seed
);
18 int main(int argc
, const char** argv
)
20 const char* exename
= argv
[0];
21 unsigned result
= XXH32(exename
, strlen(exename
), argc
);