mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
last batch of header files changed to reflect new license (#825)
only remains to update contrib/linux-kernel (@terrelln)
This commit is contained in:
@ -1,13 +1,10 @@
|
|||||||
# ################################################################
|
# ################################################################
|
||||||
# * Copyright (c) 2014-present, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
|
||||||
# * All rights reserved.
|
# All rights reserved.
|
||||||
# *
|
|
||||||
# * This source code is licensed under the BSD-style license found in the
|
|
||||||
# * LICENSE file in the root directory of this source tree. An additional grant
|
|
||||||
# * of patent rights can be found in the PATENTS file in the same directory.
|
|
||||||
#
|
#
|
||||||
# You can contact the author at :
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
# - zstd homepage : http://www.zstd.net/
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
|
# in the COPYING file in the root directory of this source tree).
|
||||||
# ################################################################
|
# ################################################################
|
||||||
|
|
||||||
PROJECT(libzstd)
|
PROJECT(libzstd)
|
||||||
@ -151,10 +148,10 @@ IF (UNIX)
|
|||||||
ENDIF (UNIX)
|
ENDIF (UNIX)
|
||||||
|
|
||||||
# install target
|
# install target
|
||||||
INSTALL(FILES
|
INSTALL(FILES
|
||||||
${LIBRARY_DIR}/zstd.h
|
${LIBRARY_DIR}/zstd.h
|
||||||
${LIBRARY_DIR}/deprecated/zbuff.h
|
${LIBRARY_DIR}/deprecated/zbuff.h
|
||||||
${LIBRARY_DIR}/dictBuilder/zdict.h
|
${LIBRARY_DIR}/dictBuilder/zdict.h
|
||||||
${LIBRARY_DIR}/common/zstd_errors.h
|
${LIBRARY_DIR}/common/zstd_errors.h
|
||||||
DESTINATION "include")
|
DESTINATION "include")
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2017-present, Facebook, Inc.
|
* Copyright (c) 2017-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h> /* fprintf */
|
#include <stdio.h> /* fprintf */
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2016-present, Facebook, Inc.
|
* Copyright (c) 2016-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
#include "Options.h"
|
#include "Options.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2016-present, Facebook, Inc.
|
* Copyright (c) 2016-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
#include "Pzstd.h"
|
#include "Pzstd.h"
|
||||||
#include "SkippableFrame.h"
|
#include "SkippableFrame.h"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2016-present, Facebook, Inc.
|
* Copyright (c) 2016-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
#include "Options.h"
|
#include "Options.h"
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2017-present, Facebook, Inc.
|
* Copyright (c) 2017-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h> /* malloc, free */
|
#include <stdlib.h> /* malloc, free */
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
* Copyright (c) 2017-present, Facebook, Inc.
|
* Copyright (c) 2017-present, Facebook, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This source code is licensed under the BSD-style license found in the
|
* This source code is licensed under both the BSD-style license (found in the
|
||||||
* LICENSE file in the root directory of this source tree. An additional grant
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* in the COPYING file in the root directory of this source tree).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// Zstandard educational decoder implementation
|
/// Zstandard educational decoder implementation
|
||||||
@ -1289,7 +1289,7 @@ static void execute_sequences(frame_context_t *const ctx, ostream_t *const out,
|
|||||||
// Copy any leftover literals
|
// Copy any leftover literals
|
||||||
{
|
{
|
||||||
size_t len = IO_istream_len(&litstream);
|
size_t len = IO_istream_len(&litstream);
|
||||||
copy_literals(len, &litstream, out);
|
copy_literals(len, &litstream, out);
|
||||||
total_output += len;
|
total_output += len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
14
lib/Makefile
14
lib/Makefile
@ -1,13 +1,11 @@
|
|||||||
# ##########################################################################
|
# ################################################################
|
||||||
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# This Makefile is validated for Linux, macOS, *BSD, Hurd, Solaris, MSYS2 targets
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
#
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
# This source code is licensed under the BSD-style license found in the
|
# in the COPYING file in the root directory of this source tree).
|
||||||
# LICENSE file in the root directory of this source tree. An additional grant
|
# ################################################################
|
||||||
# of patent rights can be found in the PATENTS file in the same directory.
|
|
||||||
# ##########################################################################
|
|
||||||
|
|
||||||
# Version numbers
|
# Version numbers
|
||||||
LIBVER_MAJOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./zstd.h`
|
LIBVER_MAJOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./zstd.h`
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
# ##########################################################################
|
# ################################################################
|
||||||
# Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# This Makefile is validated for Linux, macOS, *BSD, Hurd, Solaris, MSYS2 targets
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
#
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
# This source code is licensed under the BSD-style license found in the
|
# in the COPYING file in the root directory of this source tree).
|
||||||
# LICENSE file in the root directory of this source tree. An additional grant
|
|
||||||
# of patent rights can be found in the PATENTS file in the same directory.
|
|
||||||
# ##########################################################################
|
# ##########################################################################
|
||||||
# zstd : Command Line Utility, supporting gzip-like arguments
|
# zstd : Command Line Utility, supporting gzip-like arguments
|
||||||
# zstd32 : Same as zstd, but forced to compile in 32-bits mode
|
# zstd32 : Same as zstd, but forced to compile in 32-bits mode
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
# ##########################################################################
|
# ################################################################
|
||||||
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# This Makefile is validated for Linux, macOS, *BSD, Hurd, Solaris, MSYS2 targets
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
#
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
# This source code is licensed under the BSD-style license found in the
|
# in the COPYING file in the root directory of this source tree).
|
||||||
# LICENSE file in the root directory of this source tree. An additional grant
|
# ################################################################
|
||||||
# of patent rights can be found in the PATENTS file in the same directory.
|
|
||||||
# ##########################################################################
|
|
||||||
# datagen : Synthetic and parametrable data generator, for tests
|
# datagen : Synthetic and parametrable data generator, for tests
|
||||||
# fullbench : Precisely measure speed for each zstd inner functions
|
# fullbench : Precisely measure speed for each zstd inner functions
|
||||||
# fullbench32: Same as fullbench, but forced to compile in 32-bits mode
|
# fullbench32: Same as fullbench, but forced to compile in 32-bits mode
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
#
|
# ################################################################
|
||||||
# Copyright (c) 2016-present, Przemyslaw Skibinski, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2016-present, Przemyslaw Skibinski, Yann Collet, Facebook, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# This source code is licensed under the BSD-style license found in the
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
# LICENSE file in the root directory of this source tree. An additional grant
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
# of patent rights can be found in the PATENTS file in the same directory.
|
# in the COPYING file in the root directory of this source tree).
|
||||||
#
|
# ##########################################################################
|
||||||
|
|
||||||
# Limitations:
|
# Limitations:
|
||||||
# - doesn't support filenames with spaces
|
# - doesn't support filenames with spaces
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Test zstd interoperability between versions"""
|
"""Test zstd interoperability between versions"""
|
||||||
|
|
||||||
#
|
# ################################################################
|
||||||
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
|
# Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# This source code is licensed under the BSD-style license found in the
|
# This source code is licensed under both the BSD-style license (found in the
|
||||||
# LICENSE file in the root directory of this source tree. An additional grant
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
||||||
# of patent rights can be found in the PATENTS file in the same directory.
|
# in the COPYING file in the root directory of this source tree).
|
||||||
#
|
# ################################################################
|
||||||
|
|
||||||
import filecmp
|
import filecmp
|
||||||
import glob
|
import glob
|
||||||
|
Reference in New Issue
Block a user