- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 565 for cachez (0.45 sec)
-
internal/cachevalue/cache.go
func New[T any]() *Cache[T] { return &Cache[T]{} } // NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/config/cache/cache.go
// store and retrieve pre-condition check entities such as // Etag and ModTime of an object + version Endpoint string `json:"endpoint"` // BlockSize indicates the maximum object size below which // data is cached and fetched remotely from DRAM. BlockSize int64 // Is the HTTP client used for communicating with mcache server clnt *http.Client } var configLock sync.RWMutex
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryCacheDecoratorFactoryTest.groovy
def crossProcessCacheAccess = Mock(CrossProcessCacheAccess) def "caches result from backing cache and reuses for other instances with the same cache id"() { given: def cache = cacheFactory.decorator(100, true).decorate("path/fileSnapshots.bin", "fileSnapshots", target, crossProcessCacheAccess, asyncCacheAccess) when: def result = cache.getIfPresent("key") then: result == "result"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
) // metricsCache - cache for metrics. // // When serving metrics, this cache is passed to the MetricsLoaderFn. // // This cache is used for metrics that would result in network/storage calls. type metricsCache struct { dataUsageInfo *cachevalue.Cache[DataUsageInfo] esetHealthResult *cachevalue.Cache[HealthResult] driveMetrics *cachevalue.Cache[storageMetrics]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/WritableArtifactCacheLockingAccessCoordinator.java
import org.gradle.cache.UnscopedCacheBuilderFactory; import org.gradle.cache.internal.CompositeCleanupAction; import org.gradle.cache.internal.LeastRecentlyUsedCacheCleanup; import org.gradle.cache.internal.SingleDepthFilesFinder; import org.gradle.cache.internal.UnusedVersionsCacheCleanup; import org.gradle.cache.internal.UsedGradleVersions; import org.gradle.internal.file.FileAccessTimeJournal;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_performance.adoc
[.screenshot] image::build-cache/cache-admin-hit-rate.png[build cache hit rate] == Analyzing performance in build scans Build scans provide a summary of all cache operations for a build via the _"Build cache"_ section of the _"Performance"_ page. [.screenshot] image::build-cache/build-cache-performance.png[build cache performance] This page details which tasks were able to be avoided by cache hits, and which missed.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 09:28:20 UTC 2024 - 9.2K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
- name: Cache Gradle Modules uses: actions/cache@v4 with: path: | ~/.gradle/caches/modules-2/ ~/.gradle/caches/build-cache-1/ ~/.gradle/caches/signatures/ ~/.gradle/caches/keyrings/ key: ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 02 09:13:16 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/go/internal/par/work.go
} var ErrCacheEntryNotFound = errors.New("cache entry not found") // Get returns the cached result associated with key. // It returns ErrCacheEntryNotFound if there is no such result. func (c *ErrCache[K, V]) Get(key K) (V, error) { v, ok := c.Cache.Get(key) if !ok { v.err = ErrCacheEntryNotFound } return v.v, v.err } // Cache runs an action once per key and caches the result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:54:54 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go
c.updateSpecLocked() return nil } // updateSpecLocked updates the cached spec graph. func (c *Controller) updateSpecLocked() { specList := make([]cached.Value[*spec.Swagger], 0, len(c.specsByName)) for crd := range c.specsByName { specList = append(specList, c.specsByName[crd].mergedVersionSpec) } cache := cached.MergeList(func(results []cached.Result[*spec.Swagger]) (*spec.Swagger, string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.6K bytes - Viewed (0)