mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
fix(deps): update module golang.org/x/tools to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@ -6,7 +6,7 @@ require (
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2
|
||||
github.com/onsi/ginkgo/v2 v2.12.0
|
||||
github.com/vbatts/git-validation v1.2.0
|
||||
golang.org/x/tools v0.12.0
|
||||
golang.org/x/tools v0.13.0
|
||||
)
|
||||
|
||||
require (
|
||||
@ -16,5 +16,5 @@ require (
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/sirupsen/logrus v1.8.1 // indirect
|
||||
golang.org/x/mod v0.12.0 // indirect
|
||||
golang.org/x/sys v0.11.0 // indirect
|
||||
golang.org/x/sys v0.12.0 // indirect
|
||||
)
|
||||
|
@ -35,15 +35,15 @@ github.com/vbatts/git-validation v1.2.0 h1:IrPrZ8NRvI3kN6XfFVA6tqsByS6yImqmMiv0j
|
||||
github.com/vbatts/git-validation v1.2.0/go.mod h1:3TVljc5dpnsCnENsoayGa30TRhvxHnHdFmMgfeV6ee0=
|
||||
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
|
||||
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
|
||||
golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8=
|
||||
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210511113859-b0526f3d8744/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
|
||||
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
|
||||
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
|
||||
golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss=
|
||||
golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM=
|
||||
golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ=
|
||||
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
|
||||
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
1
test/tools/vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
1
test/tools/vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
@ -583,6 +583,7 @@ ccflags="$@"
|
||||
$2 ~ /^PERF_/ ||
|
||||
$2 ~ /^SECCOMP_MODE_/ ||
|
||||
$2 ~ /^SEEK_/ ||
|
||||
$2 ~ /^SCHED_/ ||
|
||||
$2 ~ /^SPLICE_/ ||
|
||||
$2 ~ /^SYNC_FILE_RANGE_/ ||
|
||||
$2 !~ /IOC_MAGIC/ &&
|
||||
|
23
test/tools/vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
23
test/tools/vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
@ -2471,6 +2471,29 @@ func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *
|
||||
return pselect6(nfd, r, w, e, mutableTimeout, kernelMask)
|
||||
}
|
||||
|
||||
//sys schedSetattr(pid int, attr *SchedAttr, flags uint) (err error)
|
||||
//sys schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error)
|
||||
|
||||
// SchedSetAttr is a wrapper for sched_setattr(2) syscall.
|
||||
// https://man7.org/linux/man-pages/man2/sched_setattr.2.html
|
||||
func SchedSetAttr(pid int, attr *SchedAttr, flags uint) error {
|
||||
if attr == nil {
|
||||
return EINVAL
|
||||
}
|
||||
attr.Size = SizeofSchedAttr
|
||||
return schedSetattr(pid, attr, flags)
|
||||
}
|
||||
|
||||
// SchedGetAttr is a wrapper for sched_getattr(2) syscall.
|
||||
// https://man7.org/linux/man-pages/man2/sched_getattr.2.html
|
||||
func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) {
|
||||
attr := &SchedAttr{}
|
||||
if err := schedGetattr(pid, attr, SizeofSchedAttr, flags); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return attr, nil
|
||||
}
|
||||
|
||||
/*
|
||||
* Unimplemented
|
||||
*/
|
||||
|
3
test/tools/vendor/golang.org/x/sys/unix/syscall_unix.go
generated
vendored
3
test/tools/vendor/golang.org/x/sys/unix/syscall_unix.go
generated
vendored
@ -549,6 +549,9 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if (flag&O_NONBLOCK != 0) == nonblocking {
|
||||
return nil
|
||||
}
|
||||
if nonblocking {
|
||||
flag |= O_NONBLOCK
|
||||
} else {
|
||||
|
17
test/tools/vendor/golang.org/x/sys/unix/zerrors_linux.go
generated
vendored
17
test/tools/vendor/golang.org/x/sys/unix/zerrors_linux.go
generated
vendored
@ -2821,6 +2821,23 @@ const (
|
||||
RWF_SUPPORTED = 0x1f
|
||||
RWF_SYNC = 0x4
|
||||
RWF_WRITE_LIFE_NOT_SET = 0x0
|
||||
SCHED_BATCH = 0x3
|
||||
SCHED_DEADLINE = 0x6
|
||||
SCHED_FIFO = 0x1
|
||||
SCHED_FLAG_ALL = 0x7f
|
||||
SCHED_FLAG_DL_OVERRUN = 0x4
|
||||
SCHED_FLAG_KEEP_ALL = 0x18
|
||||
SCHED_FLAG_KEEP_PARAMS = 0x10
|
||||
SCHED_FLAG_KEEP_POLICY = 0x8
|
||||
SCHED_FLAG_RECLAIM = 0x2
|
||||
SCHED_FLAG_RESET_ON_FORK = 0x1
|
||||
SCHED_FLAG_UTIL_CLAMP = 0x60
|
||||
SCHED_FLAG_UTIL_CLAMP_MAX = 0x40
|
||||
SCHED_FLAG_UTIL_CLAMP_MIN = 0x20
|
||||
SCHED_IDLE = 0x5
|
||||
SCHED_NORMAL = 0x0
|
||||
SCHED_RESET_ON_FORK = 0x40000000
|
||||
SCHED_RR = 0x2
|
||||
SCM_CREDENTIALS = 0x2
|
||||
SCM_RIGHTS = 0x1
|
||||
SCM_TIMESTAMP = 0x1d
|
||||
|
20
test/tools/vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
20
test/tools/vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
@ -2197,3 +2197,23 @@ func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||
RawSyscallNoError(SYS_GETRESGID, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func schedSetattr(pid int, attr *SchedAttr, flags uint) (err error) {
|
||||
_, _, e1 := Syscall(SYS_SCHED_SETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(flags))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SCHED_GETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(size), uintptr(flags), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
15
test/tools/vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
15
test/tools/vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
@ -5868,3 +5868,18 @@ const (
|
||||
VIRTIO_NET_HDR_GSO_UDP_L4 = 0x5
|
||||
VIRTIO_NET_HDR_GSO_ECN = 0x80
|
||||
)
|
||||
|
||||
type SchedAttr struct {
|
||||
Size uint32
|
||||
Policy uint32
|
||||
Flags uint64
|
||||
Nice int32
|
||||
Priority uint32
|
||||
Runtime uint64
|
||||
Deadline uint64
|
||||
Period uint64
|
||||
Util_min uint32
|
||||
Util_max uint32
|
||||
}
|
||||
|
||||
const SizeofSchedAttr = 0x38
|
||||
|
11
test/tools/vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
11
test/tools/vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
@ -216,7 +216,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
||||
//sys shGetKnownFolderPath(id *KNOWNFOLDERID, flags uint32, token Token, path **uint16) (ret error) = shell32.SHGetKnownFolderPath
|
||||
//sys TerminateProcess(handle Handle, exitcode uint32) (err error)
|
||||
//sys GetExitCodeProcess(handle Handle, exitcode *uint32) (err error)
|
||||
//sys GetStartupInfo(startupInfo *StartupInfo) (err error) = GetStartupInfoW
|
||||
//sys getStartupInfo(startupInfo *StartupInfo) = GetStartupInfoW
|
||||
//sys GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error)
|
||||
//sys DuplicateHandle(hSourceProcessHandle Handle, hSourceHandle Handle, hTargetProcessHandle Handle, lpTargetHandle *Handle, dwDesiredAccess uint32, bInheritHandle bool, dwOptions uint32) (err error)
|
||||
//sys WaitForSingleObject(handle Handle, waitMilliseconds uint32) (event uint32, err error) [failretval==0xffffffff]
|
||||
@ -437,6 +437,10 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
||||
//sys DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmGetWindowAttribute
|
||||
//sys DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmSetWindowAttribute
|
||||
|
||||
// Windows Multimedia API
|
||||
//sys TimeBeginPeriod (period uint32) (err error) [failretval != 0] = winmm.timeBeginPeriod
|
||||
//sys TimeEndPeriod (period uint32) (err error) [failretval != 0] = winmm.timeEndPeriod
|
||||
|
||||
// syscall interface implementation for other packages
|
||||
|
||||
// GetCurrentProcess returns the handle for the current process.
|
||||
@ -1624,6 +1628,11 @@ func SetConsoleCursorPosition(console Handle, position Coord) error {
|
||||
return setConsoleCursorPosition(console, *((*uint32)(unsafe.Pointer(&position))))
|
||||
}
|
||||
|
||||
func GetStartupInfo(startupInfo *StartupInfo) error {
|
||||
getStartupInfo(startupInfo)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s NTStatus) Errno() syscall.Errno {
|
||||
return rtlNtStatusToDosErrorNoTeb(s)
|
||||
}
|
||||
|
26
test/tools/vendor/golang.org/x/sys/windows/zsyscall_windows.go
generated
vendored
26
test/tools/vendor/golang.org/x/sys/windows/zsyscall_windows.go
generated
vendored
@ -55,6 +55,7 @@ var (
|
||||
moduser32 = NewLazySystemDLL("user32.dll")
|
||||
moduserenv = NewLazySystemDLL("userenv.dll")
|
||||
modversion = NewLazySystemDLL("version.dll")
|
||||
modwinmm = NewLazySystemDLL("winmm.dll")
|
||||
modwintrust = NewLazySystemDLL("wintrust.dll")
|
||||
modws2_32 = NewLazySystemDLL("ws2_32.dll")
|
||||
modwtsapi32 = NewLazySystemDLL("wtsapi32.dll")
|
||||
@ -468,6 +469,8 @@ var (
|
||||
procGetFileVersionInfoSizeW = modversion.NewProc("GetFileVersionInfoSizeW")
|
||||
procGetFileVersionInfoW = modversion.NewProc("GetFileVersionInfoW")
|
||||
procVerQueryValueW = modversion.NewProc("VerQueryValueW")
|
||||
proctimeBeginPeriod = modwinmm.NewProc("timeBeginPeriod")
|
||||
proctimeEndPeriod = modwinmm.NewProc("timeEndPeriod")
|
||||
procWinVerifyTrustEx = modwintrust.NewProc("WinVerifyTrustEx")
|
||||
procFreeAddrInfoW = modws2_32.NewProc("FreeAddrInfoW")
|
||||
procGetAddrInfoW = modws2_32.NewProc("GetAddrInfoW")
|
||||
@ -2367,11 +2370,8 @@ func GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uin
|
||||
return
|
||||
}
|
||||
|
||||
func GetStartupInfo(startupInfo *StartupInfo) (err error) {
|
||||
r1, _, e1 := syscall.Syscall(procGetStartupInfoW.Addr(), 1, uintptr(unsafe.Pointer(startupInfo)), 0, 0)
|
||||
if r1 == 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
func getStartupInfo(startupInfo *StartupInfo) {
|
||||
syscall.Syscall(procGetStartupInfoW.Addr(), 1, uintptr(unsafe.Pointer(startupInfo)), 0, 0)
|
||||
return
|
||||
}
|
||||
|
||||
@ -4017,6 +4017,22 @@ func _VerQueryValue(block unsafe.Pointer, subBlock *uint16, pointerToBufferPoint
|
||||
return
|
||||
}
|
||||
|
||||
func TimeBeginPeriod(period uint32) (err error) {
|
||||
r1, _, e1 := syscall.Syscall(proctimeBeginPeriod.Addr(), 1, uintptr(period), 0, 0)
|
||||
if r1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func TimeEndPeriod(period uint32) (err error) {
|
||||
r1, _, e1 := syscall.Syscall(proctimeEndPeriod.Addr(), 1, uintptr(period), 0, 0)
|
||||
if r1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func WinVerifyTrustEx(hwnd HWND, actionId *GUID, data *WinTrustData) (ret error) {
|
||||
r0, _, _ := syscall.Syscall(procWinVerifyTrustEx.Addr(), 3, uintptr(hwnd), uintptr(unsafe.Pointer(actionId)), uintptr(unsafe.Pointer(data)))
|
||||
if r0 != 0 {
|
||||
|
230
test/tools/vendor/golang.org/x/tools/internal/imports/zstdlib.go
generated
vendored
230
test/tools/vendor/golang.org/x/tools/internal/imports/zstdlib.go
generated
vendored
@ -93,6 +93,7 @@ var stdlib = map[string][]string{
|
||||
"Compare",
|
||||
"Contains",
|
||||
"ContainsAny",
|
||||
"ContainsFunc",
|
||||
"ContainsRune",
|
||||
"Count",
|
||||
"Cut",
|
||||
@ -147,6 +148,11 @@ var stdlib = map[string][]string{
|
||||
"TrimSpace",
|
||||
"TrimSuffix",
|
||||
},
|
||||
"cmp": {
|
||||
"Compare",
|
||||
"Less",
|
||||
"Ordered",
|
||||
},
|
||||
"compress/bzip2": {
|
||||
"NewReader",
|
||||
"StructuralError",
|
||||
@ -228,6 +234,7 @@ var stdlib = map[string][]string{
|
||||
"Ring",
|
||||
},
|
||||
"context": {
|
||||
"AfterFunc",
|
||||
"Background",
|
||||
"CancelCauseFunc",
|
||||
"CancelFunc",
|
||||
@ -239,8 +246,11 @@ var stdlib = map[string][]string{
|
||||
"WithCancel",
|
||||
"WithCancelCause",
|
||||
"WithDeadline",
|
||||
"WithDeadlineCause",
|
||||
"WithTimeout",
|
||||
"WithTimeoutCause",
|
||||
"WithValue",
|
||||
"WithoutCancel",
|
||||
},
|
||||
"crypto": {
|
||||
"BLAKE2b_256",
|
||||
@ -445,6 +455,7 @@ var stdlib = map[string][]string{
|
||||
"XORBytes",
|
||||
},
|
||||
"crypto/tls": {
|
||||
"AlertError",
|
||||
"Certificate",
|
||||
"CertificateRequestInfo",
|
||||
"CertificateVerificationError",
|
||||
@ -476,6 +487,7 @@ var stdlib = map[string][]string{
|
||||
"LoadX509KeyPair",
|
||||
"NewLRUClientSessionCache",
|
||||
"NewListener",
|
||||
"NewResumptionState",
|
||||
"NoClientCert",
|
||||
"PKCS1WithSHA1",
|
||||
"PKCS1WithSHA256",
|
||||
@ -484,6 +496,27 @@ var stdlib = map[string][]string{
|
||||
"PSSWithSHA256",
|
||||
"PSSWithSHA384",
|
||||
"PSSWithSHA512",
|
||||
"ParseSessionState",
|
||||
"QUICClient",
|
||||
"QUICConfig",
|
||||
"QUICConn",
|
||||
"QUICEncryptionLevel",
|
||||
"QUICEncryptionLevelApplication",
|
||||
"QUICEncryptionLevelEarly",
|
||||
"QUICEncryptionLevelHandshake",
|
||||
"QUICEncryptionLevelInitial",
|
||||
"QUICEvent",
|
||||
"QUICEventKind",
|
||||
"QUICHandshakeDone",
|
||||
"QUICNoEvent",
|
||||
"QUICRejectedEarlyData",
|
||||
"QUICServer",
|
||||
"QUICSessionTicketOptions",
|
||||
"QUICSetReadSecret",
|
||||
"QUICSetWriteSecret",
|
||||
"QUICTransportParameters",
|
||||
"QUICTransportParametersRequired",
|
||||
"QUICWriteData",
|
||||
"RecordHeaderError",
|
||||
"RenegotiateFreelyAsClient",
|
||||
"RenegotiateNever",
|
||||
@ -493,6 +526,7 @@ var stdlib = map[string][]string{
|
||||
"RequireAndVerifyClientCert",
|
||||
"RequireAnyClientCert",
|
||||
"Server",
|
||||
"SessionState",
|
||||
"SignatureScheme",
|
||||
"TLS_AES_128_GCM_SHA256",
|
||||
"TLS_AES_256_GCM_SHA384",
|
||||
@ -523,6 +557,7 @@ var stdlib = map[string][]string{
|
||||
"TLS_RSA_WITH_AES_256_GCM_SHA384",
|
||||
"TLS_RSA_WITH_RC4_128_SHA",
|
||||
"VerifyClientCertIfGiven",
|
||||
"VersionName",
|
||||
"VersionSSL30",
|
||||
"VersionTLS10",
|
||||
"VersionTLS11",
|
||||
@ -618,6 +653,7 @@ var stdlib = map[string][]string{
|
||||
"PureEd25519",
|
||||
"RSA",
|
||||
"RevocationList",
|
||||
"RevocationListEntry",
|
||||
"SHA1WithRSA",
|
||||
"SHA256WithRSA",
|
||||
"SHA256WithRSAPSS",
|
||||
@ -1002,10 +1038,42 @@ var stdlib = map[string][]string{
|
||||
"COMPRESS_LOOS",
|
||||
"COMPRESS_LOPROC",
|
||||
"COMPRESS_ZLIB",
|
||||
"COMPRESS_ZSTD",
|
||||
"Chdr32",
|
||||
"Chdr64",
|
||||
"Class",
|
||||
"CompressionType",
|
||||
"DF_1_CONFALT",
|
||||
"DF_1_DIRECT",
|
||||
"DF_1_DISPRELDNE",
|
||||
"DF_1_DISPRELPND",
|
||||
"DF_1_EDITED",
|
||||
"DF_1_ENDFILTEE",
|
||||
"DF_1_GLOBAL",
|
||||
"DF_1_GLOBAUDIT",
|
||||
"DF_1_GROUP",
|
||||
"DF_1_IGNMULDEF",
|
||||
"DF_1_INITFIRST",
|
||||
"DF_1_INTERPOSE",
|
||||
"DF_1_KMOD",
|
||||
"DF_1_LOADFLTR",
|
||||
"DF_1_NOCOMMON",
|
||||
"DF_1_NODEFLIB",
|
||||
"DF_1_NODELETE",
|
||||
"DF_1_NODIRECT",
|
||||
"DF_1_NODUMP",
|
||||
"DF_1_NOHDR",
|
||||
"DF_1_NOKSYMS",
|
||||
"DF_1_NOOPEN",
|
||||
"DF_1_NORELOC",
|
||||
"DF_1_NOW",
|
||||
"DF_1_ORIGIN",
|
||||
"DF_1_PIE",
|
||||
"DF_1_SINGLETON",
|
||||
"DF_1_STUB",
|
||||
"DF_1_SYMINTPOSE",
|
||||
"DF_1_TRANS",
|
||||
"DF_1_WEAKFILTER",
|
||||
"DF_BIND_NOW",
|
||||
"DF_ORIGIN",
|
||||
"DF_STATIC_TLS",
|
||||
@ -1144,6 +1212,7 @@ var stdlib = map[string][]string{
|
||||
"Dyn32",
|
||||
"Dyn64",
|
||||
"DynFlag",
|
||||
"DynFlag1",
|
||||
"DynTag",
|
||||
"EI_ABIVERSION",
|
||||
"EI_CLASS",
|
||||
@ -2111,6 +2180,7 @@ var stdlib = map[string][]string{
|
||||
"R_PPC64_REL16_LO",
|
||||
"R_PPC64_REL24",
|
||||
"R_PPC64_REL24_NOTOC",
|
||||
"R_PPC64_REL24_P9NOTOC",
|
||||
"R_PPC64_REL30",
|
||||
"R_PPC64_REL32",
|
||||
"R_PPC64_REL64",
|
||||
@ -2848,6 +2918,7 @@ var stdlib = map[string][]string{
|
||||
"MaxVarintLen16",
|
||||
"MaxVarintLen32",
|
||||
"MaxVarintLen64",
|
||||
"NativeEndian",
|
||||
"PutUvarint",
|
||||
"PutVarint",
|
||||
"Read",
|
||||
@ -2963,6 +3034,7 @@ var stdlib = map[string][]string{
|
||||
},
|
||||
"errors": {
|
||||
"As",
|
||||
"ErrUnsupported",
|
||||
"Is",
|
||||
"Join",
|
||||
"New",
|
||||
@ -2989,6 +3061,7 @@ var stdlib = map[string][]string{
|
||||
"Arg",
|
||||
"Args",
|
||||
"Bool",
|
||||
"BoolFunc",
|
||||
"BoolVar",
|
||||
"CommandLine",
|
||||
"ContinueOnError",
|
||||
@ -3119,6 +3192,7 @@ var stdlib = map[string][]string{
|
||||
"Inspect",
|
||||
"InterfaceType",
|
||||
"IsExported",
|
||||
"IsGenerated",
|
||||
"KeyValueExpr",
|
||||
"LabeledStmt",
|
||||
"Lbl",
|
||||
@ -3169,6 +3243,7 @@ var stdlib = map[string][]string{
|
||||
"ArchChar",
|
||||
"Context",
|
||||
"Default",
|
||||
"Directive",
|
||||
"FindOnly",
|
||||
"IgnoreVendor",
|
||||
"Import",
|
||||
@ -3184,6 +3259,7 @@ var stdlib = map[string][]string{
|
||||
"go/build/constraint": {
|
||||
"AndExpr",
|
||||
"Expr",
|
||||
"GoVersion",
|
||||
"IsGoBuild",
|
||||
"IsPlusBuild",
|
||||
"NotExpr",
|
||||
@ -3626,6 +3702,7 @@ var stdlib = map[string][]string{
|
||||
"ErrBadHTML",
|
||||
"ErrBranchEnd",
|
||||
"ErrEndContext",
|
||||
"ErrJSTemplate",
|
||||
"ErrNoSuchTemplate",
|
||||
"ErrOutputContext",
|
||||
"ErrPartialCharset",
|
||||
@ -3870,6 +3947,8 @@ var stdlib = map[string][]string{
|
||||
"FileInfo",
|
||||
"FileInfoToDirEntry",
|
||||
"FileMode",
|
||||
"FormatDirEntry",
|
||||
"FormatFileInfo",
|
||||
"Glob",
|
||||
"GlobFS",
|
||||
"ModeAppend",
|
||||
@ -3942,6 +4021,78 @@ var stdlib = map[string][]string{
|
||||
"SetPrefix",
|
||||
"Writer",
|
||||
},
|
||||
"log/slog": {
|
||||
"Any",
|
||||
"AnyValue",
|
||||
"Attr",
|
||||
"Bool",
|
||||
"BoolValue",
|
||||
"Debug",
|
||||
"DebugContext",
|
||||
"Default",
|
||||
"Duration",
|
||||
"DurationValue",
|
||||
"Error",
|
||||
"ErrorContext",
|
||||
"Float64",
|
||||
"Float64Value",
|
||||
"Group",
|
||||
"GroupValue",
|
||||
"Handler",
|
||||
"HandlerOptions",
|
||||
"Info",
|
||||
"InfoContext",
|
||||
"Int",
|
||||
"Int64",
|
||||
"Int64Value",
|
||||
"IntValue",
|
||||
"JSONHandler",
|
||||
"Kind",
|
||||
"KindAny",
|
||||
"KindBool",
|
||||
"KindDuration",
|
||||
"KindFloat64",
|
||||
"KindGroup",
|
||||
"KindInt64",
|
||||
"KindLogValuer",
|
||||
"KindString",
|
||||
"KindTime",
|
||||
"KindUint64",
|
||||
"Level",
|
||||
"LevelDebug",
|
||||
"LevelError",
|
||||
"LevelInfo",
|
||||
"LevelKey",
|
||||
"LevelVar",
|
||||
"LevelWarn",
|
||||
"Leveler",
|
||||
"Log",
|
||||
"LogAttrs",
|
||||
"LogValuer",
|
||||
"Logger",
|
||||
"MessageKey",
|
||||
"New",
|
||||
"NewJSONHandler",
|
||||
"NewLogLogger",
|
||||
"NewRecord",
|
||||
"NewTextHandler",
|
||||
"Record",
|
||||
"SetDefault",
|
||||
"Source",
|
||||
"SourceKey",
|
||||
"String",
|
||||
"StringValue",
|
||||
"TextHandler",
|
||||
"Time",
|
||||
"TimeKey",
|
||||
"TimeValue",
|
||||
"Uint64",
|
||||
"Uint64Value",
|
||||
"Value",
|
||||
"Warn",
|
||||
"WarnContext",
|
||||
"With",
|
||||
},
|
||||
"log/syslog": {
|
||||
"Dial",
|
||||
"LOG_ALERT",
|
||||
@ -3977,6 +4128,13 @@ var stdlib = map[string][]string{
|
||||
"Priority",
|
||||
"Writer",
|
||||
},
|
||||
"maps": {
|
||||
"Clone",
|
||||
"Copy",
|
||||
"DeleteFunc",
|
||||
"Equal",
|
||||
"EqualFunc",
|
||||
},
|
||||
"math": {
|
||||
"Abs",
|
||||
"Acos",
|
||||
@ -4371,6 +4529,7 @@ var stdlib = map[string][]string{
|
||||
"ErrNoLocation",
|
||||
"ErrNotMultipart",
|
||||
"ErrNotSupported",
|
||||
"ErrSchemeMismatch",
|
||||
"ErrServerClosed",
|
||||
"ErrShortBody",
|
||||
"ErrSkipAltProtocol",
|
||||
@ -5084,6 +5243,8 @@ var stdlib = map[string][]string{
|
||||
"NumCPU",
|
||||
"NumCgoCall",
|
||||
"NumGoroutine",
|
||||
"PanicNilError",
|
||||
"Pinner",
|
||||
"ReadMemStats",
|
||||
"ReadTrace",
|
||||
"SetBlockProfileRate",
|
||||
@ -5172,6 +5333,37 @@ var stdlib = map[string][]string{
|
||||
"Task",
|
||||
"WithRegion",
|
||||
},
|
||||
"slices": {
|
||||
"BinarySearch",
|
||||
"BinarySearchFunc",
|
||||
"Clip",
|
||||
"Clone",
|
||||
"Compact",
|
||||
"CompactFunc",
|
||||
"Compare",
|
||||
"CompareFunc",
|
||||
"Contains",
|
||||
"ContainsFunc",
|
||||
"Delete",
|
||||
"DeleteFunc",
|
||||
"Equal",
|
||||
"EqualFunc",
|
||||
"Grow",
|
||||
"Index",
|
||||
"IndexFunc",
|
||||
"Insert",
|
||||
"IsSorted",
|
||||
"IsSortedFunc",
|
||||
"Max",
|
||||
"MaxFunc",
|
||||
"Min",
|
||||
"MinFunc",
|
||||
"Replace",
|
||||
"Reverse",
|
||||
"Sort",
|
||||
"SortFunc",
|
||||
"SortStableFunc",
|
||||
},
|
||||
"sort": {
|
||||
"Find",
|
||||
"Float64Slice",
|
||||
@ -5242,6 +5434,7 @@ var stdlib = map[string][]string{
|
||||
"Compare",
|
||||
"Contains",
|
||||
"ContainsAny",
|
||||
"ContainsFunc",
|
||||
"ContainsRune",
|
||||
"Count",
|
||||
"Cut",
|
||||
@ -5299,6 +5492,9 @@ var stdlib = map[string][]string{
|
||||
"Mutex",
|
||||
"NewCond",
|
||||
"Once",
|
||||
"OnceFunc",
|
||||
"OnceValue",
|
||||
"OnceValues",
|
||||
"Pool",
|
||||
"RWMutex",
|
||||
"WaitGroup",
|
||||
@ -9135,10 +9331,12 @@ var stdlib = map[string][]string{
|
||||
"SYS_AIO_CANCEL",
|
||||
"SYS_AIO_ERROR",
|
||||
"SYS_AIO_FSYNC",
|
||||
"SYS_AIO_MLOCK",
|
||||
"SYS_AIO_READ",
|
||||
"SYS_AIO_RETURN",
|
||||
"SYS_AIO_SUSPEND",
|
||||
"SYS_AIO_SUSPEND_NOCANCEL",
|
||||
"SYS_AIO_WAITCOMPLETE",
|
||||
"SYS_AIO_WRITE",
|
||||
"SYS_ALARM",
|
||||
"SYS_ARCH_PRCTL",
|
||||
@ -9368,6 +9566,7 @@ var stdlib = map[string][]string{
|
||||
"SYS_GET_MEMPOLICY",
|
||||
"SYS_GET_ROBUST_LIST",
|
||||
"SYS_GET_THREAD_AREA",
|
||||
"SYS_GSSD_SYSCALL",
|
||||
"SYS_GTTY",
|
||||
"SYS_IDENTITYSVC",
|
||||
"SYS_IDLE",
|
||||
@ -9411,8 +9610,24 @@ var stdlib = map[string][]string{
|
||||
"SYS_KLDSYM",
|
||||
"SYS_KLDUNLOAD",
|
||||
"SYS_KLDUNLOADF",
|
||||
"SYS_KMQ_NOTIFY",
|
||||
"SYS_KMQ_OPEN",
|
||||
"SYS_KMQ_SETATTR",
|
||||
"SYS_KMQ_TIMEDRECEIVE",
|
||||
"SYS_KMQ_TIMEDSEND",
|
||||
"SYS_KMQ_UNLINK",
|
||||
"SYS_KQUEUE",
|
||||
"SYS_KQUEUE1",
|
||||
"SYS_KSEM_CLOSE",
|
||||
"SYS_KSEM_DESTROY",
|
||||
"SYS_KSEM_GETVALUE",
|
||||
"SYS_KSEM_INIT",
|
||||
"SYS_KSEM_OPEN",
|
||||
"SYS_KSEM_POST",
|
||||
"SYS_KSEM_TIMEDWAIT",
|
||||
"SYS_KSEM_TRYWAIT",
|
||||
"SYS_KSEM_UNLINK",
|
||||
"SYS_KSEM_WAIT",
|
||||
"SYS_KTIMER_CREATE",
|
||||
"SYS_KTIMER_DELETE",
|
||||
"SYS_KTIMER_GETOVERRUN",
|
||||
@ -9504,11 +9719,14 @@ var stdlib = map[string][]string{
|
||||
"SYS_NFSSVC",
|
||||
"SYS_NFSTAT",
|
||||
"SYS_NICE",
|
||||
"SYS_NLM_SYSCALL",
|
||||
"SYS_NLSTAT",
|
||||
"SYS_NMOUNT",
|
||||
"SYS_NSTAT",
|
||||
"SYS_NTP_ADJTIME",
|
||||
"SYS_NTP_GETTIME",
|
||||
"SYS_NUMA_GETAFFINITY",
|
||||
"SYS_NUMA_SETAFFINITY",
|
||||
"SYS_OABI_SYSCALL_BASE",
|
||||
"SYS_OBREAK",
|
||||
"SYS_OLDFSTAT",
|
||||
@ -9891,6 +10109,7 @@ var stdlib = map[string][]string{
|
||||
"SYS___ACL_SET_FD",
|
||||
"SYS___ACL_SET_FILE",
|
||||
"SYS___ACL_SET_LINK",
|
||||
"SYS___CAP_RIGHTS_GET",
|
||||
"SYS___CLONE",
|
||||
"SYS___DISABLE_THREADSIGNAL",
|
||||
"SYS___GETCWD",
|
||||
@ -10574,6 +10793,7 @@ var stdlib = map[string][]string{
|
||||
"Short",
|
||||
"T",
|
||||
"TB",
|
||||
"Testing",
|
||||
"Verbose",
|
||||
},
|
||||
"testing/fstest": {
|
||||
@ -10603,6 +10823,9 @@ var stdlib = map[string][]string{
|
||||
"SetupError",
|
||||
"Value",
|
||||
},
|
||||
"testing/slogtest": {
|
||||
"TestHandler",
|
||||
},
|
||||
"text/scanner": {
|
||||
"Char",
|
||||
"Comment",
|
||||
@ -10826,6 +11049,7 @@ var stdlib = map[string][]string{
|
||||
"Cs",
|
||||
"Cuneiform",
|
||||
"Cypriot",
|
||||
"Cypro_Minoan",
|
||||
"Cyrillic",
|
||||
"Dash",
|
||||
"Deprecated",
|
||||
@ -10889,6 +11113,7 @@ var stdlib = map[string][]string{
|
||||
"Kaithi",
|
||||
"Kannada",
|
||||
"Katakana",
|
||||
"Kawi",
|
||||
"Kayah_Li",
|
||||
"Kharoshthi",
|
||||
"Khitan_Small_Script",
|
||||
@ -10943,6 +11168,7 @@ var stdlib = map[string][]string{
|
||||
"Myanmar",
|
||||
"N",
|
||||
"Nabataean",
|
||||
"Nag_Mundari",
|
||||
"Nandinagari",
|
||||
"Nd",
|
||||
"New_Tai_Lue",
|
||||
@ -10964,6 +11190,7 @@ var stdlib = map[string][]string{
|
||||
"Old_Sogdian",
|
||||
"Old_South_Arabian",
|
||||
"Old_Turkic",
|
||||
"Old_Uyghur",
|
||||
"Oriya",
|
||||
"Osage",
|
||||
"Osmanya",
|
||||
@ -11038,6 +11265,7 @@ var stdlib = map[string][]string{
|
||||
"Tai_Viet",
|
||||
"Takri",
|
||||
"Tamil",
|
||||
"Tangsa",
|
||||
"Tangut",
|
||||
"Telugu",
|
||||
"Terminal_Punctuation",
|
||||
@ -11052,6 +11280,7 @@ var stdlib = map[string][]string{
|
||||
"ToLower",
|
||||
"ToTitle",
|
||||
"ToUpper",
|
||||
"Toto",
|
||||
"TurkishCase",
|
||||
"Ugaritic",
|
||||
"Unified_Ideograph",
|
||||
@ -11061,6 +11290,7 @@ var stdlib = map[string][]string{
|
||||
"Vai",
|
||||
"Variation_Selector",
|
||||
"Version",
|
||||
"Vithkuqi",
|
||||
"Wancho",
|
||||
"Warang_Citi",
|
||||
"White_Space",
|
||||
|
8
test/tools/vendor/golang.org/x/tools/internal/typeparams/coretype.go
generated
vendored
8
test/tools/vendor/golang.org/x/tools/internal/typeparams/coretype.go
generated
vendored
@ -81,13 +81,13 @@ func CoreType(T types.Type) types.Type {
|
||||
// restrictions may be arbitrarily complex. For example, consider the
|
||||
// following:
|
||||
//
|
||||
// type A interface{ ~string|~[]byte }
|
||||
// type A interface{ ~string|~[]byte }
|
||||
//
|
||||
// type B interface{ int|string }
|
||||
// type B interface{ int|string }
|
||||
//
|
||||
// type C interface { ~string|~int }
|
||||
// type C interface { ~string|~int }
|
||||
//
|
||||
// type T[P interface{ A|B; C }] int
|
||||
// type T[P interface{ A|B; C }] int
|
||||
//
|
||||
// In this example, the structural type restriction of P is ~string|int: A|B
|
||||
// expands to ~string|~[]byte|int|string, which reduces to ~string|~[]byte|int,
|
||||
|
2
test/tools/vendor/golang.org/x/tools/internal/typeparams/termlist.go
generated
vendored
2
test/tools/vendor/golang.org/x/tools/internal/typeparams/termlist.go
generated
vendored
@ -30,7 +30,7 @@ func (xl termlist) String() string {
|
||||
var buf bytes.Buffer
|
||||
for i, x := range xl {
|
||||
if i > 0 {
|
||||
buf.WriteString(" ∪ ")
|
||||
buf.WriteString(" | ")
|
||||
}
|
||||
buf.WriteString(x.String())
|
||||
}
|
||||
|
9
test/tools/vendor/golang.org/x/tools/internal/typeparams/typeterm.go
generated
vendored
9
test/tools/vendor/golang.org/x/tools/internal/typeparams/typeterm.go
generated
vendored
@ -10,11 +10,10 @@ import "go/types"
|
||||
|
||||
// A term describes elementary type sets:
|
||||
//
|
||||
// ∅: (*term)(nil) == ∅ // set of no types (empty set)
|
||||
// 𝓤: &term{} == 𝓤 // set of all types (𝓤niverse)
|
||||
// T: &term{false, T} == {T} // set of type T
|
||||
// ~t: &term{true, t} == {t' | under(t') == t} // set of types with underlying type t
|
||||
//
|
||||
// ∅: (*term)(nil) == ∅ // set of no types (empty set)
|
||||
// 𝓤: &term{} == 𝓤 // set of all types (𝓤niverse)
|
||||
// T: &term{false, T} == {T} // set of type T
|
||||
// ~t: &term{true, t} == {t' | under(t') == t} // set of types with underlying type t
|
||||
type term struct {
|
||||
tilde bool // valid if typ != nil
|
||||
typ types.Type
|
||||
|
4
test/tools/vendor/modules.txt
vendored
4
test/tools/vendor/modules.txt
vendored
@ -49,13 +49,13 @@ github.com/vbatts/git-validation/validate
|
||||
golang.org/x/mod/internal/lazyregexp
|
||||
golang.org/x/mod/module
|
||||
golang.org/x/mod/semver
|
||||
# golang.org/x/sys v0.11.0
|
||||
# golang.org/x/sys v0.12.0
|
||||
## explicit; go 1.17
|
||||
golang.org/x/sys/execabs
|
||||
golang.org/x/sys/internal/unsafeheader
|
||||
golang.org/x/sys/unix
|
||||
golang.org/x/sys/windows
|
||||
# golang.org/x/tools v0.12.0
|
||||
# golang.org/x/tools v0.13.0
|
||||
## explicit; go 1.18
|
||||
golang.org/x/tools/cmd/goimports
|
||||
golang.org/x/tools/go/ast/astutil
|
||||
|
Reference in New Issue
Block a user