Home
last modified time | relevance | path

Searched refs:cacheEntries (Results 1 – 1 of 1) sorted by relevance

/external/syzkaller/pkg/log/
Dlog.go26 cacheEntries []string var
36 if cacheEntries != nil {
43 cacheEntries = make([]string, maxLines)
51 for i := range cacheEntries {
52 pos := (cachePos + i) % len(cacheEntries)
53 if cacheEntries[pos] == "" {
56 buf.WriteString(cacheEntries[pos])
65 if cacheEntries != nil && v <= 1 {
66 cacheMem -= len(cacheEntries[cachePos])
74 cacheEntries[cachePos] = fmt.Sprintf(timeStr+msg, args...)
[all …]