File tree Expand file tree Collapse file tree 1 file changed +24
-12
lines changed
shared/src/main/scala/com/google/protobuf Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,8 @@ class CodedInputStream private (buffer: Array[Byte], input: InputStream) {
308308 (({
309309 x = buffer(({
310310 pos += 1 ; pos - 1
311- })); x
311+ }));
312+ x
312313 })) >= 0
313314 ) {
314315 bufferPos = pos
@@ -319,23 +320,26 @@ class CodedInputStream private (buffer: Array[Byte], input: InputStream) {
319320 (({
320321 x ^= (buffer(({
321322 pos += 1 ; pos - 1
322- })) << 7 ); x
323+ })) << 7 );
324+ x
323325 })) < 0
324326 ) {
325327 x ^= (~ 0 << 7 )
326328 } else if (
327329 (({
328330 x ^= (buffer(({
329331 pos += 1 ; pos - 1
330- })) << 14 ); x
332+ })) << 14 );
333+ x
331334 })) >= 0
332335 ) {
333336 x ^= (~ 0 << 7 ) ^ (~ 0 << 14 )
334337 } else if (
335338 (({
336339 x ^= (buffer(({
337340 pos += 1 ; pos - 1
338- })) << 21 ); x
341+ })) << 21 );
342+ x
339343 })) < 0
340344 ) {
341345 x ^= (~ 0 << 7 ) ^ (~ 0 << 14 ) ^ (~ 0 << 21 )
@@ -557,7 +561,8 @@ class CodedInputStream private (buffer: Array[Byte], input: InputStream) {
557561 (({
558562 y = buffer(({
559563 pos += 1 ; pos - 1
560- })); y
564+ }));
565+ y
561566 })) >= 0
562567 ) {
563568 bufferPos = pos
@@ -568,55 +573,62 @@ class CodedInputStream private (buffer: Array[Byte], input: InputStream) {
568573 (({
569574 y ^= (buffer(({
570575 pos += 1 ; pos - 1
571- })) << 7 ); y
576+ })) << 7 );
577+ y
572578 })) < 0
573579 ) {
574580 x = y ^ (~ 0 << 7 )
575581 } else if (
576582 (({
577583 y ^= (buffer(({
578584 pos += 1 ; pos - 1
579- })) << 14 ); y
585+ })) << 14 );
586+ y
580587 })) >= 0
581588 ) {
582589 x = y ^ ((~ 0 << 7 ) ^ (~ 0 << 14 ))
583590 } else if (
584591 (({
585592 y ^= (buffer(({
586593 pos += 1 ; pos - 1
587- })) << 21 ); y
594+ })) << 21 );
595+ y
588596 })) < 0
589597 ) {
590598 x = y ^ ((~ 0 << 7 ) ^ (~ 0 << 14 ) ^ (~ 0 << 21 ))
591599 } else if (
592600 (({
593601 x = (y.toLong) ^ (buffer(({
594602 pos += 1 ; pos - 1
595- })).toLong << 28 ); x
603+ })).toLong << 28 );
604+ x
596605 })) >= 0L
597606 ) {
598607 x ^= (~ 0L << 7 ) ^ (~ 0L << 14 ) ^ (~ 0L << 21 ) ^ (~ 0L << 28 )
599608 } else if (
600609 (({
601610 x ^= (buffer(({
602611 pos += 1 ; pos - 1
603- })).toLong << 35 ); x
612+ })).toLong << 35 );
613+ x
604614 })) < 0L
605615 ) {
606616 x ^= (~ 0L << 7 ) ^ (~ 0L << 14 ) ^ (~ 0L << 21 ) ^ (~ 0L << 28 ) ^ (~ 0L << 35 )
607617 } else if (
608618 (({
609619 x ^= (buffer(({
610620 pos += 1 ; pos - 1
611- })).toLong << 42 ); x
621+ })).toLong << 42 );
622+ x
612623 })) >= 0L
613624 ) {
614625 x ^= (~ 0L << 7 ) ^ (~ 0L << 14 ) ^ (~ 0L << 21 ) ^ (~ 0L << 28 ) ^ (~ 0L << 35 ) ^ (~ 0L << 42 )
615626 } else if (
616627 (({
617628 x ^= (buffer(({
618629 pos += 1 ; pos - 1
619- })).toLong << 49 ); x
630+ })).toLong << 49 );
631+ x
620632 })) < 0L
621633 ) {
622634 x ^= (~ 0L << 7 ) ^ (~ 0L << 14 ) ^ (~ 0L << 21 ) ^ (~ 0L << 28 ) ^ (~ 0L << 35 ) ^ (~ 0L << 42 ) ^ (~ 0L << 49 )
You can’t perform that action at this time.
0 commit comments