• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

c-ares / c-ares / 10474323574
92%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2024 03:15PM UTC
Jobs 1
Files 169
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Aug 2024 03:05PM UTC coverage: 91.618% (+0.02%) from 91.596%
10474323574

push

github

bradh352
htable: FNV1a: honor offset basis

The FNV1a implementation used in the hashtable threw away the
algorithm's offset basis in preference of the seed value to
ensure different instances of the hashtable produced different
output for the same keys to prevent against hash collision
attacks.

Throwing away the offset basis completely could lead to some
non-uniformity, so instead we are now XORing the seed and the
algorithm-defined offset basis as the new offset basis to use
which should rectify this.

In the current c-ares use cases, this will probably have little
to no impact, but future hash table uses may benefit from the
better distribution.

Authored-By: Brad House (@bradh352)

2 of 2 new or added lines in 1 file covered. (100.0%)

20124 of 21965 relevant lines covered (91.62%)

12824.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10474323574.1 20 Aug 2024 03:15PM UTC 0
58.07
GitHub Action Run
Source Files on build 10474323574
Detailed source file information is not available for this build.
  • Back to Repo
  • 5b70955d on github
  • Prev Build on coverity_scan (#10461877788)
  • Next Build on main (#10474883409)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc