Update dependencies

This commit is contained in:
bluepython508
2024-11-01 17:33:34 +00:00
parent 033ac0b400
commit 5cdfab398d
3596 changed files with 1033483 additions and 259 deletions

8
vendor/github.com/josharian/native/doc.go generated vendored Normal file
View File

@@ -0,0 +1,8 @@
// Package native provides easy access to native byte order.
//
// Usage: use native.Endian where you need the native binary.ByteOrder.
//
// Please think twice before using this package.
// It can break program portability.
// Native byte order is usually not the right answer.
package native

22
vendor/github.com/josharian/native/endian_generic.go generated vendored Normal file
View File

@@ -0,0 +1,22 @@
package native
import (
"encoding/binary"
"golang.org/x/sys/cpu"
)
var Endian binary.ByteOrder
// IsBigEndian records whether the GOARCH's byte order is big endian.
//
// Deprecated: use golang.org/x/sys/cpu.IsBigEndian instead, now that it exists.
const IsBigEndian = cpu.IsBigEndian
func init() {
if IsBigEndian {
Endian = binary.BigEndian
} else {
Endian = binary.LittleEndian
}
}

7
vendor/github.com/josharian/native/license generated vendored Normal file
View File

@@ -0,0 +1,7 @@
Copyright 2020 Josh Bleecher Snyder
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

12
vendor/github.com/josharian/native/readme.md generated vendored Normal file
View File

@@ -0,0 +1,12 @@
# native [![Go Reference](https://pkg.go.dev/badge/github.com/josharian/native.svg)](https://pkg.go.dev/github.com/josharian/native)
Package native provides easy access to native byte order.
`go get github.com/josharian/native`
Usage: Use `native.Endian` where you need the native binary.ByteOrder.
Please think twice before using this package.
It can break program portability.
Native byte order is usually not the right answer.