- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for fakecache (0.19 sec)
-
src/runtime/mpagecache_test.go
"testing" ) func checkPageCache(t *testing.T, got, want PageCache) { if got.Base() != want.Base() { t.Errorf("bad pageCache base: got 0x%x, want 0x%x", got.Base(), want.Base()) } if got.Cache() != want.Cache() { t.Errorf("bad pageCache bits: got %016x, want %016x", got.Base(), want.Base()) } if got.Scav() != want.Scav() { t.Errorf("bad pageCache scav: got %016x, want %016x", got.Scav(), want.Scav()) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 10.8K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
pkiutil "istio.io/istio/security/pkg/pki/util" ) func TestWorkloadAgentGenerateSecret(t *testing.T) { fakeCACli, err := mock.NewMockCAClient(time.Hour, true) var got, want []byte if err != nil { t.Fatalf("Error creating Mock CA client: %v", err) } sc := createCache(t, fakeCACli, func(resourceName string) {}, security.Options{WorkloadRSAKeySize: 2048})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/internal/objfile/disasm.go
type CachedFile struct { FileName string Lines [][]byte } // FileCache is a simple LRU cache of file contents. type FileCache struct { files *list.List maxLen int } // NewFileCache returns a FileCache which can contain up to maxLen cached file contents. func NewFileCache(maxLen int) *FileCache { return &FileCache{ files: list.New(), maxLen: maxLen, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 10.5K bytes - Viewed (0) -
src/runtime/export_test.go
// Expose pageCache for testing. type PageCache pageCache const PageCachePages = pageCachePages func NewPageCache(base uintptr, cache, scav uint64) PageCache { return PageCache(pageCache{base: base, cache: cache, scav: scav}) } func (c *PageCache) Empty() bool { return (*pageCache)(c).empty() } func (c *PageCache) Base() uintptr { return (*pageCache)(c).base }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
pilot/pkg/model/network.go
func NewNetworkManager(env *Environment, xdsUpdater XDSUpdater) (*NetworkManager, error) { nameCache, err := newNetworkGatewayNameCache() if err != nil { return nil, err } mgr := &NetworkManager{ env: env, NameCache: nameCache, xdsUpdater: xdsUpdater, NetworkGateways: &NetworkGateways{}, Unresolved: &NetworkGateways{}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
protected ActionHook actionHook = new ActionHook(); protected final Set<String> inlineMimeTypeSet = new HashSet<>(); protected Cache<String, FacetResponse> facetCache; protected long facetCacheDuration = 60 * 10L; // 10min protected int textFragmentPrefixLength; protected int textFragmentSuffixLength; protected int textFragmentSize;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 30 06:58:45 UTC 2024 - 40.2K bytes - Viewed (0) -
pilot/pkg/bootstrap/configcontroller.go
ingressSyncer.Run(leaderStop) }). Run(stop) return nil }) } // Wrap the config controller with a cache. aggregateConfigController, err := configaggregate.MakeCache(s.ConfigStores) if err != nil { return err } s.configController = aggregateConfigController // Create the config store. s.environment.ConfigStore = aggregateConfigController
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 14.1K bytes - Viewed (0) -
src/runtime/runtime2.go
syscalltick uint32 // incremented on every system call sysmontick sysmontick // last tick observed by sysmon m muintptr // back-link to associated m (nil if idle) mcache *mcache pcache pageCache raceprocctx uintptr deferpool []*_defer // pool of available defer structs (see panic.go) deferpoolbuf [32]*_defer // Cache of goroutine ids, amortizes accesses to runtime·sched.goidgen.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0)