/dports/devel/rabs/rabs-2.19.5/src/ |
H A D | targetcache.c | 12 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 D | TestNfsExports.java | 87 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 D | cfg.c | 27 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 D | validation_test.go | 52 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 D | defaults_test.go | 37 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 D | defaults_test.go | 37 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 D | TestSmallArrayLRUCache.cpp | 27 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 D | TestSmallArrayLRUCache.cpp | 27 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 D | TestSmallArrayLRUCache.cpp | 27 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 D | vtkCachedStreamingDemandDrivenPipeline.cxx | 33 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 D | vtkCachedStreamingDemandDrivenPipeline.cxx | 35 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 D | vtkCachedStreamingDemandDrivenPipeline.cxx | 35 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 D | cacheht.c | 11 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 D | dnscache.c | 27 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 D | tree.h | 132 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 D | PrefController.m | 44 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 D | quarantine.h | 178 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 D | quarantine.h | 178 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 D | quarantine.h | 178 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 D | quarantine.h | 178 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 D | quarantine.h | 178 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 D | quarantine.h | 178 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 D | aslcache.c | 183 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 D | ControlFlowInstructions.cs | 17 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 D | tri_stripper.h | 67 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()
|