Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
6f4923da
Commit
6f4923da
authored
8 years ago
by
kaldoran
Committed by
Adrien Béraud
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dht: fix some typo
parent
ae26a2b3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/indexation/pht.h
+4
-4
4 additions, 4 deletions
include/opendht/indexation/pht.h
with
4 additions
and
4 deletions
include/opendht/indexation/pht.h
+
4
−
4
View file @
6f4923da
...
...
@@ -258,8 +258,8 @@ private:
* @param done_cb : Callback to call when the insert is done
*/
void
insert
(
Prefix
kp
,
IndexEntry
entry
,
std
::
shared_ptr
<
int
>
lo
,
std
::
shared_ptr
<
int
>
hi
,
time_point
time_p
,
bool
check_split
,
DoneCallbackSimple
done_cb
=
{});
void
insert
(
Prefix
kp
,
IndexEntry
entry
,
std
::
shared_ptr
<
int
>
lo
,
std
::
shared_ptr
<
int
>
hi
,
time_point
time_p
,
bool
check_split
,
DoneCallbackSimple
done_cb
=
{});
class
Cache
{
public:
...
...
@@ -301,7 +301,7 @@ private:
};
/* Callback used for insert value by using the pht */
using
RealInsertCallback
=
std
::
function
<
void
(
std
::
shared_ptr
<
Prefix
>
p
,
IndexEntry
entry
)
>
;
using
RealInsertCallback
=
std
::
function
<
void
(
std
::
shared_ptr
<
Prefix
>
p
,
IndexEntry
entry
)
>
;
using
LookupCallbackWrapper
=
std
::
function
<
void
(
std
::
vector
<
std
::
shared_ptr
<
IndexEntry
>>&
values
,
Prefix
p
)
>
;
/**
...
...
@@ -378,7 +378,7 @@ private:
* @param entry : Entry to put on the pht
* @param end_cb : Callback to apply to the insert prefi (here does the insert)
*/
void
split
(
Prefix
insert
,
std
::
shared_ptr
<
std
::
vector
<
std
::
shared_ptr
<
IndexEntry
>>>
vals
,
IndexEntry
entry
,
RealInsertCallback
end_cb
);
void
split
(
Prefix
insert
,
std
::
shared_ptr
<
std
::
vector
<
std
::
shared_ptr
<
IndexEntry
>>>
vals
,
IndexEntry
entry
,
RealInsertCallback
end_cb
);
/**
* Tells if the key is valid according to the key spec.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment