Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
83affd3c
Commit
83affd3c
authored
7 years ago
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch svn r35211 r35214 & add UT of iobuf
parent
83a43254
master
0.9.8-rc01
0.9.7
0.9.7-rc03
0.9.7-rc02
0.9.7-rc01
0.9.6
0.9.6-rc03
0.9.6-rc02
0.9.6-rc01
0.9.5
v0.9.0
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
4 deletions
+41
-4
iobuf.cpp
src/base/iobuf.cpp
+13
-1
iobuf.h
src/base/iobuf.h
+13
-1
iobuf_inl.h
src/base/iobuf_inl.h
+13
-1
Makefile
test/Makefile
+2
-1
No files found.
src/base/iobuf.cpp
View file @
83affd3c
// iobuf - A non-continuous zero-copied buffer
// Copyright (c) 2012 Baidu.com, Inc. All Rights Reserved
// Copyright (c) 2012 baidu-rpc authors.
//
// Licensed 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.
// Author: Ge,Jun (gejun@baidu.com)
// Date: Thu Nov 22 13:57:56 CST 2012
...
...
This diff is collapsed.
Click to expand it.
src/base/iobuf.h
View file @
83affd3c
// iobuf - A non-continuous zero-copied buffer
// Copyright (c) 2012 Baidu.com, Inc. All Rights Reserved
// Copyright (c) 2012 baidu-rpc authors.
//
// Licensed 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.
// Author: Ge,Jun (gejun@baidu.com)
// Date: Thu Nov 22 13:57:56 CST 2012
...
...
This diff is collapsed.
Click to expand it.
src/base/iobuf_inl.h
View file @
83affd3c
// iobuf - A non-continuous zero-copied buffer
// Copyright (c) 2012 Baidu.com, Inc. All Rights Reserved
// Copyright (c) 2012 baidu-rpc authors.
//
// Licensed 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.
// Author: Ge,Jun (gejun@baidu.com)
// Date: Thu Nov 22 13:57:56 CST 2012
...
...
This diff is collapsed.
Click to expand it.
test/Makefile
View file @
83affd3c
...
...
@@ -123,6 +123,7 @@ TEST_BASE_SOURCES = \
baidu_time_unittest.cpp
\
flat_map_unittest.cpp
\
crc32c_unittest.cc
\
iobuf_unittest.cc
\
multiprocess_func_list.cc
\
test_switches.cc
\
test_timeouts.cc
\
...
...
@@ -133,7 +134,7 @@ TEST_BASE_SOURCES = \
base_unittest_main.cpp
TEST_BASE_OBJS
=
$
(
addsuffix .o,
$
(
basename
$(TEST_BASE_SOURCES)
))
TEST_BASE_OBJS
=
iobuf.pb.o
$
(
addsuffix .o,
$
(
basename
$(TEST_BASE_SOURCES)
))
TEST_BVAR_SOURCES
=
$
(
wildcard bvar_
*
_unittest.cpp
)
TEST_BVAR_OBJS
=
$
(
addsuffix .o,
$
(
basename
$(TEST_BVAR_SOURCES)
))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment