Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
48f72c22
Commit
48f72c22
authored
May 27, 2022
by
Abseil Team
Committed by
Copybara-Service
May 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos.
PiperOrigin-RevId: 451434783 Change-Id: I572e77a67e18e8dd530bf0347c76863c9bb1946f
parent
8cc2e341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
absl/strings/cord.h
+5
-5
No files found.
absl/strings/cord.h
View file @
48f72c22
...
...
@@ -289,7 +289,7 @@ class Cord {
// Cord::EstimatedMemoryUsage()
//
// Returns the *approximate* number of bytes held by this cord.
// See CordMemoryAccounting for more information on
accounting method use
d.
// See CordMemoryAccounting for more information on
the accounting metho
d.
size_t
EstimatedMemoryUsage
(
CordMemoryAccounting
accounting_method
=
CordMemoryAccounting
::
kTotal
)
const
;
...
...
@@ -341,7 +341,7 @@ class Cord {
//----------------------------------------------------------------------------
//
// A `Cord::ChunkIterator` allows iteration over the constituent chunks of its
// Cord. Such iteration allows you to perform non-const operatons on the data
// Cord. Such iteration allows you to perform non-const operat
i
ons on the data
// of a Cord without modifying it.
//
// Generally, you do not instantiate a `Cord::ChunkIterator` directly;
...
...
@@ -462,7 +462,7 @@ class Cord {
class
ChunkRange
{
public
:
// Fulfill minimum c++ container requirements [container.requirements]
// These
s
(partial) container type definitions allow ChunkRange to be used
// These (partial) container type definitions allow ChunkRange to be used
// in various utilities expecting a subset of [container.requirements].
// For example, the below enables using `::testing::ElementsAre(...)`
using
value_type
=
absl
::
string_view
;
...
...
@@ -596,7 +596,7 @@ class Cord {
// producing an iterator which can be used within a range-based for loop.
// Construction of a `CharRange` will return an iterator pointing to the first
// character of the Cord. Generally, do not construct a `CharRange` directly;
// instead, prefer to use the `Cord::Chars()` method show below.
// instead, prefer to use the `Cord::Chars()` method show
n
below.
//
// Implementation note: `CharRange` is simply a convenience wrapper over
// `Cord::char_begin()` and `Cord::char_end()`.
...
...
@@ -1500,7 +1500,7 @@ inline void Cord::ForEachChunk(
}
}
// Nonmember Cord-to-Cord relational opera
ra
tors.
// Nonmember Cord-to-Cord relational operators.
inline
bool
operator
==
(
const
Cord
&
lhs
,
const
Cord
&
rhs
)
{
if
(
lhs
.
contents_
.
IsSame
(
rhs
.
contents_
))
return
true
;
size_t
rhs_size
=
rhs
.
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