ccache

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None                           = 0
	CompilerProducedStdout         = 1
	CompileFailed                  = 2
	InternalError                  = 3
	CacheMiss                      = 4
	PreprocessorError              = 5
	CouldNotFindCompiler           = 6
	MissingCacheFile               = 7
	PreprocessedCacheHit           = 8
	BadCompilerArguments           = 9
	CalledForLink                  = 10
	FilesInCache                   = 11
	CacheSizeKibibyte              = 12
	ObsoleteMaxFiles               = 13
	ObsoleteMaxSize                = 14
	UnsupportedSourceLanguage      = 15
	BadOutputFile                  = 16
	NoInputFile                    = 17
	MultipleSourceFiles            = 18
	AutoconfTest                   = 19
	UnsupportedCompilerOption      = 20
	OutputToStdout                 = 21
	DirectCacheHit                 = 22
	CompilerProducedNoOutput       = 23
	CompilerProducedEmptyOutput    = 24
	ErrorHashingExtraFile          = 25
	CompilerCheckFailed            = 26
	CouldNotUsePrecompiledHeader   = 27
	CalledForPreprocessing         = 28
	CleanupsPerformed              = 29
	UnsupportedCodeDirective       = 30
	StatsZeroedTimestamp           = 31
	CouldNotUseModules             = 32
	DirectCacheMiss                = 33
	PreprocessedCacheMiss          = 34
	LocalStorageReadHit            = 35
	LocalStorageReadMiss           = 36
	RemoteStorageReadHit           = 37
	RemoteStorageReadMiss          = 38
	RemoteStorageError             = 39
	RemoteStorageTimeout           = 40
	Recache                        = 41
	UnsupportedEnvironmentVariable = 42
	LocalStorageWrite              = 43
	LocalStorageHit                = 44
	LocalStorageMiss               = 45
	RemoteStorageWrite             = 46
	RemoteStorageHit               = 47
	RemoteStorageMiss              = 48

	// 49-64: files in level 2 subdirs 0-f
	SubdirFilesBase = 49

	// 65-80: size (KiB) in level 2 subdirs 0-f
	SubdirSizeKibibyteBase = 65

	Disabled = 81
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter int

type Counters

type Counters [82]uint64

func (*Counters) Read

func (counters *Counters) Read(path string) error

func (*Counters) ReadAll

func (counters *Counters) ReadAll(ccachedir string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL