mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-08-14 07:25:53 +08:00

Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
24 lines
810 B
Go
24 lines
810 B
Go
package antlr
|
|
|
|
// A JStatRec is a record of a particular use of a [JStore], [JMap] or JPCMap] collection. Typically, it will be
|
|
// used to look for unused collections that wre allocated anyway, problems with hash bucket clashes, and anomalies
|
|
// such as huge numbers of Gets with no entries found GetNoEnt. You can refer to the CollectionAnomalies() function
|
|
// for ideas on what can be gleaned from these statistics about collections.
|
|
type JStatRec struct {
|
|
Source CollectionSource
|
|
MaxSize int
|
|
CurSize int
|
|
Gets int
|
|
GetHits int
|
|
GetMisses int
|
|
GetHashConflicts int
|
|
GetNoEnt int
|
|
Puts int
|
|
PutHits int
|
|
PutMisses int
|
|
PutHashConflicts int
|
|
MaxSlotSize int
|
|
Description string
|
|
CreateStack []byte
|
|
}
|