You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/02/15 23:58:45 UTC
[trafficserver] branch master updated: Add missing AL2 license to
MemView.cc
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 0494d88 Add missing AL2 license to MemView.cc
0494d88 is described below
commit 0494d883b6965cccae0beadad6f4ebe9d347f69f
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed Feb 15 16:58:10 2017 -0700
Add missing AL2 license to MemView.cc
---
lib/ts/MemView.cc | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/lib/ts/MemView.cc b/lib/ts/MemView.cc
index 980a01a..f0f3eb9 100644
--- a/lib/ts/MemView.cc
+++ b/lib/ts/MemView.cc
@@ -1,3 +1,28 @@
+/** @file
+
+ Class for handling "views" of a buffer. Views presume the memory for the buffer is managed
+ elsewhere and allow efficient access to segments of the buffer without copies. Views are read
+ only as the view doesn't own the memory. Along with generic buffer methods are specialized
+ methods to support better string parsing, particularly token based parsing.
+
+ @section license License
+
+ 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.
+*/
#include <ts/MemView.h>
#include <sstream>
#include <ctype.h>
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].