Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for cache (0.17 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		newCache.buildUserGroupMemberships()
    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/storage-rest-client.go

    	defer xioutil.SafeClose(updates)
    
    	st, err := storageNSScannerRPC.Call(ctx, client.gridConn, &nsScannerOptions{
    		DiskID:   *client.diskID.Load(),
    		ScanMode: int(scanMode),
    		Cache:    &cache,
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/config-current.go

    				configLogIf(ctx, fmt.Errorf("Unable to update drive config: %v", err))
    			}
    		}
    	case config.CacheSubSys:
    		cacheCfg, err := cache.LookupConfig(s[config.CacheSubSys][config.Default], globalRemoteTargetTransport)
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load cache config: %w", err))
    		} else {
    			globalCacheConfig.Update(cacheCfg)
    		}
    	case config.BrowserSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. cmd/globals.go

    	globalSubnetConfig subnet.Config
    
    	// The global callhome config
    	globalCallhomeConfig callhome.Config
    
    	// The global drive config
    	globalDriveConfig drive.Config
    
    	// The global cache config
    	globalCacheConfig cache.Config
    
    	// Global server's network statistics
    	globalConnStats = newConnStats()
    
    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    			if err == nil {
    				cache.Info.replication = replicationConfig{
    					Config:  rcfg,
    					remotes: tgts,
    				}
    			}
    		}
    	}
    
    	vcfg, _ := globalBucketVersioningSys.Get(cache.Info.Name)
    
    	// return initialized object layer
    	objAPI := newObjectLayerFn()
    	// object layer not initialized, return.
    	if objAPI == nil {
    		return cache, errServerNotInitialized
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    		memFree:           "Free memory on the node",
    		memShared:         "Shared memory on the node",
    		memBuffers:        "Buffers memory on the node",
    		memCache:          "Cache memory on the node",
    		memAvailable:      "Available memory on the node",
    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	// A src.Int63() generates 63 random bits, enough for letterIdxMax characters!
    	for i, cache, remain := n-1, src.Int63(), letterIdxMax; i >= 0; {
    		if remain == 0 {
    			cache, remain = src.Int63(), letterIdxMax
    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    		}
    		cache >>= letterIdxBits
    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top