MCPcopy Index your code
hub / github.com/antlr/codebuff / fromLongBits

Method fromLongBits

output/java_guava/1.4.17/UnsignedLong.java:78–81  ·  view source on GitHub ↗

Returns an UnsignedLong corresponding to a given bit representation. The argument is interpreted as an unsigned 64-bit value. Specifically, the sign bit of bits is interpreted as a normal bit, and all other bits are treated as usual. If the argument is nonnegative, the returned r

(long bits)

Source from the content-addressed store, hash-verified

76
77
78 public static UnsignedLong fromLongBits(long bits) {
79 // TODO(lowasser): consider caching small values, like Long.valueOf
80 return new UnsignedLong(bits);
81 }
82
83 /**
84 * Returns an {@code UnsignedLong} representing the same value as the specified {@code long}.

Callers 6

valueOfMethod · 0.95
plusMethod · 0.95
minusMethod · 0.95
timesMethod · 0.95
dividedByMethod · 0.95
modMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected