- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for cached_value (0.09 seconds)
-
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
} }); MockletHttpServletRequest request = getMockRequest(); request.setAttribute(FessConfig.VIRTUAL_HOST_VALUE, "cached_value"); String key = virtualHostHelper.getVirtualHostKey(); assertEquals("cached_value", key); } @Test public void test_processVirtualHost() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
cmd/metrics-v3-cache.go
memoryMetrics *cachevalue.Cache[madmin.MemInfo] cpuMetrics *cachevalue.Cache[madmin.CPUMetrics] clusterDriveMetrics *cachevalue.Cache[storageMetrics] nodesUpDown *cachevalue.Cache[nodesOnline] } func newMetricsCache() *metricsCache { return &metricsCache{ dataUsageInfo: newDataUsageInfoCache(), esetHealthResult: newESetHealthResultCache(), driveMetrics: newDriveMetricsCache(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
} public void testGetAllPresent_cached() { Object cachedKey = new Object(); Object cachedValue = new Object(); Cache<Object, Object> cache = new AbstractCache<Object, Object>() { @Override public @Nullable Object getIfPresent(Object key) { return cachedKey.equals(key) ? cachedValue : null; } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 6.4K bytes - Click Count (0) -
cmd/data-usage.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu May 09 00:51:34 GMT 2024 - 5.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
return entryIterator.next().getKey(); } }; } private transient @Nullable ImmutableCollection<V> cachedValues = null; @Override public ImmutableCollection<V> values() { if (cachedValues != null) { return cachedValues; } return cachedValues = createValues(); } // cached so that this.multimapView().inverse() only computes inverse once
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
cmd/data-usage_test.go
return sizeS, err } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return sizeS, err } xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()} xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) { return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil }) weSleep := func() bool { return false }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/bucket-quota.go
func NewBucketQuotaSys() *BucketQuotaSys { return &BucketQuotaSys{} } var bucketStorageCache = cachevalue.New[DataUsageInfo]() // Init initialize bucket quota. func (sys *BucketQuotaSys) Init(objAPI ObjectLayer) { bucketStorageCache.InitOnce(10*time.Second, cachevalue.Opts{ReturnLastGood: true, NoWait: true}, func(ctx context.Context) (DataUsageInfo, error) { if objAPI == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/storage-rest-client.go
"io" "net/http" "net/url" "path" "strconv" "strings" "sync/atomic" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/cachevalue" "github.com/minio/minio/internal/grid" xhttp "github.com/minio/minio/internal/http" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/rest" xnet "github.com/minio/pkg/v3/net"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
internal/cachevalue/cache_test.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cachevalue import ( "context" "errors" "testing" "time" ) func slowCaller(ctx context.Context) error { sl := time.NewTimer(time.Second) defer sl.Stop() select { case <-sl.C:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/cachevalue/cache.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cachevalue import ( "context" "sync" "sync/atomic" "time" ) // Opts contains options for the cache. type Opts struct { // When set to true, return the last cached value
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0)