From 9cd221094cb14f3192228f7d89cf910646c4a9cc Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Wed, 16 Oct 2013 14:59:46 -0700 Subject: [PATCH] Add appropriate LICENSE and Copyright message. Summary: Add appropriate LICENSE and Copyright message. Test Plan: make check Reviewers: CC: Task ID: # Blame Rev: --- LICENSE | 8 ++++++++ db/builder.cc | 5 +++++ db/builder.h | 4 ++++ db/c.cc | 5 +++++ db/corruption_test.cc | 5 +++++ db/db_bench.cc | 5 +++++ db/db_filesnapshot.cc | 5 +++++ db/db_impl.cc | 5 +++++ db/db_impl.h | 5 +++++ db/db_impl_readonly.cc | 5 +++++ db/db_impl_readonly.h | 5 +++++ db/db_iter.cc | 5 +++++ db/db_iter.h | 5 +++++ db/db_statistics.h | 5 +++++ db/db_stats_logger.cc | 5 +++++ db/db_test.cc | 5 +++++ db/dbformat.cc | 5 +++++ db/dbformat.h | 5 +++++ db/dbformat_test.cc | 5 +++++ db/deletefile_test.cc | 5 +++++ db/filename.cc | 5 +++++ db/filename.h | 5 +++++ db/filename_test.cc | 5 +++++ db/log_format.h | 5 +++++ db/log_reader.cc | 5 +++++ db/log_reader.h | 5 +++++ db/log_test.cc | 5 +++++ db/log_writer.cc | 5 +++++ db/log_writer.h | 5 +++++ db/memtable.cc | 5 +++++ db/memtable.h | 5 +++++ db/memtablelist.cc | 8 +++++--- db/memtablelist.h | 6 +++++- db/merge_helper.cc | 5 +++++ db/merge_helper.h | 5 +++++ db/merge_operator.cc | 8 +++++--- db/merge_test.cc | 5 +++++ db/perf_context_test.cc | 5 +++++ db/prefix_filter_iterator.h | 7 ++++--- db/repair.cc | 5 +++++ db/skiplist.h | 5 +++++ db/skiplist_test.cc | 5 +++++ db/snapshot.h | 5 +++++ db/table_cache.cc | 5 +++++ db/table_cache.h | 5 +++++ db/transaction_log_impl.cc | 5 +++++ db/transaction_log_impl.h | 6 +++++- db/version_edit.cc | 5 +++++ db/version_edit.h | 5 +++++ db/version_edit_test.cc | 5 +++++ db/version_set.cc | 5 +++++ db/version_set.h | 5 +++++ db/version_set_reduce_num_levels.cc | 5 +++++ db/version_set_test.cc | 5 +++++ db/write_batch.cc | 5 +++++ db/write_batch_internal.h | 5 +++++ db/write_batch_test.cc | 5 +++++ hdfs/env_hdfs.h | 23 +++++----------------- hdfs/hdfs.h | 23 +++++----------------- port/atomic_pointer.h | 5 +++++ port/port.h | 5 +++++ port/port_example.h | 5 +++++ port/port_posix.cc | 5 +++++ port/port_posix.h | 5 +++++ port/stack_trace.cc | 5 +++++ snappy/snappy-1.0.5/snappy-stubs-public.h | 5 +++++ snappy/snappy-1.0.5/snappy.h | 5 +++++ table/block.cc | 5 +++++ table/block.h | 5 +++++ table/block_builder.cc | 5 +++++ table/block_builder.h | 5 +++++ table/block_test.cc | 8 +++++--- table/filter_block.cc | 5 +++++ table/filter_block.h | 5 +++++ table/filter_block_test.cc | 5 +++++ table/format.cc | 5 +++++ table/format.h | 5 +++++ table/iter_heap.h | 6 +++++- table/iterator.cc | 5 +++++ table/iterator_wrapper.h | 5 +++++ table/merger.cc | 5 +++++ table/merger.h | 5 +++++ table/table.cc | 5 +++++ table/table.h | 5 +++++ table/table_builder.cc | 5 +++++ table/table_test.cc | 5 +++++ table/two_level_iterator.cc | 5 +++++ table/two_level_iterator.h | 5 +++++ tools/db_repl_stress.cc | 5 +++++ tools/db_stress.cc | 5 +++++ tools/ldb.cc | 8 +++++--- tools/reduce_levels_test.cc | 10 +++++----- tools/sst_dump.cc | 5 +++++ util/arena_impl.cc | 5 +++++ util/arena_impl.h | 5 +++++ util/arena_test.cc | 5 +++++ util/auto_roll_logger.cc | 5 +++++ util/auto_roll_logger.h | 7 ++++--- util/auto_roll_logger_test.cc | 9 +++++---- util/bit_set.h | 10 +++++----- util/bloom.cc | 5 +++++ util/bloom_test.cc | 5 +++++ util/build_version.h | 5 +++++ util/cache.cc | 5 +++++ util/cache_test.cc | 5 +++++ util/coding.cc | 5 +++++ util/coding.h | 5 +++++ util/coding_test.cc | 5 +++++ util/comparator.cc | 5 +++++ util/crc32c.cc | 5 +++++ util/crc32c.h | 5 +++++ util/crc32c_test.cc | 5 +++++ util/env.cc | 5 +++++ util/env_hdfs.cc | 24 +++++------------------ util/env_posix.cc | 5 +++++ util/env_test.cc | 5 +++++ util/filelock_test.cc | 9 +++++---- util/filter_policy.cc | 5 +++++ util/hash.cc | 5 +++++ util/hash.h | 5 +++++ util/histogram.cc | 5 +++++ util/histogram.h | 5 +++++ util/histogram_test.cc | 5 +++++ util/ldb_cmd.cc | 9 +++++---- util/ldb_cmd.h | 9 +++++---- util/ldb_cmd_execute_result.h | 5 +++++ util/ldb_tool.cc | 7 +++++-- util/logging.cc | 5 +++++ util/logging.h | 5 +++++ util/manual_compaction_test.cc | 5 +++++ util/murmurhash.cc | 5 +++++ util/murmurhash.h | 5 +++++ util/mutexlock.h | 5 +++++ util/options.cc | 5 +++++ util/perf_context.cc | 5 +++++ util/perf_context_imp.h | 5 +++++ util/posix_logger.h | 5 +++++ util/random.h | 5 +++++ util/signal_test.cc | 5 +++++ util/skiplistrep.cc | 5 +++++ util/slice.cc | 5 +++++ util/stack_trace.h | 5 +++++ util/statistics.cc | 5 +++++ util/stats_logger.h | 5 +++++ util/status.cc | 5 +++++ util/stl_wrappers.h | 5 +++++ util/stop_watch.h | 5 +++++ util/string_util.cc | 7 +++++-- util/string_util.h | 7 +++++-- util/testharness.cc | 5 +++++ util/testharness.h | 5 +++++ util/testutil.cc | 5 +++++ util/testutil.h | 5 +++++ util/transformrep.cc | 5 +++++ util/vectorrep.cc | 5 +++++ utilities/merge_operators.h | 5 +++++ 156 files changed, 780 insertions(+), 108 deletions(-) diff --git a/LICENSE b/LICENSE index 8e80208cd7..716ad9e740 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,11 @@ +BSD License + +For rocksdb software + +Copyright (c) 2013, Facebook, Inc. +All rights reserved. +--------------------------------------------------------------------- + Copyright (c) 2011 The LevelDB Authors. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/db/builder.cc b/db/builder.cc index 5097f0bb41..af9cff7ef3 100644 --- a/db/builder.cc +++ b/db/builder.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/builder.h b/db/builder.h index 2b512af7d0..dcb52e873c 100644 --- a/db/builder.h +++ b/db/builder.h @@ -1,3 +1,7 @@ +// Copyright (c) 2013, Facebook, Inc. 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. // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/c.cc b/db/c.cc index 50f52eb22f..7903b7ca37 100644 --- a/db/c.cc +++ b/db/c.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/corruption_test.cc b/db/corruption_test.cc index ccea4cb3fd..7173ea6a19 100644 --- a/db/corruption_test.cc +++ b/db/corruption_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_bench.cc b/db/db_bench.cc index 496ca36194..8c71685575 100644 --- a/db/db_bench.cc +++ b/db/db_bench.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_filesnapshot.cc b/db/db_filesnapshot.cc index 38656fef38..41a55c106c 100644 --- a/db/db_filesnapshot.cc +++ b/db/db_filesnapshot.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 Facebook. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/db/db_impl.cc b/db/db_impl.cc index 7ce02a7525..b05d3b18c6 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_impl.h b/db/db_impl.h index ca9c755a37..6a06e79bc0 100644 --- a/db/db_impl.h +++ b/db/db_impl.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_impl_readonly.cc b/db/db_impl_readonly.cc index a42e98b1ca..58da65abff 100644 --- a/db/db_impl_readonly.cc +++ b/db/db_impl_readonly.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 Facebook. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/db/db_impl_readonly.h b/db/db_impl_readonly.h index f6d6214109..af9c79ed09 100644 --- a/db/db_impl_readonly.h +++ b/db/db_impl_readonly.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 Facebook. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/db/db_iter.cc b/db/db_iter.cc index 8b1637b7d8..8ef9b3ce31 100644 --- a/db/db_iter.cc +++ b/db/db_iter.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_iter.h b/db/db_iter.h index 547f72f1d0..b44e674540 100644 --- a/db/db_iter.h +++ b/db/db_iter.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_statistics.h b/db/db_statistics.h index 20d745fbeb..87bc863048 100644 --- a/db/db_statistics.h +++ b/db/db_statistics.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_stats_logger.cc b/db/db_stats_logger.cc index 1031251edb..91810abe38 100644 --- a/db/db_stats_logger.cc +++ b/db/db_stats_logger.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/db_test.cc b/db/db_test.cc index 59113c7df4..ae58d7cb9a 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/dbformat.cc b/db/dbformat.cc index 8a0650467b..3d7e610106 100644 --- a/db/dbformat.cc +++ b/db/dbformat.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/dbformat.h b/db/dbformat.h index 0a2cc2ff88..a5f1a26a9f 100644 --- a/db/dbformat.h +++ b/db/dbformat.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/dbformat_test.cc b/db/dbformat_test.cc index faffb06963..b520f3c4ad 100644 --- a/db/dbformat_test.cc +++ b/db/dbformat_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/deletefile_test.cc b/db/deletefile_test.cc index 78a55febb8..92f9e5559e 100644 --- a/db/deletefile_test.cc +++ b/db/deletefile_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/filename.cc b/db/filename.cc index acba11425d..c80226f070 100644 --- a/db/filename.cc +++ b/db/filename.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/filename.h b/db/filename.h index ddf14df290..c5a4cde2ce 100644 --- a/db/filename.h +++ b/db/filename.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/filename_test.cc b/db/filename_test.cc index 2c246d395e..0baa7fdae1 100644 --- a/db/filename_test.cc +++ b/db/filename_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_format.h b/db/log_format.h index f5d3a3ae91..10a31ba279 100644 --- a/db/log_format.h +++ b/db/log_format.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_reader.cc b/db/log_reader.cc index 9ae59e6465..6596cd84f1 100644 --- a/db/log_reader.cc +++ b/db/log_reader.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_reader.h b/db/log_reader.h index cc202d3ab7..8e277c8216 100644 --- a/db/log_reader.h +++ b/db/log_reader.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_test.cc b/db/log_test.cc index 2a16db0180..dedbff0aae 100644 --- a/db/log_test.cc +++ b/db/log_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_writer.cc b/db/log_writer.cc index 61c0820721..df601a4706 100644 --- a/db/log_writer.cc +++ b/db/log_writer.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/log_writer.h b/db/log_writer.h index c00a3bdb64..d7b7afff09 100644 --- a/db/log_writer.h +++ b/db/log_writer.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/memtable.cc b/db/memtable.cc index 7a0155a6cc..6cb09b4ded 100644 --- a/db/memtable.cc +++ b/db/memtable.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/memtable.h b/db/memtable.h index 0fdb410dad..e92bf46ce8 100644 --- a/db/memtable.h +++ b/db/memtable.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/memtablelist.cc b/db/memtablelist.cc index 6025bef740..5ff13090b7 100644 --- a/db/memtablelist.cc +++ b/db/memtablelist.cc @@ -1,6 +1,8 @@ -// Copyright (c) 2012 Facebook. - - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "db/memtablelist.h" #include diff --git a/db/memtablelist.h b/db/memtablelist.h index ba9aea144d..31b86571e7 100644 --- a/db/memtablelist.h +++ b/db/memtablelist.h @@ -1,4 +1,8 @@ -// Copyright (c) 2012 Facebook. +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include diff --git a/db/merge_helper.cc b/db/merge_helper.cc index b54fc0e5f6..7f5f73ab1f 100644 --- a/db/merge_helper.cc +++ b/db/merge_helper.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "merge_helper.h" #include "db/dbformat.h" #include "rocksdb/comparator.h" diff --git a/db/merge_helper.h b/db/merge_helper.h index ac9953d49f..681271814d 100644 --- a/db/merge_helper.h +++ b/db/merge_helper.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #ifndef MERGE_HELPER_H #define MERGE_HELPER_H diff --git a/db/merge_operator.cc b/db/merge_operator.cc index 190dfee0c6..7d1ee4e5ff 100644 --- a/db/merge_operator.cc +++ b/db/merge_operator.cc @@ -1,8 +1,10 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// /** * Back-end implementation details specific to the Merge Operator. - * - * @author Deon Nicholas (dnicholas@fb.com) - * Copyright 2013 Facebook */ #include "rocksdb/merge_operator.h" diff --git a/db/merge_test.cc b/db/merge_test.cc index dcba13a55c..0c14aff2ce 100644 --- a/db/merge_test.cc +++ b/db/merge_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include #include diff --git a/db/perf_context_test.cc b/db/perf_context_test.cc index 09c8655673..db525e9143 100644 --- a/db/perf_context_test.cc +++ b/db/perf_context_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include #include diff --git a/db/prefix_filter_iterator.h b/db/prefix_filter_iterator.h index d847121a1a..f4488379ca 100644 --- a/db/prefix_filter_iterator.h +++ b/db/prefix_filter_iterator.h @@ -1,6 +1,7 @@ -// Copyright (c) 2011 The LevelDB Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. See the AUTHORS file for names of contributors. +// Copyright (c) 2013, Facebook, Inc. 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. // // Wrap an underlying iterator, but exclude any results not starting // with a given prefix. Seeking to keys not beginning with the prefix diff --git a/db/repair.cc b/db/repair.cc index 9ef84c5aa4..c9eeb203c9 100644 --- a/db/repair.cc +++ b/db/repair.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/skiplist.h b/db/skiplist.h index a8d9cb2dcc..9fe9f5682d 100644 --- a/db/skiplist.h +++ b/db/skiplist.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/skiplist_test.cc b/db/skiplist_test.cc index 73fd916599..dcbaf0abb3 100644 --- a/db/skiplist_test.cc +++ b/db/skiplist_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/snapshot.h b/db/snapshot.h index e6731db80b..2c2e3eac80 100644 --- a/db/snapshot.h +++ b/db/snapshot.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/table_cache.cc b/db/table_cache.cc index cf284b60ac..a51ee7fac8 100644 --- a/db/table_cache.cc +++ b/db/table_cache.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/table_cache.h b/db/table_cache.h index 4059780447..0928d3b32d 100644 --- a/db/table_cache.h +++ b/db/table_cache.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/transaction_log_impl.cc b/db/transaction_log_impl.cc index 39ca38507e..c6dfbd3043 100644 --- a/db/transaction_log_impl.cc +++ b/db/transaction_log_impl.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "db/transaction_log_impl.h" #include "db/write_batch_internal.h" diff --git a/db/transaction_log_impl.h b/db/transaction_log_impl.h index 6269dc30da..b17a80a2ef 100644 --- a/db/transaction_log_impl.h +++ b/db/transaction_log_impl.h @@ -1,4 +1,8 @@ -// Copyright 2008-present Facebook. All Rights Reserved. +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include diff --git a/db/version_edit.cc b/db/version_edit.cc index 39b1c195f7..9f23faba7f 100644 --- a/db/version_edit.cc +++ b/db/version_edit.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/version_edit.h b/db/version_edit.h index 2122f99d07..01f3da287e 100644 --- a/db/version_edit.h +++ b/db/version_edit.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/version_edit_test.cc b/db/version_edit_test.cc index 1b80c1e884..4a00822f79 100644 --- a/db/version_edit_test.cc +++ b/db/version_edit_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/version_set.cc b/db/version_set.cc index 62309d336d..f9e23493fe 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/version_set.h b/db/version_set.h index 8617e04912..8e24892b54 100644 --- a/db/version_set.h +++ b/db/version_set.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/version_set_reduce_num_levels.cc b/db/version_set_reduce_num_levels.cc index e36a5106c9..d13a4aed91 100644 --- a/db/version_set_reduce_num_levels.cc +++ b/db/version_set_reduce_num_levels.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 Facebook. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/db/version_set_test.cc b/db/version_set_test.cc index e661a5d325..1af95dd3fe 100644 --- a/db/version_set_test.cc +++ b/db/version_set_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/write_batch.cc b/db/write_batch.cc index b58564c6ff..66324d6760 100644 --- a/db/write_batch.cc +++ b/db/write_batch.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/write_batch_internal.h b/db/write_batch_internal.h index 46b1c97282..50bbda8a74 100644 --- a/db/write_batch_internal.h +++ b/db/write_batch_internal.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/db/write_batch_test.cc b/db/write_batch_test.cc index 00197a2a01..b532a75db9 100644 --- a/db/write_batch_test.cc +++ b/db/write_batch_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h index 5922c6f8ee..cb8ca623ff 100644 --- a/hdfs/env_hdfs.h +++ b/hdfs/env_hdfs.h @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Copyright (c) 2012 Facebook. All rights reserved. +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include diff --git a/hdfs/hdfs.h b/hdfs/hdfs.h index 1b11356515..8e8dfecb87 100644 --- a/hdfs/hdfs.h +++ b/hdfs/hdfs.h @@ -1,21 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - +// Copyright (c) 2013, Facebook, Inc. 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. +// #ifndef LIBHDFS_HDFS_H #define LIBHDFS_HDFS_H diff --git a/port/atomic_pointer.h b/port/atomic_pointer.h index 9780650f10..2527ff9777 100644 --- a/port/atomic_pointer.h +++ b/port/atomic_pointer.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/port/port.h b/port/port.h index e667db40d0..53a5816217 100644 --- a/port/port.h +++ b/port/port.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/port/port_example.h b/port/port_example.h index 5979ecad94..64a579187c 100644 --- a/port/port_example.h +++ b/port/port_example.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/port/port_posix.cc b/port/port_posix.cc index 9ecc77ebce..f7025f4614 100644 --- a/port/port_posix.cc +++ b/port/port_posix.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/port/port_posix.h b/port/port_posix.h index 0f9c51840c..84d91e8dee 100644 --- a/port/port_posix.h +++ b/port/port_posix.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/port/stack_trace.cc b/port/stack_trace.cc index 71b09d8bb0..a98f26eacf 100644 --- a/port/stack_trace.cc +++ b/port/stack_trace.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/stack_trace.h" #ifdef OS_LINUX diff --git a/snappy/snappy-1.0.5/snappy-stubs-public.h b/snappy/snappy-1.0.5/snappy-stubs-public.h index 9ee4ca52b3..9ad0deac0d 100644 --- a/snappy/snappy-1.0.5/snappy-stubs-public.h +++ b/snappy/snappy-1.0.5/snappy-stubs-public.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright 2011 Google Inc. All Rights Reserved. // Author: sesse@google.com (Steinar H. Gunderson) // diff --git a/snappy/snappy-1.0.5/snappy.h b/snappy/snappy-1.0.5/snappy.h index 8c2075fefa..93bfd5b4f1 100644 --- a/snappy/snappy-1.0.5/snappy.h +++ b/snappy/snappy-1.0.5/snappy.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright 2005 and onwards Google Inc. // // Redistribution and use in source and binary forms, with or without diff --git a/table/block.cc b/table/block.cc index 1673d3ff52..fbcf722c48 100644 --- a/table/block.cc +++ b/table/block.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/block.h b/table/block.h index 156fb7bb20..ed936f15f5 100644 --- a/table/block.h +++ b/table/block.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/block_builder.cc b/table/block_builder.cc index 017e9c3598..592d7136c1 100644 --- a/table/block_builder.cc +++ b/table/block_builder.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/block_builder.h b/table/block_builder.h index ec4b35b891..046b8affb8 100644 --- a/table/block_builder.h +++ b/table/block_builder.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/block_test.cc b/table/block_test.cc index 5b9e052bb0..eb141160c4 100644 --- a/table/block_test.cc +++ b/table/block_test.cc @@ -1,6 +1,8 @@ -// Copyright (c) 2012 Facebook. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. See the AUTHORS file for names of contributors. +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include "db/dbformat.h" #include "db/memtable.h" diff --git a/table/filter_block.cc b/table/filter_block.cc index 758040ecb0..ce195a8e2b 100644 --- a/table/filter_block.cc +++ b/table/filter_block.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/filter_block.h b/table/filter_block.h index b6e68655dc..cea60d8628 100644 --- a/table/filter_block.h +++ b/table/filter_block.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/filter_block_test.cc b/table/filter_block_test.cc index faa0fe1463..bc1a0d0aba 100644 --- a/table/filter_block_test.cc +++ b/table/filter_block_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/format.cc b/table/format.cc index ecfbf00d0d..fdda0c9ca5 100644 --- a/table/format.cc +++ b/table/format.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/format.h b/table/format.h index 25d0e4342c..91e74638fc 100644 --- a/table/format.h +++ b/table/format.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/iter_heap.h b/table/iter_heap.h index 7255226af7..af8834e380 100644 --- a/table/iter_heap.h +++ b/table/iter_heap.h @@ -1,4 +1,8 @@ -// Copyright 2008-present Facebook. All Rights Reserved. +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include diff --git a/table/iterator.cc b/table/iterator.cc index 52151e7b55..a3d4f638db 100644 --- a/table/iterator.cc +++ b/table/iterator.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/iterator_wrapper.h b/table/iterator_wrapper.h index 7c1d8981d5..cb8520be89 100644 --- a/table/iterator_wrapper.h +++ b/table/iterator_wrapper.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/merger.cc b/table/merger.cc index c768b261e5..f5ce7440c7 100644 --- a/table/merger.cc +++ b/table/merger.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/merger.h b/table/merger.h index e81d26646c..dbc1f69eb5 100644 --- a/table/merger.h +++ b/table/merger.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/table.cc b/table/table.cc index 8a4186f6da..c4a5eed2fe 100644 --- a/table/table.cc +++ b/table/table.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/table.h b/table/table.h index 6e7f857479..d96179e1f9 100644 --- a/table/table.h +++ b/table/table.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/table_builder.cc b/table/table_builder.cc index b187b70e7f..458fc4c2ac 100644 --- a/table/table_builder.cc +++ b/table/table_builder.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/table_test.cc b/table/table_test.cc index 859488619c..1bd9c362b8 100644 --- a/table/table_test.cc +++ b/table/table_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/two_level_iterator.cc b/table/two_level_iterator.cc index fe02662be9..a5c1e592ee 100644 --- a/table/two_level_iterator.cc +++ b/table/two_level_iterator.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/table/two_level_iterator.h b/table/two_level_iterator.h index b1feea3144..85aed3f140 100644 --- a/table/two_level_iterator.h +++ b/table/two_level_iterator.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/tools/db_repl_stress.cc b/tools/db_repl_stress.cc index c7191ba803..39a46a0a79 100644 --- a/tools/db_repl_stress.cc +++ b/tools/db_repl_stress.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include "db/write_batch_internal.h" diff --git a/tools/db_stress.cc b/tools/db_stress.cc index 2d9370bd27..faa82636c5 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/tools/ldb.cc b/tools/ldb.cc index 561568c773..4581b8011a 100644 --- a/tools/ldb.cc +++ b/tools/ldb.cc @@ -1,6 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/ldb_tool.h" diff --git a/tools/reduce_levels_test.cc b/tools/reduce_levels_test.cc index 0b504c3ca5..b588b52d2a 100644 --- a/tools/reduce_levels_test.cc +++ b/tools/reduce_levels_test.cc @@ -1,8 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/db.h" #include "db/db_impl.h" #include "db/version_set.h" diff --git a/tools/sst_dump.cc b/tools/sst_dump.cc index b7d721ef46..c2a69af7b5 100644 --- a/tools/sst_dump.cc +++ b/tools/sst_dump.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "table/table.h" #include diff --git a/util/arena_impl.cc b/util/arena_impl.cc index 0ba02a2f06..d5c2a537e2 100644 --- a/util/arena_impl.cc +++ b/util/arena_impl.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/arena_impl.h b/util/arena_impl.h index f4fac603ef..b5a6842472 100644 --- a/util/arena_impl.h +++ b/util/arena_impl.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/arena_test.cc b/util/arena_test.cc index c67bb3b666..12aa7f7fe5 100644 --- a/util/arena_test.cc +++ b/util/arena_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/auto_roll_logger.cc b/util/auto_roll_logger.cc index 8651e1f90e..95f2fae0d2 100644 --- a/util/auto_roll_logger.cc +++ b/util/auto_roll_logger.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/auto_roll_logger.h" #include "util/mutexlock.h" diff --git a/util/auto_roll_logger.h b/util/auto_roll_logger.h index 4ff2fa9046..db70f15863 100644 --- a/util/auto_roll_logger.h +++ b/util/auto_roll_logger.h @@ -1,6 +1,7 @@ -// Copyright (c) 2011 The LevelDB Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. See the AUTHORS file for names of contributors. +// Copyright (c) 2013, Facebook, Inc. 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. // // Logger implementation that can be shared by all environments // where enough posix functionality is available. diff --git a/util/auto_roll_logger_test.cc b/util/auto_roll_logger_test.cc index 8581995546..2fd2c51f3a 100755 --- a/util/auto_roll_logger_test.cc +++ b/util/auto_roll_logger_test.cc @@ -1,7 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include #include "util/testharness.h" diff --git a/util/bit_set.h b/util/bit_set.h index 6b20e34f15..01727060df 100644 --- a/util/bit_set.h +++ b/util/bit_set.h @@ -1,8 +1,8 @@ -/** - * Copyright 2009 Facebook - * @author Tudor Bosman (tudorb@facebook.com) - */ - +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include diff --git a/util/bloom.cc b/util/bloom.cc index 7be9fadc1f..78ae04a266 100644 --- a/util/bloom.cc +++ b/util/bloom.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/bloom_test.cc b/util/bloom_test.cc index 62ff712578..9dbd5d2cce 100644 --- a/util/bloom_test.cc +++ b/util/bloom_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/build_version.h b/util/build_version.h index bf8147dcb9..266aad39c0 100644 --- a/util/build_version.h +++ b/util/build_version.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once // these variables tell us about the git config and time extern const char* rocksdb_build_git_sha; diff --git a/util/cache.cc b/util/cache.cc index cfca0aed21..8d37e19263 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/cache_test.cc b/util/cache_test.cc index fe3bfd68f2..87ab91389a 100644 --- a/util/cache_test.cc +++ b/util/cache_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/coding.cc b/util/coding.cc index 60bdf44106..8e596c9c0f 100644 --- a/util/coding.cc +++ b/util/coding.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/coding.h b/util/coding.h index 0966d0b124..2c7d998919 100644 --- a/util/coding.h +++ b/util/coding.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/coding_test.cc b/util/coding_test.cc index 03befc5bbd..fb06132382 100644 --- a/util/coding_test.cc +++ b/util/coding_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/comparator.cc b/util/comparator.cc index 6ba1cacfd0..adeacac0ac 100644 --- a/util/comparator.cc +++ b/util/comparator.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/crc32c.cc b/util/crc32c.cc index cd2d66e5bc..bca955a098 100644 --- a/util/crc32c.cc +++ b/util/crc32c.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/crc32c.h b/util/crc32c.h index 6d33f3afb0..e5e6e143e2 100644 --- a/util/crc32c.h +++ b/util/crc32c.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/crc32c_test.cc b/util/crc32c_test.cc index 6736dfefa7..300c9d3c72 100644 --- a/util/crc32c_test.cc +++ b/util/crc32c_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/env.cc b/util/env.cc index 6c27080c6a..cf62730343 100644 --- a/util/env.cc +++ b/util/env.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/env_hdfs.cc b/util/env_hdfs.cc index bcc1445832..0f8fe0d115 100644 --- a/util/env_hdfs.cc +++ b/util/env_hdfs.cc @@ -1,22 +1,8 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Copyright (c) 2012 Facebook. All rights reserved. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #ifdef USE_HDFS #ifndef ROCKSDB_HDFS_FILE_C #define ROCKSDB_HDFS_FILE_C diff --git a/util/env_posix.cc b/util/env_posix.cc index e8ae8549ef..4cb434b771 100644 --- a/util/env_posix.cc +++ b/util/env_posix.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/env_test.cc b/util/env_test.cc index e5b6f02601..82a27434ae 100644 --- a/util/env_test.cc +++ b/util/env_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/filelock_test.cc b/util/filelock_test.cc index 247dd5aa9b..a9e30a5d3b 100644 --- a/util/filelock_test.cc +++ b/util/filelock_test.cc @@ -1,7 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/status.h" #include "rocksdb/env.h" diff --git a/util/filter_policy.cc b/util/filter_policy.cc index 49cf80b05a..e950b75f7e 100644 --- a/util/filter_policy.cc +++ b/util/filter_policy.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/hash.cc b/util/hash.cc index 62de085c54..6f0e9cc922 100644 --- a/util/hash.cc +++ b/util/hash.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/hash.h b/util/hash.h index e51a883ac6..c9eb659ab8 100644 --- a/util/hash.h +++ b/util/hash.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/histogram.cc b/util/histogram.cc index f314154102..3a574a1dfa 100644 --- a/util/histogram.cc +++ b/util/histogram.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/histogram.h b/util/histogram.h index f70eaf1bed..c01594da7f 100644 --- a/util/histogram.h +++ b/util/histogram.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/histogram_test.cc b/util/histogram_test.cc index 3e1d6c5c42..065f9579ab 100644 --- a/util/histogram_test.cc +++ b/util/histogram_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/histogram.h" #include "util/testharness.h" diff --git a/util/ldb_cmd.cc b/util/ldb_cmd.cc index de5c357ee1..c2738701f0 100644 --- a/util/ldb_cmd.cc +++ b/util/ldb_cmd.cc @@ -1,7 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/ldb_cmd.h" #include "db/dbformat.h" diff --git a/util/ldb_cmd.h b/util/ldb_cmd.h index fe94570631..78ffa7c76d 100644 --- a/util/ldb_cmd.h +++ b/util/ldb_cmd.h @@ -1,7 +1,8 @@ -// Copyright (c) 2012 Facebook. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include #include diff --git a/util/ldb_cmd_execute_result.h b/util/ldb_cmd_execute_result.h index b3d54b4891..b9121b2b0a 100644 --- a/util/ldb_cmd_execute_result.h +++ b/util/ldb_cmd_execute_result.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once namespace rocksdb { diff --git a/util/ldb_tool.cc b/util/ldb_tool.cc index 17fd18f772..2dbbbf8e02 100644 --- a/util/ldb_tool.cc +++ b/util/ldb_tool.cc @@ -1,5 +1,8 @@ -// Copyright 2008-present Facebook. All Rights Reserved. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/ldb_tool.h" #include "util/ldb_cmd.h" diff --git a/util/logging.cc b/util/logging.cc index 656eeaa3ef..697341349f 100644 --- a/util/logging.cc +++ b/util/logging.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/logging.h b/util/logging.h index c962f5945e..411c83beb4 100644 --- a/util/logging.h +++ b/util/logging.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/manual_compaction_test.cc b/util/manual_compaction_test.cc index abe10f50e2..ebe1339e53 100644 --- a/util/manual_compaction_test.cc +++ b/util/manual_compaction_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Test for issue 178: a manual compaction causes deleted data to reappear. #include #include diff --git a/util/murmurhash.cc b/util/murmurhash.cc index 2c650d8bdc..d9d8b70617 100644 --- a/util/murmurhash.cc +++ b/util/murmurhash.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// /* Murmurhash from http://sites.google.com/site/murmurhash/ diff --git a/util/murmurhash.h b/util/murmurhash.h index 2e8d54aa58..9707e56358 100644 --- a/util/murmurhash.h +++ b/util/murmurhash.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// /* Murmurhash from http://sites.google.com/site/murmurhash/ diff --git a/util/mutexlock.h b/util/mutexlock.h index 1dc5838493..0f4e5c8b7b 100644 --- a/util/mutexlock.h +++ b/util/mutexlock.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/options.cc b/util/options.cc index c1f0d8b06a..1e0e037001 100644 --- a/util/options.cc +++ b/util/options.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/perf_context.cc b/util/perf_context.cc index 31ae752015..608b300ecd 100644 --- a/util/perf_context.cc +++ b/util/perf_context.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/perf_context_imp.h" namespace rocksdb { diff --git a/util/perf_context_imp.h b/util/perf_context_imp.h index 4d6c90cd8f..f7818e69c5 100644 --- a/util/perf_context_imp.h +++ b/util/perf_context_imp.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include "rocksdb/perf_context.h" #include "util/stop_watch.h" diff --git a/util/posix_logger.h b/util/posix_logger.h index f3107520da..ec0ad1d328 100644 --- a/util/posix_logger.h +++ b/util/posix_logger.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/random.h b/util/random.h index 45cc89e416..e5b331500c 100644 --- a/util/random.h +++ b/util/random.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/signal_test.cc b/util/signal_test.cc index 6b65cbf536..bffc298d3c 100644 --- a/util/signal_test.cc +++ b/util/signal_test.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "util/stack_trace.h" #include diff --git a/util/skiplistrep.cc b/util/skiplistrep.cc index 12ef528622..955d754b15 100644 --- a/util/skiplistrep.cc +++ b/util/skiplistrep.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/memtablerep.h" #include "db/memtable.h" #include "db/skiplist.h" diff --git a/util/slice.cc b/util/slice.cc index 6d703e7f8d..55f561f0cf 100644 --- a/util/slice.cc +++ b/util/slice.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/stack_trace.h b/util/stack_trace.h index 402030272a..888304462e 100644 --- a/util/stack_trace.h +++ b/util/stack_trace.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once namespace rocksdb { diff --git a/util/statistics.cc b/util/statistics.cc index 1bc4a030fd..5f7a5ba46a 100644 --- a/util/statistics.cc +++ b/util/statistics.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/statistics.h" #include diff --git a/util/stats_logger.h b/util/stats_logger.h index 3ed2320c23..f0b45404e1 100644 --- a/util/stats_logger.h +++ b/util/stats_logger.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once namespace rocksdb { diff --git a/util/status.cc b/util/status.cc index 8d01800cc9..f7c40e9526 100644 --- a/util/status.cc +++ b/util/status.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/stl_wrappers.h b/util/stl_wrappers.h index ac280a06cc..b42a584277 100644 --- a/util/stl_wrappers.h +++ b/util/stl_wrappers.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include "util/murmurhash.h" diff --git a/util/stop_watch.h b/util/stop_watch.h index 990c3cb59d..f251b6bc1b 100644 --- a/util/stop_watch.h +++ b/util/stop_watch.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once #include "rocksdb/env.h" #include "rocksdb/statistics.h" diff --git a/util/string_util.cc b/util/string_util.cc index 516a19aa77..33f84d9b4f 100644 --- a/util/string_util.cc +++ b/util/string_util.cc @@ -1,5 +1,8 @@ -// Copyright (c) 2013 Facebook. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include #include diff --git a/util/string_util.h b/util/string_util.h index da7a4273b4..7dfd68aadc 100644 --- a/util/string_util.h +++ b/util/string_util.h @@ -1,5 +1,8 @@ -// Copyright (c) 2013 Facebook. - +// Copyright (c) 2013, Facebook, Inc. 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. +// #pragma once namespace rocksdb { diff --git a/util/testharness.cc b/util/testharness.cc index 48e26cc809..85716cdae3 100644 --- a/util/testharness.cc +++ b/util/testharness.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/testharness.h b/util/testharness.h index f45fc70dc5..936ee8b6c4 100644 --- a/util/testharness.h +++ b/util/testharness.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/testutil.cc b/util/testutil.cc index b30896cf18..13e781e646 100644 --- a/util/testutil.cc +++ b/util/testutil.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/testutil.h b/util/testutil.h index eb3b997965..c73210fecd 100644 --- a/util/testutil.h +++ b/util/testutil.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. diff --git a/util/transformrep.cc b/util/transformrep.cc index 2756dae8f0..9d620f9bf8 100644 --- a/util/transformrep.cc +++ b/util/transformrep.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include #include #include diff --git a/util/vectorrep.cc b/util/vectorrep.cc index aba605ec55..c43d10a153 100644 --- a/util/vectorrep.cc +++ b/util/vectorrep.cc @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #include "rocksdb/memtablerep.h" #include diff --git a/utilities/merge_operators.h b/utilities/merge_operators.h index c3680308fa..fdf06645fc 100644 --- a/utilities/merge_operators.h +++ b/utilities/merge_operators.h @@ -1,3 +1,8 @@ +// Copyright (c) 2013, Facebook, Inc. 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. +// #ifndef MERGE_OPERATORS_H #define MERGE_OPERATORS_H