GO-2024-3284: PingCAP TiDB nil pointer dereference in github.com/pingcap/tidb
package
Version:
v1.1.0-beta.0...-22c91d0
Opens a new window with list of versions in this module.
Published: Dec 17, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Pick[E any](t *T, values []E) E
Pick returns a value from the values list
func PickEnum[E any](t *T, item E, other ...E) E
PickEnum returns a value from the value enums
RunTest runs the test function `f` multiple times util all the values in `Pick` are tested.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.