Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-selector
Commits
098d67f8
Commit
098d67f8
authored
Jun 13, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PH min stats are 0 if there were no collision buckets.
parent
d7367746
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ph.c
src/ph.c
+4
-0
No files found.
src/ph.c
View file @
098d67f8
...
...
@@ -477,6 +477,10 @@ PH_Stats(const struct ph * const restrict ph,
((
double
)
nstrings
-
stats
->
h2strings_avg
)
/
(
double
)
stats
->
collisions
;
}
if
(
stats
->
h2buckets_min
==
UINT64_MAX
)
stats
->
h2buckets_min
=
0
;
if
(
stats
->
h2strings_min
==
UINT64_MAX
)
stats
->
h2strings_min
=
0
;
}
void
...
...
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