• Home
  • Raw
  • Download

Lines Matching refs:jspb

83         jspb.utils.joinUnsignedDecimalString(0x89e80001, 0x8ac72304);
86 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b);
89 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c);
92 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8);
96 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000);
99 result = jspb.utils.joinUnsignedDecimalString(0xFFFFFFFF, 0xFFFFFFFF);
105 result = jspb.utils.joinUnsignedDecimalString(low, 0);
112 result = jspb.utils.joinUnsignedDecimalString(0, high);
120 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00100000);
123 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00200000);
126 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00400000);
129 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00800000);
132 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x01000000);
135 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x02000000);
138 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x04000000);
141 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x08000000);
144 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x10000000);
147 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x20000000);
150 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x40000000);
153 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x80000000);
163 var convert = jspb.utils.hash64ToDecimalString;
190 result = jspb.utils.hash64ArrayToDecimalStrings([
205 var convert = jspb.utils.decimalStringToHash64;
241 var convert = jspb.utils.hash64ToHexString;
259 var convert = jspb.utils.hexStringToHash64;
287 var convert = jspb.utils.numberToHash64;
290 assertEquals('0x0000000000000000', jspb.utils.hash64ToHexString(result));
293 assertEquals('0x000fffffffffffff', jspb.utils.hash64ToHexString(result));
296 assertEquals('0x000123456789abcd', jspb.utils.hash64ToHexString(result));
299 assertEquals('0x000dcba987654321', jspb.utils.hash64ToHexString(result));
303 assertEquals('0x0010000000000001', jspb.utils.hash64ToHexString(result));
308 '0x0020000000000001', jspb.utils.hash64ToHexString(result));
341 var f32_eps = jspb.BinaryConstants.FLOAT32_EPS;
342 var f32_min = jspb.BinaryConstants.FLOAT32_MIN;
343 var f32_max = jspb.BinaryConstants.FLOAT32_MAX;
346 jspb.utils.splitFloat32(NaN);
347 if (!isNaN(jspb.utils.joinFloat32(jspb.utils.split64Low,
348 jspb.utils.split64High))) {
357 jspb.utils.splitFloat32(x);
359 if (opt_bits != jspb.utils.split64Low) throw 'fail!';
361 if (truncate(x) != jspb.utils.joinFloat32(jspb.utils.split64Low,
362 jspb.utils.split64High)) {
407 var f64_eps = jspb.BinaryConstants.FLOAT64_EPS;
408 var f64_min = jspb.BinaryConstants.FLOAT64_MIN;
409 var f64_max = jspb.BinaryConstants.FLOAT64_MAX;
412 jspb.utils.splitFloat64(NaN);
413 if (!isNaN(jspb.utils.joinFloat64(jspb.utils.split64Low,
414 jspb.utils.split64High))) {
424 jspb.utils.splitFloat64(x);
426 if (opt_highBits != jspb.utils.split64High) throw 'fail!';
429 if (opt_lowBits != jspb.utils.split64Low) throw 'fail!';
431 if (x != jspb.utils.joinFloat64(jspb.utils.split64Low,
432 jspb.utils.split64High)) {
482 var writer = new jspb.BinaryWriter();
490 jspb.utils.countVarints(buffer, 0, buffer.length));
498 var writer = new jspb.BinaryWriter();
509 jspb.utils.countVarintFields(buffer, 0, buffer.length, 1));
511 writer = new jspb.BinaryWriter();
522 jspb.utils.countVarintFields(buffer, 0, buffer.length, 123456789));
530 var writer = new jspb.BinaryWriter();
541 jspb.utils.countFixed32Fields(buffer, 0, buffer.length, 1));
543 writer = new jspb.BinaryWriter();
554 jspb.utils.countFixed32Fields(buffer, 0, buffer.length, 123456789));
562 var writer = new jspb.BinaryWriter();
573 jspb.utils.countFixed64Fields(buffer, 0, buffer.length, 1));
575 writer = new jspb.BinaryWriter();
586 jspb.utils.countFixed64Fields(buffer, 0, buffer.length, 123456789));
594 var writer = new jspb.BinaryWriter();
605 jspb.utils.countDelimitedFields(buffer, 0, buffer.length, 1));
607 writer = new jspb.BinaryWriter();
618 jspb.utils.countDelimitedFields(buffer, 0, buffer.length, 123456789));
626 assertEquals('""', jspb.utils.debugBytesToTextFormat(null));
628 jspb.utils.debugBytesToTextFormat([0, 16, 255]));
636 var convert = jspb.utils.byteSourceToUint8Array;