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

ivmai / libatomic_ops / 203
96%

Build:
DEFAULT BRANCH: master
Ran 11 May 2017 08:33AM UTC
Jobs 1
Files 18
Run time 2s
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

pending completion
203

push

travis-ci

ivmai
Eliminate 'value shift followed by expansion' false code defect warning

* src/atomic_ops.c [AO_USE_NANOSLEEP] (AO_pause): Use "L" suffix for
shifted immediate value (1) to match the type of ts.tv_nsec.
* src/atomic_ops.c [!AO_USE_NANOSLEEP && AO_USE_WIN32_PTHREADS]
(AO_pause): Cast shifted immediate value (1) to DWORD to match Sleep
argument type.
* src/atomic_ops.c [!AO_USE_NANOSLEEP && !AO_USE_WIN32_PTHREADS]
(AO_pause): Store computed usec value to an intermediate int variable
(before storing it to tv.tv_usec) so that to avoid widening conversion
of shifted immediate int value (1); add comment.

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

639 of 668 relevant lines covered (95.66%)

3606610.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/atomic_ops.c
Jobs
ID Job ID Ran Files Coverage
22 203.22 (CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE") 11 May 2017 08:33AM UTC 0
95.66
Travis Job 203.22
Source Files on build 203
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #203
  • 5f930945 on github
  • Prev Build on master (#202)
  • Next Build on master (#204)
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