s/Sparce/Sparse/g
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a7f66aed Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a7f66aed Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a7f66aed Branch: refs/heads/5.0.x Commit: a7f66aed58a9783d6a8cea9a15921d967bfea4c1 Parents: f95f42a Author: James Peach <jpe...@apache.org> Authored: Fri Aug 23 13:54:46 2013 -0700 Committer: James Peach <jpe...@apache.org> Committed: Fri Aug 23 13:54:46 2013 -0700 ---------------------------------------------------------------------- lib/ts/Allocator.h | 6 +++--- proxy/http/HttpSM.cc | 2 +- proxy/http/HttpSM.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7f66aed/lib/ts/Allocator.h ---------------------------------------------------------------------- diff --git a/lib/ts/Allocator.h b/lib/ts/Allocator.h index ab46b86..86fcf23 100644 --- a/lib/ts/Allocator.h +++ b/lib/ts/Allocator.h @@ -183,7 +183,7 @@ public: all of the members. */ -template<class C> class SparceClassAllocator:public ClassAllocator<C> { +template<class C> class SparseClassAllocator:public ClassAllocator<C> { public: /** Allocates objects of the templated type. */ @@ -201,7 +201,7 @@ public: /** - Create a new class specific SparceClassAllocator. + Create a new class specific SparseClassAllocator. @param name some identifying name, used for mem tracking purposes. @param chunk_size number of units to be allocated if free pool is empty. @@ -209,7 +209,7 @@ public: @param instantiate_func */ - SparceClassAllocator(const char *name, unsigned int chunk_size = 128, + SparseClassAllocator(const char *name, unsigned int chunk_size = 128, unsigned int alignment = 16, void (*instantiate_func) (C * proto, C * instance) = NULL) : ClassAllocator<C>(name, chunk_size, alignment) http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7f66aed/proxy/http/HttpSM.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index f642095..4b7b008 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -164,7 +164,7 @@ HttpSM::_instantiate_func(HttpSM * prototype, HttpSM * new_instance) #endif } -SparceClassAllocator<HttpSM> httpSMAllocator("httpSMAllocator", 128, 16, HttpSM::_instantiate_func); +SparseClassAllocator<HttpSM> httpSMAllocator("httpSMAllocator", 128, 16, HttpSM::_instantiate_func); #define HTTP_INCREMENT_TRANS_STAT(X) HttpTransact::update_stat(&t_state, X, 1); http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a7f66aed/proxy/http/HttpSM.h ---------------------------------------------------------------------- diff --git a/proxy/http/HttpSM.h b/proxy/http/HttpSM.h index d05fb4d..5cbfacb 100644 --- a/proxy/http/HttpSM.h +++ b/proxy/http/HttpSM.h @@ -548,7 +548,7 @@ HttpSM::get_ua_entry() inline HttpSM * HttpSM::allocate() { - extern SparceClassAllocator<HttpSM> httpSMAllocator; + extern SparseClassAllocator<HttpSM> httpSMAllocator; return httpSMAllocator.alloc(); }