# # # patch "cache_logger.cc" # from [f963c6395c69e91d9b6e85fe3e106524a59f44ef] # to [e5e7cc4fb068945e7a7a8cf0450dec6d31f160e3] # # patch "cache_logger.hh" # from [9da9583f7d90aec49b87d2419d295a0cada175f7] # to [3fe12c0db16952eb793a2b0849f9a96b4e90f99b] # # patch "cow_trie.hh" # from [2751bc399b07e0facb652148d1af8d8fb77c9815] # to [4531a829958b3a0f92abd30d4ef9bd35ef5e07a3] # ============================================================ --- cache_logger.cc f963c6395c69e91d9b6e85fe3e106524a59f44ef +++ cache_logger.cc e5e7cc4fb068945e7a7a8cf0450dec6d31f160e3 @@ -1,3 +1,13 @@ +// Copyright (C) 2010 and later by various people +// see monotone commit logs for details and authors +// +// This program is made available under the GNU GPL version 2.0 or +// greater. See the accompanying file COPYING for details. +// +// This program is distributed WITHOUT ANY WARRANTY; without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE. + #include "base.hh" #include "cache_logger.hh" ============================================================ --- cache_logger.hh 9da9583f7d90aec49b87d2419d295a0cada175f7 +++ cache_logger.hh 3fe12c0db16952eb793a2b0849f9a96b4e90f99b @@ -1,3 +1,13 @@ +// Copyright (C) 2010 and later by various people +// see monotone commit logs for details and authors +// +// This program is made available under the GNU GPL version 2.0 or +// greater. See the accompanying file COPYING for details. +// +// This program is distributed WITHOUT ANY WARRANTY; without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE. + #ifndef __CACHE_LOGGER_HH__ #define __CACHE_LOGGER_HH__ ============================================================ --- cow_trie.hh 2751bc399b07e0facb652148d1af8d8fb77c9815 +++ cow_trie.hh 4531a829958b3a0f92abd30d4ef9bd35ef5e07a3 @@ -1,16 +1,20 @@ +// Copyright 2010 Timothy Brownawell +// You may use, copy, modify, distribute, etc, this file with no other +// restriction than that this notice not be removed. #include #include -// This is *NOT* a normal STL-compatible container! It pretends well enough to work -// with parallel_iter and such, but it does not have find(), insert(), erase(). +// This is *NOT* a normal STL-compatible container! It pretends well enough +// to work with parallel_iter and such, but it does not have find(), +// insert(), erase(). // -// Because this is copy-on-write, and the copying is per-node instead of for the -// whole object, the nodes can not have parent pointers (also, having parent pointers -// would I think make the size 2^n+4 instead of 2^n, which AIUI would waste almost -// equal space with common memory allocators). -// This lack of parent pointers means that iterators are expensive, so they're not -// used except for, well, iteration. +// Because this is copy-on-write, and the copying is per-node instead of for +// the whole object, the nodes can not have parent pointers (also, having +// parent pointers would I think make the size 2^n+4 instead of 2^n, which +// AIUI would waste almost equal space with common memory allocators). +// This lack of parent pointers means that iterators are expensive, so they're +// not used except for, well, iteration. template class cow_trie @@ -226,3 +230,11 @@ public: const_iterator end() const { return const_iterator(); } }; + +// Local Variables: +// mode: C++ +// fill-column: 76 +// c-file-style: "gnu" +// indent-tabs-mode: nil +// End: +// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s: