lib/logstash/inputs/ganglia/xdr.rb
# A signed 64-bit integer, big-endian
A signed 64-bit integer, big-endian
A signed 64 - bit integer big - endian
def int64(val)
            raise ArgumentError, "int64() requires an Integer argument" \
                unless val.is_a?(Integer)
            raise RangeError, "argument to int64() must be in the range " +
                             "-2**63 <= arg <= 2**63-1" \
                unless val >= -2**63 && val <= 2**63-1
            val += 2**64 if val < 0;
            self.uint64(val)
        end
def int64 ( val ) raise ArgumentError , "int64() requires an Integer argument" unless val . is_a? ( Integer ) raise RangeError , "argument to int64() must be in the range " + "-2**63 <= arg <= 2**63-1" unless val >= - 2 ** 63 && val <= 2 ** 63 - 1 val += 2 ** 64 if val < 0 ; self . uint64 ( val ) end
A signed 64-bit integer, big-endian
A signed 64 - bit integer big - endian
# Convert val to an unsigned equivalent
val
<not_specific>