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 8e80208cd..716ad9e74 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 5097f0bb4..af9cff7ef 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 2b512af7d..dcb52e873 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 50f52eb22..7903b7ca3 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 ccea4cb3f..7173ea6a1 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 496ca3619..8c7168557 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 38656fef3..41a55c106 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 7ce02a752..b05d3b18c 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 ca9c755a3..6a06e79bc 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 a42e98b1c..58da65abf 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 f6d621410..af9c79ed0 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 8b1637b7d..8ef9b3ce3 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 547f72f1d..b44e67454 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 20d745fbe..87bc86304 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 1031251ed..91810abe3 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 59113c7df..ae58d7cb9 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 8a0650467..3d7e61010 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 0a2cc2ff8..a5f1a26a9 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 faffb0696..b520f3c4a 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 78a55febb..92f9e5559 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 acba11425..c80226f07 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 ddf14df29..c5a4cde2c 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 2c246d395..0baa7fdae 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 f5d3a3ae9..10a31ba27 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 9ae59e646..6596cd84f 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 cc202d3ab..8e277c821 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 2a16db018..dedbff0aa 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 61c082072..df601a470 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 c00a3bdb6..d7b7afff0 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 7a0155a6c..6cb09b4de 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 0fdb410da..e92bf46ce 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 6025bef74..5ff13090b 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 ba9aea144..31b86571e 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 b54fc0e5f..7f5f73ab1 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 ac9953d49..681271814 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 190dfee0c..7d1ee4e5f 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 dcba13a55..0c14aff2c 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 09c865567..db525e914 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 d847121a1..f4488379c 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 9ef84c5aa..c9eeb203c 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 a8d9cb2dc..9fe9f5682 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 73fd91659..dcbaf0abb 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 e6731db80..2c2e3eac8 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 cf284b60a..a51ee7fac 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 405978044..0928d3b32 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 39ca38507..c6dfbd304 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 6269dc30d..b17a80a2e 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 39b1c195f..9f23faba7 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 2122f99d0..01f3da287 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 1b80c1e88..4a00822f7 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 62309d336..f9e23493f 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 8617e0491..8e24892b5 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 e36a5106c..d13a4aed9 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 e661a5d32..1af95dd3f 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 b58564c6f..66324d676 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 46b1c9728..50bbda8a7 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 00197a2a0..b532a75db 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 5922c6f8e..cb8ca623f 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 1b1135651..8e8dfecb8 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 9780650f1..2527ff977 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 e667db40d..53a581621 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 5979ecad9..64a579187 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 9ecc77ebc..f7025f461 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 0f9c51840..84d91e8de 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 71b09d8bb..a98f26eac 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 9ee4ca52b..9ad0deac0 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 8c2075fef..93bfd5b4f 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 1673d3ff5..fbcf722c4 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 156fb7bb2..ed936f15f 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 017e9c359..592d7136c 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 ec4b35b89..046b8affb 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 5b9e052bb..eb141160c 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 758040ecb..ce195a8e2 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 b6e68655d..cea60d862 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 faa0fe146..bc1a0d0ab 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 ecfbf00d0..fdda0c9ca 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 25d0e4342..91e74638f 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 7255226af..af8834e38 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 52151e7b5..a3d4f638d 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 7c1d8981d..cb8520be8 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 c768b261e..f5ce7440c 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 e81d26646..dbc1f69eb 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 8a4186f6d..c4a5eed2f 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 6e7f85747..d96179e1f 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 b187b70e7..458fc4c2a 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 859488619..1bd9c362b 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 fe02662be..a5c1e592e 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 b1feea314..85aed3f14 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 c7191ba80..39a46a0a7 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 2d9370bd2..faa82636c 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 561568c77..4581b8011 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 0b504c3ca..b588b52d2 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 b7d721ef4..c2a69af7b 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 0ba02a2f0..d5c2a537e 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 f4fac603e..b5a684247 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 c67bb3b66..12aa7f7fe 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 8651e1f90..95f2fae0d 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 4ff2fa904..db70f1586 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 858199554..2fd2c51f3 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 6b20e34f1..01727060d 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 7be9fadc1..78ae04a26 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 62ff71257..9dbd5d2cc 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 bf8147dcb..266aad39c 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 cfca0aed2..8d37e1926 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 fe3bfd68f..87ab91389 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 60bdf4410..8e596c9c0 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 0966d0b12..2c7d99891 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 03befc5bb..fb0613238 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 6ba1cacfd..adeacac0a 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 cd2d66e5b..bca955a09 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 6d33f3afb..e5e6e143e 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 6736dfefa..300c9d3c7 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 6c27080c6..cf6273034 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 bcc144583..0f8fe0d11 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 e8ae8549e..4cb434b77 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 e5b6f0260..82a27434a 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 247dd5aa9..a9e30a5d3 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 49cf80b05..e950b75f7 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 62de085c5..6f0e9cc92 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 e51a883ac..c9eb659ab 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 f31415410..3a574a1df 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 f70eaf1be..c01594da7 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 3e1d6c5c4..065f9579a 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 de5c357ee..c2738701f 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 fe9457063..78ffa7c76 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 b3d54b489..b9121b2b0 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 17fd18f77..2dbbbf8e0 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 656eeaa3e..697341349 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 c962f5945..411c83beb 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 abe10f50e..ebe1339e5 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 2c650d8bd..d9d8b7061 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 2e8d54aa5..9707e5635 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 1dc583849..0f4e5c8b7 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 c1f0d8b06..1e0e03700 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 31ae75201..608b300ec 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 4d6c90cd8..f7818e69c 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 f3107520d..ec0ad1d32 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 45cc89e41..e5b331500 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 6b65cbf53..bffc298d3 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 12ef52862..955d754b1 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 6d703e7f8..55f561f0c 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 402030272..888304462 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 1bc4a030f..5f7a5ba46 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 3ed2320c2..f0b45404e 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 8d01800cc..f7c40e952 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 ac280a06c..b42a58427 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 990c3cb59..f251b6bc1 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 516a19aa7..33f84d9b4 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 da7a4273b..7dfd68aad 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 48e26cc80..85716cdae 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 f45fc70dc..936ee8b6c 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 b30896cf1..13e781e64 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 eb3b99796..c73210fec 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 2756dae8f..9d620f9bf 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 aba605ec5..c43d10a15 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 c3680308f..fdf06645f 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