Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d68772d4
Commit
d68772d4
authored
Apr 24, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/{Foreign,Static}FifoBuffer: update API documentation
parent
52cb425e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ForeignFifoBuffer.hxx
src/util/ForeignFifoBuffer.hxx
+2
-2
StaticFifoBuffer.hxx
src/util/StaticFifoBuffer.hxx
+2
-2
No files found.
src/util/ForeignFifoBuffer.hxx
View file @
d68772d4
...
@@ -144,7 +144,7 @@ public:
...
@@ -144,7 +144,7 @@ public:
/**
/**
* Prepares writing. Returns a buffer range which may be written.
* Prepares writing. Returns a buffer range which may be written.
* When you are finished, call
a
ppend().
* When you are finished, call
A
ppend().
*/
*/
Range
Write
()
{
Range
Write
()
{
if
(
IsEmpty
())
if
(
IsEmpty
())
...
@@ -172,7 +172,7 @@ public:
...
@@ -172,7 +172,7 @@ public:
/**
/**
* Expands the tail of the buffer, after data has been written to
* Expands the tail of the buffer, after data has been written to
* the buffer returned by
w
rite().
* the buffer returned by
W
rite().
*/
*/
void
Append
(
size_type
n
)
{
void
Append
(
size_type
n
)
{
assert
(
tail
<=
capacity
);
assert
(
tail
<=
capacity
);
...
...
src/util/StaticFifoBuffer.hxx
View file @
d68772d4
...
@@ -88,7 +88,7 @@ public:
...
@@ -88,7 +88,7 @@ public:
/**
/**
* Prepares writing. Returns a buffer range which may be written.
* Prepares writing. Returns a buffer range which may be written.
* When you are finished, call
a
ppend().
* When you are finished, call
A
ppend().
*/
*/
Range
Write
()
{
Range
Write
()
{
if
(
IsEmpty
())
if
(
IsEmpty
())
...
@@ -101,7 +101,7 @@ public:
...
@@ -101,7 +101,7 @@ public:
/**
/**
* Expands the tail of the buffer, after data has been written to
* Expands the tail of the buffer, after data has been written to
* the buffer returned by
w
rite().
* the buffer returned by
W
rite().
*/
*/
void
Append
(
size_type
n
)
{
void
Append
(
size_type
n
)
{
assert
(
tail
<=
size
);
assert
(
tail
<=
size
);
...
...
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