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

hamba / avro / 13057432127
95%

Build:
DEFAULT BRANCH: main
Ran 30 Jan 2025 05:07PM UTC
Jobs 2
Files 38
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

30 Jan 2025 05:06PM UTC coverage: 96.117% (+0.04%) from 96.076%
13057432127

push

github

web-flow
feat: add CRC64-AVRO-LE fingerprint type (#491)

The Avro specification details a Single Object Encoding using a header
to associate a schema ID with an Avro payload. The ID is defined as the
CRC64 fingerprint in little-endian encoding.

The pkg/crc64 module only provides big-endian CRC64, and the CRC64-AVRO
fingerprint type is implemented as such. The specification does not
detail endianness of the CRC64-AVRO fingerprint itself (only when
embedded in an SOE header).

To avoid breaking existing CRC64-AVRO fingerprints, add a new
fingerprint type CRC64-AVRO-LE, identical to CRC64-AVRO except
little-endian.

Add NewWithByteOrder and SumWithByteOrder top-level functions to crc64
so users can configure the hasher to use a specific byte order.

Add tests and benchmarks for the SumWithByteOrder function.

Fixes #489.

Co-authored-by: Nicholas Wiersma <nick@wiersma.co.za>

40 of 46 new or added lines in 2 files covered. (86.96%)

5817 of 6052 relevant lines covered (96.12%)

316.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
91.67
7.67% pkg/crc64/crc64.go
Jobs
ID Job ID Ran Files Coverage
1 13057432127.1 30 Jan 2025 05:07PM UTC 38
96.12
GitHub Action Run
2 13057432127.2 30 Jan 2025 05:07PM UTC 38
96.12
GitHub Action Run
Source Files on build 13057432127
  • Tree
  • List 38
  • Changed 12
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13057432127
  • e9a408d8 on github
  • Prev Build on main (#12995288515)
  • Next Build on main (#13161850958)
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