Home
last modified time | relevance | path

Searched defs:Cache (Results 51 – 75 of 6209) sorted by relevance

12345678910>>...249

/dports/misc/concourse/concourse-6.7.2/vendor/github.com/hashicorp/vault/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) (present bool) {
97 func (c *Cache) Resize(size int) (evicted int) {
121 func (c *Cache) Keys() []interface{} {
[all …]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) (present bool) {
97 func (c *Cache) Resize(size int) (evicted int) {
121 func (c *Cache) Keys() []interface{} {
[all …]
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/cli/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) (present bool) {
97 func (c *Cache) Resize(size int) (evicted int) {
121 func (c *Cache) Keys() []interface{} {
[all …]
/dports/net/termshark/termshark-2.1.1/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) (present bool) {
97 func (c *Cache) Resize(size int) (evicted int) {
121 func (c *Cache) Keys() []interface{} {
[all …]
/dports/sysutils/helmfile/vault-f6547fa8e820/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) (present bool) {
97 func (c *Cache) Resize(size int) (evicted int) {
121 func (c *Cache) Keys() []interface{} {
[all …]
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/astaxie/beego/cache/memcache/
H A Dmemcache.go43 type Cache struct { struct
44 conn *memcache.Client
45 conninfo []string
54 func (rc *Cache) Get(key string) interface{} {
110 func (rc *Cache) Delete(key string) error {
120 func (rc *Cache) Incr(key string) error {
131 func (rc *Cache) Decr(key string) error {
142 func (rc *Cache) IsExist(key string) bool {
153 func (rc *Cache) ClearAll() error {
165 func (rc *Cache) StartAndGC(config string) error {
[all …]
/dports/net-mgmt/carbonzipper/carbonzipper-0.74/vendor/github.com/dgryski/go-expirecache/
H A Dcache.go16 type Cache struct { struct
17 sync.RWMutex
18 cache map[string]element
19 keys []string
20 totalSize uint64
21 maxSize uint64
33 func (ec *Cache) Size() uint64 {
41 func (ec *Cache) Items() int {
98 func (ec *Cache) randomEvict() {
112 func (ec *Cache) Cleaner(d time.Duration) {
[all …]
/dports/www/carbonapi/carbonapi-0.14.1/vendor/github.com/dgryski/go-expirecache/
H A Dcache.go16 type Cache struct { struct
17 sync.RWMutex
18 cache map[string]element
19 keys []string
20 totalSize uint64
21 maxSize uint64
33 func (ec *Cache) Size() uint64 {
41 func (ec *Cache) Items() int {
98 func (ec *Cache) randomEvict() {
112 func (ec *Cache) Cleaner(d time.Duration) {
[all …]
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/caddyserver/certmagic/
H A Dcache.go47 type Cache struct { struct
49 options CacheOptions
52 cache map[string]Certificate
55 cacheIndex map[string][]string
58 mu sync.RWMutex
61 stopChan chan struct{}
64 doneChan chan struct{}
122 func (certCache *Cache) Stop() {
166 func (certCache *Cache) cacheCertificate(cert Certificate) {
197 func (certCache *Cache) removeCertificate(cert Certificate) {
[all …]
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/rogpeppe/go-internal/cache/
H A Dcache.go32 type Cache struct { struct
33 dir string
34 log *os.File
35 now func() time.Time
77 func (c *Cache) fileName(id [HashSize]byte, key string) string {
126 func (c *Cache) Get(id ActionID) (Entry, error) {
140 func (c *Cache) get(id ActionID) (Entry, error) {
223 func (c *Cache) OutputFile(out OutputID) string {
256 func (c *Cache) used(file string) {
265 func (c *Cache) Trim() {
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/cmd/go/internal/cache/
H A Dcache.go34 type Cache struct { struct
35 dir string
36 log *os.File
37 now func() time.Time
79 func (c *Cache) fileName(id [HashSize]byte, key string) string {
128 func (c *Cache) Get(id ActionID) (Entry, error) {
142 func (c *Cache) get(id ActionID) (Entry, error) {
225 func (c *Cache) OutputFile(out OutputID) string {
258 func (c *Cache) used(file string) {
267 func (c *Cache) Trim() {
[all …]
/dports/security/gopass/gopass-1.13.0/vendor/github.com/rogpeppe/go-internal/cache/
H A Dcache.go32 type Cache struct { struct
33 dir string
34 log *os.File
35 now func() time.Time
77 func (c *Cache) fileName(id [HashSize]byte, key string) string {
126 func (c *Cache) Get(id ActionID) (Entry, error) {
140 func (c *Cache) get(id ActionID) (Entry, error) {
223 func (c *Cache) OutputFile(out OutputID) string {
256 func (c *Cache) used(file string) {
265 func (c *Cache) Trim() {
[all …]
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/rogpeppe/go-internal/cache/
H A Dcache.go32 type Cache struct { struct
33 dir string
34 log *os.File
35 now func() time.Time
77 func (c *Cache) fileName(id [HashSize]byte, key string) string {
126 func (c *Cache) Get(id ActionID) (Entry, error) {
140 func (c *Cache) get(id ActionID) (Entry, error) {
223 func (c *Cache) OutputFile(out OutputID) string {
256 func (c *Cache) used(file string) {
265 func (c *Cache) Trim() {
[all …]
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/rogpeppe/go-internal/cache/
H A Dcache.go32 type Cache struct { struct
33 dir string
34 log *os.File
35 now func() time.Time
77 func (c *Cache) fileName(id [HashSize]byte, key string) string {
126 func (c *Cache) Get(id ActionID) (Entry, error) {
140 func (c *Cache) get(id ActionID) (Entry, error) {
223 func (c *Cache) OutputFile(out OutputID) string {
256 func (c *Cache) used(file string) {
265 func (c *Cache) Trim() {
[all …]
/dports/lang/gcc9/gcc-9.4.0/libgo/go/cmd/go/internal/cache/
H A Dcache.go34 type Cache struct { struct
35 dir string
36 log *os.File
37 now func() time.Time
79 func (c *Cache) fileName(id [HashSize]byte, key string) string {
128 func (c *Cache) Get(id ActionID) (Entry, error) {
142 func (c *Cache) get(id ActionID) (Entry, error) {
225 func (c *Cache) OutputFile(out OutputID) string {
258 func (c *Cache) used(file string) {
267 func (c *Cache) Trim() {
[all …]
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/rogpeppe/go-internal/cache/
H A Dcache.go32 type Cache struct { struct
33 dir string
34 log *os.File
35 now func() time.Time
77 func (c *Cache) fileName(id [HashSize]byte, key string) string {
126 func (c *Cache) Get(id ActionID) (Entry, error) {
140 func (c *Cache) get(id ActionID) (Entry, error) {
223 func (c *Cache) OutputFile(out OutputID) string {
256 func (c *Cache) used(file string) {
265 func (c *Cache) Trim() {
[all …]
/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/cmd/go/internal/cache/
H A Dcache.go34 type Cache struct { struct
35 dir string
36 log *os.File
37 now func() time.Time
79 func (c *Cache) fileName(id [HashSize]byte, key string) string {
128 func (c *Cache) Get(id ActionID) (Entry, error) {
142 func (c *Cache) get(id ActionID) (Entry, error) {
225 func (c *Cache) OutputFile(out OutputID) string {
258 func (c *Cache) used(file string) {
267 func (c *Cache) Trim() {
[all …]
/dports/www/mattermost-server/mattermost-server-6.0.2/services/cache/mocks/
H A DCache.go12 type Cache struct { struct
13 mock.Mock
17 func (_m *Cache) Get(key string, value interface{}) error {
31 func (_m *Cache) GetInvalidateClusterEvent() string {
45 func (_m *Cache) Keys() ([]string, error) {
68 func (_m *Cache) Len() (int, error) {
89 func (_m *Cache) Name() string {
103 func (_m *Cache) Purge() error {
117 func (_m *Cache) Remove(key string) error {
131 func (_m *Cache) Set(key string, value interface{}) error {
[all …]
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-secrets-azure/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-secrets-kv/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-secrets-gcpkms/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-secrets-gcp/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-auth-kubernetes/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-secrets-alicloud/vendor/github.com/hashicorp/golang-lru/
H A Dlru.go10 type Cache struct { struct
11 lru simplelru.LRUCache
12 lock sync.RWMutex
34 func (c *Cache) Purge() {
41 func (c *Cache) Add(key, value interface{}) (evicted bool) {
49 func (c *Cache) Get(key interface{}) (value interface{}, ok bool) {
58 func (c *Cache) Contains(key interface{}) bool {
89 func (c *Cache) Remove(key interface{}) {
96 func (c *Cache) RemoveOldest() {
103 func (c *Cache) Keys() []interface{} {
[all …]

12345678910>>...249