Home
last modified time | relevance | path

Searched refs:CacheSize (Results 1 – 25 of 1638) sorted by relevance

12345678910>>...66

/dports/devel/rabs/rabs-2.19.5/src/
H A Dtargetcache.c12 static size_t CacheSize = 1; variable
16 while (CacheSize < InitialSize) CacheSize *= 2; in targetcache_init()
21 if (Index >= CacheSize) { in targetcache_index()
22 size_t NewCacheSize = CacheSize; in targetcache_index()
25 CacheSize = NewCacheSize; in targetcache_index()
34 if (Index >= CacheSize) { in targetcache_insert()
35 size_t NewCacheSize = CacheSize * 2; in targetcache_insert()
38 CacheSize = NewCacheSize; in targetcache_insert()
46 if (Index >= CacheSize) { in targetcache_search()
47 size_t NewCacheSize = CacheSize * 2; in targetcache_search()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-nfs/src/test/java/org/apache/hadoop/nfs/
H A DTestNfsExports.java87 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testCidrShortRW()
97 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testCidrShortRO()
107 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testCidrLongRW()
117 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testCidrLongRO()
127 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testRegexIPRW()
137 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testRegexIPRO()
147 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testRegexHostRW()
158 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testRegexHostRO()
169 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testRegexGrouping()
218 NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod, in testInvalidHost()
[all …]
/dports/emulators/pcsxr/pcsxr-codeplex-final/pcsxr/plugins/dfcdrom/
H A Dcfg.c27 long CacheSize; variable
63 CacheSize = 64; in LoadConf()
73 fscanf(f, "CacheSize = %ld\n", &CacheSize); in LoadConf()
79 if (CacheSize <= 0) CacheSize = 32; in LoadConf()
80 if (CacheSize > 2048) CacheSize = 2048; in LoadConf()
95 fprintf(f, "CacheSize = %ld\n", CacheSize); in SaveConf()
/dports/sysutils/kubectl/kubernetes-1.22.2/plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/
H A Dvalidation_test.go52 CacheSize: 100,
66 CacheSize: 100,
80 CacheSize: 1000,
99 CacheSize: 100,
105 CacheSize: 1000,
123 CacheSize: 1000,
137 CacheSize: 1000,
175 CacheSize: -1,
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/apiserver/pkg/apis/config/v1/
H A Ddefaults_test.go37 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize},
42 …want: &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, CacheSize: &defaultCache…
70 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize},
74 in: &KMSConfiguration{CacheSize: &zero},
75 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &zero},
79 in: &KMSConfiguration{CacheSize: &ten},
80 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &ten},
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/apiserver/pkg/apis/config/v1/
H A Ddefaults_test.go37 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize},
42 …want: &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, CacheSize: &defaultCache…
70 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize},
74 in: &KMSConfiguration{CacheSize: &zero},
75 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &zero},
79 in: &KMSConfiguration{CacheSize: &ten},
80 want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &ten},
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/tests/gtest/
H A DTestSmallArrayLRUCache.cpp27 constexpr static unsigned CacheSize = 8; variable
29 using TestCache = mozilla::SmallArrayLRUCache<Key, Value, CacheSize>;
76 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
91 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
121 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
130 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
160 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
179 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
209 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
222 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
/dports/www/firefox/firefox-99.0/xpcom/tests/gtest/
H A DTestSmallArrayLRUCache.cpp27 constexpr static unsigned CacheSize = 8; variable
29 using TestCache = mozilla::SmallArrayLRUCache<Key, Value, CacheSize>;
76 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
91 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
121 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
130 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
160 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
179 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
209 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
222 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
/dports/www/firefox-esr/firefox-91.8.0/xpcom/tests/gtest/
H A DTestSmallArrayLRUCache.cpp27 constexpr static unsigned CacheSize = 8; variable
29 using TestCache = mozilla::SmallArrayLRUCache<Key, Value, CacheSize>;
76 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
91 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
121 for (Key keys = 1; keys <= CacheSize; ++keys) { in TEST()
130 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
160 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
179 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
209 for (Key keys = CacheSize + 1; keys <= CacheSize * 2; ++keys) { in TEST()
222 for (Key i = 0; i < CacheSize * 3; ++i) { in TEST()
/dports/math/vtk9/VTK-9.1.0/Common/ExecutionModel/
H A DvtkCachedStreamingDemandDrivenPipeline.cxx33 this->CacheSize = 0; in vtkCachedStreamingDemandDrivenPipeline()
51 if (size == this->CacheSize) in SetCacheSize()
59 for (idx = 0; idx < this->CacheSize; ++idx) in SetCacheSize()
72 this->CacheSize = size; in SetCacheSize()
92 os << indent << "CacheSize: " << this->CacheSize << "\n"; in PrintSelf()
123 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
147 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
178 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
233 for (int i = 0; i < this->CacheSize; ++i) in ExecuteData()
/dports/math/vtk8/VTK-8.2.0/Common/ExecutionModel/
H A DvtkCachedStreamingDemandDrivenPipeline.cxx35 this->CacheSize = 0; in vtkCachedStreamingDemandDrivenPipeline()
54 if (size == this->CacheSize) in SetCacheSize()
62 for (idx = 0; idx < this->CacheSize; ++idx) in SetCacheSize()
75 this->CacheSize = size; in SetCacheSize()
96 os << indent << "CacheSize: " << this->CacheSize << "\n"; in PrintSelf()
130 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
154 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
188 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
250 for (int i = 0; i < this->CacheSize; ++i) in ExecuteData()
/dports/math/vtk6/VTK-6.2.0/Common/ExecutionModel/
H A DvtkCachedStreamingDemandDrivenPipeline.cxx35 this->CacheSize = 0; in vtkCachedStreamingDemandDrivenPipeline()
54 if (size == this->CacheSize) in SetCacheSize()
62 for (idx = 0; idx < this->CacheSize; ++idx) in SetCacheSize()
75 this->CacheSize = size; in SetCacheSize()
96 os << indent << "CacheSize: " << this->CacheSize << "\n"; in PrintSelf()
162 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
186 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
220 for (i = 0; i < this->CacheSize; ++i) in NeedToExecuteData()
282 for (int i = 0; i < this->CacheSize; ++i) in ExecuteData()
/dports/dns/dnsforwarder/dnsforwarder-6.1.15/
H A Dcacheht.c11 static int CacheHT_CalculateSlotCount(int CacheSize) in CacheHT_CalculateSlotCount() argument
14 if( CacheSize < 1048576 ) in CacheHT_CalculateSlotCount()
16 PreValue = CacheSize / 4979 - 18; in CacheHT_CalculateSlotCount()
18 PreValue = pow(log((double)CacheSize), 2); in CacheHT_CalculateSlotCount()
24 int CacheHT_Init(CacheHT *h, char *BaseAddr, int CacheSize) in CacheHT_Init() argument
28 h->Slots.Used = CacheHT_CalculateSlotCount(CacheSize); in CacheHT_Init()
30 h->Slots.Data = BaseAddr + CacheSize - (h->Slots.DataLength) * (h->Slots.Used); in CacheHT_Init()
48 int CacheHT_ReInit(CacheHT *h, char *BaseAddr, int CacheSize) in CacheHT_ReInit() argument
50 h->Slots.Data = BaseAddr + CacheSize - (h->Slots.DataLength) * (h->Slots.Used); in CacheHT_ReInit()
H A Ddnscache.c27 static int32_t CacheSize; variable
40 int32_t CacheSize; member
107 if( Header->CacheSize != CacheSize ) in IsReloadable()
124 CacheHT_ReInit(CacheInfo, MapStart, CacheSize); in ReloadCache()
136 memset(MapStart, 0, CacheSize); in CreateNewCache()
139 Header->CacheSize = CacheSize; in CreateNewCache()
154 CacheHT_Init(CacheInfo, MapStart, CacheSize); in CreateNewCache()
227 CacheSize = ROUND_UP(_CacheSize, 8); in DNSCache_Init()
229 if( CacheSize < 102400 ) in DNSCache_Init()
237 MapStart = SafeMalloc(CacheSize); in DNSCache_Init()
[all …]
/dports/games/scid/scid/src/
H A Dtree.h132 size_t CacheSize; variable
139 CacheSize(0), in TreeCache()
151 return CacheSize; in Size()
157 if (max_size != CacheSize) { in CacheResize()
158 CacheSize = max_size; in CacheResize()
219 if (NumInUse < CacheSize) { in Add()
225 cachedTreeT* end = Cache + CacheSize; in Add()
/dports/graphics/imageviewer/ImageViewer-0.6.3/
H A DPrefController.m44 string = [[NSUserDefaults standardUserDefaults] objectForKey:@"CacheSize"];
52 [prefDict setObject:@"50" forKey:@"CacheSize"];
73 [prefDict setObject:val forKey:@"CacheSize"];
111 string = [[NSUserDefaults standardUserDefaults] objectForKey:@"CacheSize"];
121 NSString *string = [prefDict objectForKey:@"CacheSize"];
124 forKey:@"CacheSize"];
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
196 initLinkerInitialized(Size, CacheSize); in init()
263 const uptr CacheSize = Cache.getSize(); local
265 DCHECK_GE(CacheSize, OverheadSize);
270 if (CacheSize > OverheadSize &&
272 CacheSize * OverheadThresholdPercents) {
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
191 initLinkerInitialized(Size, CacheSize); in init()
258 const uptr CacheSize = Cache.getSize(); local
260 DCHECK_GE(CacheSize, OverheadSize);
265 if (CacheSize > OverheadSize &&
267 CacheSize * OverheadThresholdPercents) {
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
196 initLinkerInitialized(Size, CacheSize); in init()
263 const uptr CacheSize = Cache.getSize(); local
265 DCHECK_GE(CacheSize, OverheadSize);
270 if (CacheSize > OverheadSize &&
272 CacheSize * OverheadThresholdPercents) {
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
196 initLinkerInitialized(Size, CacheSize); in init()
263 const uptr CacheSize = Cache.getSize(); local
265 DCHECK_GE(CacheSize, OverheadSize);
270 if (CacheSize > OverheadSize &&
272 CacheSize * OverheadThresholdPercents) {
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
196 initLinkerInitialized(Size, CacheSize); in init()
263 const uptr CacheSize = Cache.getSize(); local
265 DCHECK_GE(CacheSize, OverheadSize);
270 if (CacheSize > OverheadSize &&
272 CacheSize * OverheadThresholdPercents) {
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h178 void initLinkerInitialized(uptr Size, uptr CacheSize) { in initLinkerInitialized() argument
181 CHECK((Size == 0 && CacheSize == 0) || CacheSize != 0); in initLinkerInitialized()
185 atomic_store_relaxed(&MaxCacheSize, CacheSize); in initLinkerInitialized()
189 void init(uptr Size, uptr CacheSize) { in init() argument
196 initLinkerInitialized(Size, CacheSize); in init()
263 const uptr CacheSize = Cache.getSize(); local
265 DCHECK_GE(CacheSize, OverheadSize);
270 if (CacheSize > OverheadSize &&
272 CacheSize * OverheadThresholdPercents) {
/dports/sysutils/acpica-tools/acpica-unix-20210930/source/compiler/
H A Daslcache.c183 UINT32 CacheSize = ASL_STRING_CACHE_SIZE; in UtLocalCacheCalloc() local
186 if (Length > CacheSize) in UtLocalCacheCalloc()
188 CacheSize = Length; in UtLocalCacheCalloc()
192 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
212 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
222 AslGbl_StringCacheLast = AslGbl_StringCacheNext + CacheSize; in UtLocalCacheCalloc()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/
H A DControlFlowInstructions.cs17 internal const int CacheSize = 32; field in System.Linq.Expressions.Interpreter.OffsetInstruction
59 s_cache = new Instruction[CacheSize];
91 s_cache = new Instruction[CacheSize];
123 s_cache = new Instruction[CacheSize];
190 protected const int CacheSize = 32; field in System.Linq.Expressions.Interpreter.IndexedBranchInstruction
245 … private static readonly GotoInstruction[] s_cache = new GotoInstruction[Variants * CacheSize];
273 if (labelIndex < CacheSize) in Create()
532 if (labelIndex < CacheSize) in Create()
581 … private static readonly EnterFaultInstruction[] s_cache = new EnterFaultInstruction[CacheSize];
593 if (labelIndex < CacheSize) in Create()
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgUtil/tristripper/include/
H A Dtri_stripper.h67 void SetCacheSize(size_t CacheSize = 10);
117 size_t CacheSize() const;
142 inline void tri_stripper::SetCacheSize(const size_t CacheSize) in SetCacheSize() argument
144 m_Cache.resize(CacheSize); in SetCacheSize()
145 m_BackCache.resize(CacheSize); in SetCacheSize()

12345678910>>...66