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

c-ares / c-ares / 10474323574 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2024 03:15PM UTC
Files 892
Run time 1min
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: 58.069% (+0.01%) from 58.056%
10474323574.1

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)

21792 of 37528 relevant lines covered (58.07%)

7506.2 hits per line

Source Files on job 10474323574.1
  • Tree
  • List 0
  • Changed 95
  • Source Changed 0
  • Coverage Changed 53
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10474323574
  • 5b70955d on github
  • Prev Job for on main (#10461877788.1)
  • Next Job for on main (#10474883409.1)
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