Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "uc" VER = "1.1.1" DESC = "Tool for counting unique lines" )
Application basic info
View Source
const ( OPT_MAX_LINES = "m:max" OPT_DISTRIBUTION = "d:dist" OPT_NO_PROGRESS = "np:no-progress" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Constants with options names
View Source
const MAX_SAMPLE_SIZE = 512
MAX_SAMPLE_SIZE is maximum sample size
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stats ¶
type Stats struct { Counters map[uint64]uint32 // crc64 → num Samples map[uint64]string // crc64 → sample (512 symbols) LastReadLines uint64 LastReadBytes float64 TotalReadLines uint64 TotalReadBytes float64 LastReadDate time.Time Finished bool // contains filtered or unexported fields }
Stats contains data info
Click to show internal directories.
Click to hide internal directories.