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

alexvoronov / geonetworking / 180
50%
master: 50%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 19 Jun 2019 09:54AM UTC
Jobs 1
Files 128
Run time 17s
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
180

Pull #56

travis-ci

web-flow
Get Lifetime from byte

Problem Binary right shift in Java

Replicate Problem

If for example the value is 0xF3 (binary 11110011) to represent (Multiplier: 60, Base:3)

Then (11110011 >> 2) will produce 11111100
But if ((11110011 >> 2)& 0b0011_1111) will produce 00111100 (decimal 60)
Other solution is to use >>>

Java and right shift.

* >> (Signed right shift) 
* >>> (Unsigned right shift) 

Reference

* https://docs.oracle.com/javase/tutorial/java/nutsandbolts/op3.html
* https://www.vojtechruzicka.com/bit-manipulation-java-bitwise-bit-shift-operations/
Pull Request #56: Binary right shift Bug on get Lifetime fromByte

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

2640 of 5256 relevant lines covered (50.23%)

2272.74 hits per line

Jobs
ID Job ID Ran Files Coverage
2 180.2 19 Jun 2019 09:54AM UTC 0
50.23
Travis Job 180.2
Source Files on build 180
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #180
  • Pull Request #56
  • PR Base - master (#179)
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