Lines Matching refs:signed
87 * Splits a signed Javascript integer into two 32-bit halves and stores it in
120 * Converts a signed Javascript integer into zigzag format, splits it into two
321 * Joins two 32-bit values into a 64-bit signed integer. Precision will be lost
568 * Losslessly converts a 64-bit signed integer in 32:32 split representation
575 // If we're treating the input as a signed value and the high bit is set, do
590 * Convert an 8-character hash string representing either a signed or unsigned
593 * @param {boolean} signed True if we should treat the hash string as encoding
594 * a signed integer.
597 jspb.utils.hash64ToDecimalString = function(hash, signed) {
601 return signed ?
611 * @param {boolean} signed True if we should treat the hash string as encoding
612 * a signed integer.
615 jspb.utils.hash64ArrayToDecimalStrings = function(hashes, signed) {
618 result[i] = jspb.utils.hash64ToDecimalString(hashes[i], signed);
625 * Converts a signed or unsigned decimal string into its hash string
675 * Converts a signed or unsigned decimal string into two 32-bit halves, and
750 * Convert an 8-character hash string representing either a signed or unsigned
754 * @param {boolean} signed True if the has should be interpreted as a signed
758 jspb.utils.hash64ToNumber = function(hash, signed) {
762 return signed ? jspb.utils.joinInt64(bitsLow, bitsHigh) :