- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 716 for Marche (0.21 sec)
-
internal/cachevalue/cache_test.go
) func TestCache(t *testing.T) { cache := New[time.Time]() t.Parallel() cache.InitOnce(2*time.Second, Opts{}, func() (time.Time, error) { return time.Now(), nil }, ) t1, _ := cache.Get() t2, _ := cache.Get() if !t1.Equal(t2) { t.Fatalf("expected time to be equal: %s != %s", t1, t2) } time.Sleep(3 * time.Second) t3, _ := cache.Get() if t1.Equal(t3) {
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Wed Feb 28 17:09:09 GMT 2024 - 1.5K bytes - Viewed (0) -
ci/official/envs/public_cache_push
# Sourcing this enables Bazel remote cache (read and write) # Note that "_push" cache configs write to GCS buckets and require # authentication. If you are not a Googler, source "public_cache" to enable the # public read-only cache. # The cache configs are different for MacOS and Linux if [[ $(uname -s) == "Darwin" ]]; then TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_macos_cache_push" else
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.2K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache.go
"path/filepath" "runtime" "sync" "istio.io/istio/pkg/maps" ) var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache") type PodNetnsCache interface { ReadCurrentPodSnapshot() map[string]Netns } // Hold a cache of node local pods with their netns // if we don't know the netns, the pod will still be here with a nil netns. type podNetnsCache struct {
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4K bytes - Viewed (0) -
cmd/data-usage-cache.go
// dataUsageCacheV2 contains a cache of data usage entries version 2. type dataUsageCacheV2 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV2 } // dataUsageCacheV3 contains a cache of data usage entries version 3. type dataUsageCacheV3 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV3 } // dataUsageCacheV4 contains a cache of data usage entries version 4.
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 41K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
auto it = cache_.find(key); if (it == cache_.end()) { return false; } lru_list_.erase(it->second.lru_iterator); cache_.erase(it); return true; } /// The maximum age of entries in the cache, in seconds. A value of 0 means /// that no entry is ever placed in the cache. const uint64_t max_age_; /// The maximum number of entries in the cache. A value of 0 means there is no
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K 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]
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 4.2K bytes - Viewed (0) -
tests/test_dependency_cache.py
): return {"counter": count, "subcounter": subcount} @app.get("/sub-counter-no-cache/") async def get_sub_counter_no_cache( subcount: int = Depends(super_dep), count: int = Depends(dep_counter, use_cache=False), ): return {"counter": count, "subcounter": subcount} @app.get("/scope-counter") async def get_scope_counter(
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Tue Aug 23 13:30:24 GMT 2022 - 2.7K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
return } case "Cache": var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err, "Cache") return } if z.Cache == nil { z.Cache = make(map[string]dataUsageEntry, zb0002) } else if len(z.Cache) > 0 { for key := range z.Cache { delete(z.Cache, key) } } for zb0002 > 0 { zb0002--
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Mar 21 17:21:35 GMT 2024 - 100.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
if (taskResult is TaskSuccessResult && !taskResult.isFromCache && !taskResult.isUpToDate) { println("CACHE_MISS in task $taskPath") cacheMiss.set(true) } } } /** * We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS". */
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Thu Mar 07 05:49:29 GMT 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param); ram_file_block_cache->Prune(); } private: /// The size of the blocks stored in the LRU cache, as well as the size of the /// reads from the underlying filesystem. const size_t block_size_; /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache. const size_t max_bytes_;
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0)