regenerate go/kt/js/ts

PiperOrigin-RevId: 822489795
This commit is contained in:
Evgenii Kliuchnikov
2025-10-22 02:16:12 -07:00
committed by Copybara-Service
parent 8ca2312c61
commit 3499acbb7a
5 changed files with 9 additions and 9 deletions

View File

@@ -1879,8 +1879,8 @@ func copyRawBytes(s *_State, data []int8, offset int32, length int32) int32 {
} }
for len > 0 { for len > 0 {
var chunkLen int32 = readInput(s, data, pos, len) var chunkLen int32 = readInput(s, data, pos, len)
if len < -1 { if chunkLen < -1 {
return len return chunkLen
} }
if chunkLen <= 0 { if chunkLen <= 0 {
return makeError(s, -16) return makeError(s, -16)

View File

@@ -1706,8 +1706,8 @@ internal fun copyRawBytes(s: State, data: ByteArray, offset: Int, length: Int):
} }
while (len > 0) { while (len > 0) {
val chunkLen: Int = readInput(s, data, pos, len); val chunkLen: Int = readInput(s, data, pos, len);
if (len < -1) { if (chunkLen < -1) {
return len; return chunkLen;
} }
if (chunkLen <= 0) { if (chunkLen <= 0) {
return makeError(s, -16); return makeError(s, -16);

View File

@@ -2026,8 +2026,8 @@ let makeBrotliDecode = () => {
} }
while (len > 0) { while (len > 0) {
const /** @type {number} */ chunkLen = readInput(s, data, pos, len); const /** @type {number} */ chunkLen = readInput(s, data, pos, len);
if (len < -1) { if (chunkLen < -1) {
return len; return chunkLen;
} }
if (chunkLen <= 0) { if (chunkLen <= 0) {
return makeError(s, -16); return makeError(s, -16);

2
js/decode.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1697,8 +1697,8 @@ function copyRawBytes(s: State, data: Int8Array, offset: number, length: number)
} }
while (len > 0) { while (len > 0) {
const chunkLen: number = readInput(s, data, pos, len); const chunkLen: number = readInput(s, data, pos, len);
if (len < -1) { if (chunkLen < -1) {
return len; return chunkLen;
} }
if (chunkLen <= 0) { if (chunkLen <= 0) {
return makeError(s, -16); return makeError(s, -16);