mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vendor: upgrade github.com/valyala/gozstd from v1.7.1 to v1.8.3
This commit is contained in:
parent
7be9bedaf9
commit
7615a3ab8d
5 changed files with 6 additions and 8 deletions
4
go.mod
4
go.mod
|
@ -17,9 +17,7 @@ require (
|
||||||
github.com/valyala/fastjson v1.5.4
|
github.com/valyala/fastjson v1.5.4
|
||||||
github.com/valyala/fastrand v1.0.0
|
github.com/valyala/fastrand v1.0.0
|
||||||
github.com/valyala/fasttemplate v1.2.1
|
github.com/valyala/fasttemplate v1.2.1
|
||||||
|
github.com/valyala/gozstd v1.8.3
|
||||||
// Do not upgrade gozstd version until https://github.com/facebook/zstd/issues/2222 is fixed
|
|
||||||
github.com/valyala/gozstd v1.7.1
|
|
||||||
github.com/valyala/histogram v1.1.2
|
github.com/valyala/histogram v1.1.2
|
||||||
github.com/valyala/quicktemplate v1.6.2
|
github.com/valyala/quicktemplate v1.6.2
|
||||||
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc // indirect
|
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc // indirect
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -172,8 +172,8 @@ github.com/valyala/fastrand v1.0.0 h1:LUKT9aKer2dVQNUi3waewTbKV+7H17kvWFNKs2Obdk
|
||||||
github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ=
|
github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ=
|
||||||
github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=
|
github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=
|
||||||
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
|
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
|
||||||
github.com/valyala/gozstd v1.7.1 h1:2zWgJWU1859UbFoUnheDXnIK35MjPjFmMFhQYFz8brA=
|
github.com/valyala/gozstd v1.8.3 h1:nHlS+sCFoNLsZpRPKDviXkhHybaRSUjH2w0P/myYo0I=
|
||||||
github.com/valyala/gozstd v1.7.1/go.mod h1:y5Ew47GLlP37EkTB+B4s7r6A5rdaeB7ftbl9zoYiIPQ=
|
github.com/valyala/gozstd v1.8.3/go.mod h1:y5Ew47GLlP37EkTB+B4s7r6A5rdaeB7ftbl9zoYiIPQ=
|
||||||
github.com/valyala/histogram v1.1.2 h1:vOk5VrGjMBIoPR5k6wA8vBaC8toeJ8XO0yfRjFEc1h8=
|
github.com/valyala/histogram v1.1.2 h1:vOk5VrGjMBIoPR5k6wA8vBaC8toeJ8XO0yfRjFEc1h8=
|
||||||
github.com/valyala/histogram v1.1.2/go.mod h1:CZAr6gK9dbD7hYx2s8WSPh0p5x5wETjC+2b3PJVtEdg=
|
github.com/valyala/histogram v1.1.2/go.mod h1:CZAr6gK9dbD7hYx2s8WSPh0p5x5wETjC+2b3PJVtEdg=
|
||||||
github.com/valyala/quicktemplate v1.6.2 h1:k0vgK7zlmFzqAoIBIOrhrfmZ6JoTGJlLRPLbkPGr2/M=
|
github.com/valyala/quicktemplate v1.6.2 h1:k0vgK7zlmFzqAoIBIOrhrfmZ6JoTGJlLRPLbkPGr2/M=
|
||||||
|
|
2
vendor/github.com/valyala/gozstd/.travis.yml
generated
vendored
2
vendor/github.com/valyala/gozstd/.travis.yml
generated
vendored
|
@ -6,7 +6,7 @@ os:
|
||||||
- freebsd
|
- freebsd
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.12
|
- 1.14
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build test for supported platforms
|
# build test for supported platforms
|
||||||
|
|
2
vendor/github.com/valyala/gozstd/gozstd.go
generated
vendored
2
vendor/github.com/valyala/gozstd/gozstd.go
generated
vendored
|
@ -242,7 +242,7 @@ func decompress(dctx, dctxDict *dctxWrapper, dst, src []byte, dd *DDict) ([]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
dstLen := len(dst)
|
dstLen := len(dst)
|
||||||
if cap(dst) > dstLen {
|
if cap(dst)-dstLen >= len(src) {
|
||||||
// Fast path - try decompressing without dst resize.
|
// Fast path - try decompressing without dst resize.
|
||||||
result := decompressInternal(dctx, dctxDict, dst[dstLen:cap(dst)], src, dd)
|
result := decompressInternal(dctx, dctxDict, dst[dstLen:cap(dst)], src, dd)
|
||||||
decompressedSize := int(result)
|
decompressedSize := int(result)
|
||||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -106,7 +106,7 @@ github.com/valyala/fastjson/fastfloat
|
||||||
github.com/valyala/fastrand
|
github.com/valyala/fastrand
|
||||||
# github.com/valyala/fasttemplate v1.2.1
|
# github.com/valyala/fasttemplate v1.2.1
|
||||||
github.com/valyala/fasttemplate
|
github.com/valyala/fasttemplate
|
||||||
# github.com/valyala/gozstd v1.7.1
|
# github.com/valyala/gozstd v1.8.3
|
||||||
github.com/valyala/gozstd
|
github.com/valyala/gozstd
|
||||||
# github.com/valyala/histogram v1.1.2
|
# github.com/valyala/histogram v1.1.2
|
||||||
github.com/valyala/histogram
|
github.com/valyala/histogram
|
||||||
|
|
Loading…
Reference in a new issue