Skip to content

Commit c390c4a

Browse files
eustascopybara-github
authored andcommitted
regenerate go/kt/js/ts
PiperOrigin-RevId: 822468582
1 parent 8ca2312 commit c390c4a

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

go/brotli/decode.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,8 +1879,8 @@ func copyRawBytes(s *_State, data []int8, offset int32, length int32) int32 {
18791879
}
18801880
for len > 0 {
18811881
var chunkLen int32 = readInput(s, data, pos, len)
1882-
if len < -1 {
1883-
return len
1882+
if chunkLen < -1 {
1883+
return chunkLen
18841884
}
18851885
if chunkLen <= 0 {
18861886
return makeError(s, -16)

java/org/brotli/dec/kt/Decode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,8 +1706,8 @@ internal fun copyRawBytes(s: State, data: ByteArray, offset: Int, length: Int):
17061706
}
17071707
while (len > 0) {
17081708
val chunkLen: Int = readInput(s, data, pos, len);
1709-
if (len < -1) {
1710-
return len;
1709+
if (chunkLen < -1) {
1710+
return chunkLen;
17111711
}
17121712
if (chunkLen <= 0) {
17131713
return makeError(s, -16);

js/decode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,8 +2026,8 @@ let makeBrotliDecode = () => {
20262026
}
20272027
while (len > 0) {
20282028
const /** @type {number} */ chunkLen = readInput(s, data, pos, len);
2029-
if (len < -1) {
2030-
return len;
2029+
if (chunkLen < -1) {
2030+
return chunkLen;
20312031
}
20322032
if (chunkLen <= 0) {
20332033
return makeError(s, -16);

js/decode.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/decode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,8 +1697,8 @@ function copyRawBytes(s: State, data: Int8Array, offset: number, length: number)
16971697
}
16981698
while (len > 0) {
16991699
const chunkLen: number = readInput(s, data, pos, len);
1700-
if (len < -1) {
1701-
return len;
1700+
if (chunkLen < -1) {
1701+
return chunkLen;
17021702
}
17031703
if (chunkLen <= 0) {
17041704
return makeError(s, -16);

0 commit comments

Comments
 (0)