mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 07:50:31 +00:00
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
This commit is contained in:
parent
96f979dfc5
commit
fa20edc44d
3057 changed files with 410 additions and 4398 deletions
1
third_party/xxhash/tests/Makefile
vendored
1
third_party/xxhash/tests/Makefile
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
# ################################################################
|
||||
# xxHash Makefile
|
||||
# Copyright (C) 2012-2021 Yann Collet
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
// clang-format off
|
||||
-I../..
|
||||
|
|
1
third_party/xxhash/tests/bench/.gitignore
vendored
1
third_party/xxhash/tests/bench/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
# build artifacts
|
||||
|
||||
*.o
|
||||
|
|
1
third_party/xxhash/tests/bench/LICENSE
vendored
1
third_party/xxhash/tests/bench/LICENSE
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
|
|
1
third_party/xxhash/tests/bench/Makefile
vendored
1
third_party/xxhash/tests/bench/Makefile
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
# ################################################################
|
||||
# xxHash benchHash Makefile
|
||||
# Copyright (C) 2019-2021 Yann Collet
|
||||
|
|
1
third_party/xxhash/tests/bench/benchHash.c
vendored
1
third_party/xxhash/tests/bench/benchHash.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Hash benchmark module
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/benchHash.h
vendored
1
third_party/xxhash/tests/bench/benchHash.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Hash benchmark module
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/benchfn.c
vendored
1
third_party/xxhash/tests/bench/benchfn.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (C) 2016-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/bench/benchfn.h
vendored
1
third_party/xxhash/tests/bench/benchfn.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (C) 2016-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/bench/bhDisplay.c
vendored
1
third_party/xxhash/tests/bench/bhDisplay.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* CSV Display module for the hash benchmark program
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/bhDisplay.h
vendored
1
third_party/xxhash/tests/bench/bhDisplay.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* CSV Display module for the hash benchmark program
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/hashes.h
vendored
1
third_party/xxhash/tests/bench/hashes.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* List hash algorithms to benchmark
|
||||
* Part of xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/main.c
vendored
1
third_party/xxhash/tests/bench/main.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Main program to benchmark hash functions
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/bench/timefn.c
vendored
1
third_party/xxhash/tests/bench/timefn.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (C) 2019-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/bench/timefn.h
vendored
1
third_party/xxhash/tests/bench/timefn.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (c) 2016-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/cli-comment-line.sh
vendored
1
third_party/xxhash/tests/cli-comment-line.sh
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if any command fails.
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
// clang-format off
|
||||
#build artefacts
|
||||
collisionsTest
|
||||
|
|
1
third_party/xxhash/tests/collisions/LICENSE
vendored
1
third_party/xxhash/tests/collisions/LICENSE
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
|
|
1
third_party/xxhash/tests/collisions/Makefile
vendored
1
third_party/xxhash/tests/collisions/Makefile
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
# Brute force collision tester for 64-bit hashes
|
||||
# Part of xxHash project
|
||||
# Copyright (C) 2019-2021 Yann Collet
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
|
||||
__collisionsTest__ is a brute force hash analyzer
|
||||
which will measure a 64-bit hash algorithm's collision rate
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
// clang-format off
|
||||
Put in this directory all hash algorithms to test
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* dummy.c, a fake hash algorithm, just to test integration capabilities.
|
||||
* Part of the xxHash project
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* dummy.c,
|
||||
* A fake hash algorithm, just to test integration capabilities.
|
||||
|
|
1
third_party/xxhash/tests/collisions/hashes.h
vendored
1
third_party/xxhash/tests/collisions/hashes.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* List of hashes for the brute force collision tester
|
||||
* Part of xxHash project
|
||||
|
|
1
third_party/xxhash/tests/collisions/main.c
vendored
1
third_party/xxhash/tests/collisions/main.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Brute force collision tester for 64-bit hashes
|
||||
* Part of the xxHash project
|
||||
|
|
1
third_party/xxhash/tests/collisions/pool.c
vendored
1
third_party/xxhash/tests/collisions/pool.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (C) 2016-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/collisions/pool.h
vendored
1
third_party/xxhash/tests/collisions/pool.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Copyright (c) 2016-2021 Yann Collet, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/collisions/sort.cc
vendored
1
third_party/xxhash/tests/collisions/sort.cc
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* sort.cc - C++ sort functions
|
||||
* Copyright (C) 2019-2021 Yann Collet
|
||||
|
|
1
third_party/xxhash/tests/collisions/sort.hh
vendored
1
third_party/xxhash/tests/collisions/sort.hh
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* sort.hh - headers for C++ sort functions
|
||||
* Copyright (C) 2019-2021 Yann Collet
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/**
|
||||
* Copyright (c) 2016 Tino Reichardt
|
||||
* All rights reserved.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/**
|
||||
* Copyright (c) 2016 Tino Reichardt
|
||||
* All rights reserved.
|
||||
|
|
1
third_party/xxhash/tests/filename-escape.sh
vendored
1
third_party/xxhash/tests/filename-escape.sh
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if any command fails.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Generates a Unicode test for xxhsum without using Unicode in the source files.
|
||||
*
|
||||
|
|
1
third_party/xxhash/tests/multiInclude.c
vendored
1
third_party/xxhash/tests/multiInclude.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Multi-include test program
|
||||
* Validates that xxhash.h can be included multiple times and in any order
|
||||
|
|
1
third_party/xxhash/tests/ppc_define.c
vendored
1
third_party/xxhash/tests/ppc_define.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
* Multi-include test program
|
||||
* ensure that pixel, bool and vector are not redefined
|
||||
|
|
1
third_party/xxhash/tests/sanity_test.c
vendored
1
third_party/xxhash/tests/sanity_test.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// xxHash/tests/sanity_test.c
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
//
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
typedef struct {
|
||||
XSUM_U32 len;
|
||||
XSUM_U32 seed;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// xxHash/tests/sanity_test_vectors_generator.c
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
//
|
||||
|
|
1
third_party/xxhash/tests/unicode_lint.sh
vendored
1
third_party/xxhash/tests/unicode_lint.sh
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
#!/bin/bash
|
||||
|
||||
# `unicode_lint.sh' determines whether source files under ${dirs} directories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue