mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 08:02:26 -05:00
[chore]: Bump github.com/gin-contrib/gzip from 1.1.0 to 1.2.2 (#3693)
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.1.0 to 1.2.2. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.1.0...v1.2.2) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
2a46681147
commit
5c96702cb5
80 changed files with 5055 additions and 114881 deletions
6
vendor/github.com/bytedance/sonic/internal/optcaching/fcache.go
generated
vendored
6
vendor/github.com/bytedance/sonic/internal/optcaching/fcache.go
generated
vendored
|
|
@ -84,7 +84,7 @@ func NewSmallFieldMap (hint int) *SmallFieldMap {
|
|||
|
||||
func (self *SmallFieldMap) Set(fields []resolver.FieldMeta) {
|
||||
if len(fields) > 8 {
|
||||
panic("small field map shoud use in small struct")
|
||||
panic("small field map should use in small struct")
|
||||
}
|
||||
|
||||
for i, f := range fields {
|
||||
|
|
@ -254,7 +254,7 @@ type keysInfo struct {
|
|||
|
||||
func (self *NormalFieldMap) Set(fields []resolver.FieldMeta) {
|
||||
if len(fields) <=8 || len(fields) > 128 {
|
||||
panic("normal field map shoud use in small struct")
|
||||
panic("normal field map should use in small struct")
|
||||
}
|
||||
|
||||
// allocate the flat map in []byte
|
||||
|
|
@ -278,7 +278,7 @@ func (self *NormalFieldMap) Set(fields []resolver.FieldMeta) {
|
|||
|
||||
}
|
||||
|
||||
// add a padding size at last to make it firendly for SIMD.
|
||||
// add a padding size at last to make it friendly for SIMD.
|
||||
self.keys = make([]byte, _HdrSize + 2 * kvLen, _HdrSize + 2 * kvLen + _PaddingSize)
|
||||
self.lowOffset = _HdrSize + kvLen
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue