Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
759fed8e
Commit
759fed8e
authored
Dec 24, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: meaningless inline specified on function declarations
Solution: remove them
parent
f8f79137
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
radix_tree.hpp
src/radix_tree.hpp
+18
-19
No files found.
src/radix_tree.hpp
View file @
759fed8e
...
...
@@ -67,24 +67,23 @@ struct node_t
bool
operator
==
(
node_t
other_
)
const
;
bool
operator
!=
(
node_t
other_
)
const
;
inline
uint32_t
refcount
();
inline
uint32_t
prefix_length
();
inline
uint32_t
edgecount
();
inline
unsigned
char
*
prefix
();
inline
unsigned
char
*
first_bytes
();
inline
unsigned
char
first_byte_at
(
size_t
index_
);
inline
unsigned
char
*
node_pointers
();
inline
node_t
node_at
(
size_t
index_
);
inline
void
set_refcount
(
uint32_t
value_
);
inline
void
set_prefix_length
(
uint32_t
value_
);
inline
void
set_edgecount
(
uint32_t
value_
);
inline
void
set_prefix
(
const
unsigned
char
*
bytes_
);
inline
void
set_first_bytes
(
const
unsigned
char
*
bytes_
);
inline
void
set_first_byte_at
(
size_t
index_
,
unsigned
char
byte_
);
inline
void
set_node_pointers
(
const
unsigned
char
*
pointers_
);
inline
void
set_node_at
(
size_t
index_
,
node_t
node_
);
inline
void
set_edge_at
(
size_t
index_
,
unsigned
char
first_byte_
,
node_t
node_
);
uint32_t
refcount
();
uint32_t
prefix_length
();
uint32_t
edgecount
();
unsigned
char
*
prefix
();
unsigned
char
*
first_bytes
();
unsigned
char
first_byte_at
(
size_t
index_
);
unsigned
char
*
node_pointers
();
node_t
node_at
(
size_t
index_
);
void
set_refcount
(
uint32_t
value_
);
void
set_prefix_length
(
uint32_t
value_
);
void
set_edgecount
(
uint32_t
value_
);
void
set_prefix
(
const
unsigned
char
*
bytes_
);
void
set_first_bytes
(
const
unsigned
char
*
bytes_
);
void
set_first_byte_at
(
size_t
index_
,
unsigned
char
byte_
);
void
set_node_pointers
(
const
unsigned
char
*
pointers_
);
void
set_node_at
(
size_t
index_
,
node_t
node_
);
void
set_edge_at
(
size_t
index_
,
unsigned
char
first_byte_
,
node_t
node_
);
void
resize
(
size_t
prefix_length_
,
size_t
edgecount_
);
unsigned
char
*
_data
;
...
...
@@ -137,7 +136,7 @@ class radix_tree_t
size_t
size
()
const
;
private
:
inline
match_result_t
match_result_t
match
(
const
unsigned
char
*
key_
,
size_t
key_size_
,
bool
is_lookup_
)
const
;
node_t
_root
;
...
...
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