mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
regenerate go/kt/js/ts
PiperOrigin-RevId: 822489795
This commit is contained in:
committed by
Copybara-Service
parent
8ca2312c61
commit
3499acbb7a
@@ -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)
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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
2
js/decode.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user