Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(60)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: net/spdy/hpack_string_util.cc
Issue
138243003
:
Implement basic classes for HPACK (HTTP/2 compression) (Closed)
Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And removing tabs from net.gyp...
Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
net/net.gyp
net/spdy/hpack_encoding_context.h
net/spdy/hpack_encoding_context.cc
net/spdy/hpack_encoding_context_test.cc
net/spdy/hpack_entry.h
net/spdy/hpack_entry.cc
net/spdy/hpack_entry_test.cc
net/spdy/hpack_header_table.h
net/spdy/hpack_header_table.cc
net/spdy/hpack_header_table_test.cc
net/spdy/hpack_string_util.h
net/spdy/hpack_string_util.cc
net/spdy/hpack_string_util_test.cc
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« net/spdy/hpack_string_util.h
('k') |
net/spdy/hpack_string_util_test.cc »
('j') |
net/spdy/hpack_string_util_test.cc »
('J')
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
#include "net/spdy/hpack_string_util.h"
2
3
#include "base/basictypes.h"
4
5
namespace net {
6
7
bool StringPiecesEqualConstantTime(base::StringPiece str1,
8
base::StringPiece str2) {
9
size_t size = str1.size();
10
if (str2.size() != size)
11
return false;
12
13
uint8 x = 0;
14
for (size_t i = 0; i < size; ++i) {
15
x |= str1[i] ^ str2[i];
16
}
17
return x == 0;
18
}
19
20
} // namespace net
OLD
NEW
« no previous file with comments
|
« net/spdy/hpack_string_util.h
('k') |
net/spdy/hpack_string_util_test.cc »
('j') |
net/spdy/hpack_string_util_test.cc »
('J')
Issue 138243003: Implement basic classes for HPACK (HTTP/2 compression) (Closed)
Created 6 years, 11 months ago by Johnny
Modified 6 years, 11 months ago
Reviewers: akalin
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 2
This is Rietveld
408576698