/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/VictoriaMetrics/fastcache/ |
H A D | file_test.go | 65 const itemsCount = 10000 68 for i := 0; i < itemsCount; i++ { 88 if s.EntriesCount != itemsCount { 89 t.Fatalf("unexpected entriesCount; got %d; want %d", s.EntriesCount, itemsCount) 100 if s.EntriesCount != itemsCount { 103 for i := 0; i < itemsCount; i++ { 117 if s.EntriesCount != itemsCount { 120 for i := 0; i < itemsCount; i++ { 131 for i := 0; i < itemsCount; i++ { 142 for i := 0; i < itemsCount; i++ { [all …]
|
H A D | fastcache_test.go | 162 itemsCount := 10000 163 c := New(30 * itemsCount) 165 if err := testCacheGetSet(c, itemsCount); err != nil { 171 itemsCount := 10000 173 c := New(30 * itemsCount * gorotines) 179 ch <- testCacheGetSet(c, itemsCount) 194 func testCacheGetSet(c *Cache, itemsCount int) error { 195 for i := 0; i < itemsCount; i++ { 205 for i := 0; i < itemsCount; i++ { 216 if misses >= itemsCount/100 { [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/ |
H A D | resources.cpp | 101 itemsCount = 0; in TOTResourceTable() 113 itemsCount = 0; in EXTResourceTable() 125 itemsCount = 0; in TOTTextTable() 252 _totResourceTable->itemsCount = stream->readSint16LE(); in loadTOTResourceTable() 267 for (int i = 0; i < _totResourceTable->itemsCount; ++i) { in loadTOTResourceTable() 304 _extResourceTable->itemsCount = stream->readSint16LE(); in loadEXTResourceTable() 307 if (_extResourceTable->itemsCount > 0) in loadEXTResourceTable() 310 for (int i = 0; i < _extResourceTable->itemsCount; i++) { in loadEXTResourceTable() 324 kEXTResItemSize * _extResourceTable->itemsCount; in loadEXTResourceTable() 370 for (int i = 0; i < _totTextTable->itemsCount; ++i) { in loadTOTTextTable() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/ |
H A D | resources.cpp | 101 itemsCount = 0; in TOTResourceTable() 113 itemsCount = 0; in EXTResourceTable() 125 itemsCount = 0; in TOTTextTable() 252 _totResourceTable->itemsCount = stream->readSint16LE(); in loadTOTResourceTable() 267 for (int i = 0; i < _totResourceTable->itemsCount; ++i) { in loadTOTResourceTable() 304 _extResourceTable->itemsCount = stream->readSint16LE(); in loadEXTResourceTable() 307 if (_extResourceTable->itemsCount > 0) in loadEXTResourceTable() 310 for (int i = 0; i < _extResourceTable->itemsCount; i++) { in loadEXTResourceTable() 324 kEXTResItemSize * _extResourceTable->itemsCount; in loadEXTResourceTable() 370 for (int i = 0; i < _totTextTable->itemsCount; ++i) { in loadTOTTextTable() [all …]
|
/dports/games/bubble-chains/bubble-chains-0.2.0/ |
H A D | gameitem.cpp | 5 QMap<int,int> GameItem::itemsCount; member in GameItem 14 itemsCount[id] = itemsCount[id]+1; in GameItem() 19 if (itemsCount[myId] > 0) in ~GameItem() 20 itemsCount[myId] = itemsCount[myId]-1; in ~GameItem()
|
H A D | gameitem.h | 59 static int count(int id) { return itemsCount[id]; } in count() 60 static void dropCount() { itemsCount.clear(); } in dropCount() 76 static QMap<int,int> itemsCount; variable
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/picbrowser/ |
H A D | multicombobox.cpp | 97 int itemsCount = count(); in setCheckstate() local 99 if ( index < 0 || index >= itemsCount ) in setCheckstate() 121 int itemsCount = count(); in checkstate() local 123 if ( index < 0 || index >= itemsCount ) in checkstate() 157 int itemsCount = count(); in addItem() local 159 setCheckstate ( itemsCount-1, checked ); in addItem() 161 return itemsCount-1; in addItem()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/ |
H A D | CTable.java | 110 int itemsCount = 0; field in CTable 553 itemsCount++; in createItem() 812 itemsCount--; 1145 return itemsCount; 2490 if (itemsCount == 0) { 2516 if (itemsCount == 0) { 3208 if (itemsCount > 0) { 3603 if (itemsCount == 0 || start >= itemsCount) return; 3929 itemsCount = count; 3939 itemsCount++; [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/widgets/metadata/config/ |
H A D | metadatapanel.cpp | 293 if (d->exifViewerConfig->itemsCount()) in applySettings() 298 if (d->mknoteViewerConfig->itemsCount()) in applySettings() 303 if (d->iptcViewerConfig->itemsCount()) in applySettings() 308 if (d->xmpViewerConfig->itemsCount()) in applySettings() 313 if (d->exifToolViewerConfig->itemsCount()) in applySettings() 332 if (!d->exifViewerConfig->itemsCount()) in slotTabChanged() 340 if (!d->mknoteViewerConfig->itemsCount()) in slotTabChanged() 348 if (!d->iptcViewerConfig->itemsCount()) in slotTabChanged() 356 if (!d->xmpViewerConfig->itemsCount()) in slotTabChanged() 364 if (!d->exifToolViewerConfig->itemsCount()) in slotTabChanged()
|
/dports/textproc/sablotron/Sablot-1.0.3/src/engine/ |
H A D | hash.cpp | 71 itemsCount = 0; in initialize() 81 itemsCount = -1; // not initialized yet in HashTable() 86 Log2(S, L2_DISP_HASH, Str(itemsCount), Str(buckets.number())); in destroy() 120 sabassert(itemsCount != -1); // assert hash table initialized in lookupOrPreceding() 134 sabassert(itemsCount != -1); // assert hash table initialized in insert() 142 if ( buckets.number() <= itemsCount ) in insert() 144 ++itemsCount; in insert() 169 sabassert(itemsCount != -1); // assert hash table initialized in lookup() 189 sabassert(itemsCount != -1); // assert hash table initialized in expandWatching() 232 sabassert(itemsCount != -1); // assert hash table initialized in getKey() [all …]
|
/dports/net-im/ktp-desktop-applets/ktp-desktop-applets-21.12.3/chat/org.kde.ktp-chat/contents/ui/ |
H A D | FullChatList.qml | 33 property real preferredLength: itemsCount*preferredItemSize+(spacing*itemsCount-1) 34 property real preferredThickness: itemsCount==0 ? 0 : preferredItemSize 35 property real minimumLength: itemsCount*minimumItemSize+(spacing*itemsCount-1) 36 property real minimumThickness: itemsCount==0 ? 0 : minimumItemSize 44 property int itemsCount: pinnedView.count + conversationsView.count 45 …y real itemWidth: Math.max(0, flow===Flow.LeftToRight ? Math.min(height, width/itemsCount) : width) 46 … real itemHeight:Math.max(0, flow===Flow.TopToBottom ? Math.min(width, height/itemsCount) : height)
|
/dports/www/tikiwiki/tiki-21.2/lib/core/Services/Forum/ |
H A D | Controller.php | 91 if ($util->itemsCount > 0) { 141 if ($util->itemsCount == 1) { 175 if ($util->itemsCount > 0) { 224 if ($util->itemsCount == 1) { 256 if ($util->itemsCount > 0) { 279 if ($util->itemsCount == 1) { 332 if ($util->itemsCount == 1) { 387 if ($util->itemsCount > 0) { 510 if ($util->itemsCount > 0) { 532 if ($util->itemsCount == 1) { [all …]
|
/dports/www/nextcloud/nextcloud/lib/private/AppFramework/OCS/ |
H A D | BaseResponse.php | 44 protected $itemsCount; variable in OC\\AppFramework\\OCS\\BaseResponse 55 * @param int|null $itemsCount 61 $itemsCount = null, argument 67 $this->itemsCount = $itemsCount;
|
/dports/games/openmw/openmw-openmw-0.47.0/components/esm/ |
H A D | inventorystate.cpp | 38 int itemsCount = 0; in load() local 39 esm.getHNOT(itemsCount, "ICNT"); in load() 40 for (int i = 0; i < itemsCount; i++) in load() 128 int itemsCount = static_cast<int>(mItems.size()); in save() local 129 if (itemsCount > 0) in save() 131 esm.writeHNT ("ICNT", itemsCount); in save()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/mobile/Android/app/src/main/java/org/geuz/onelab/ |
H A D | SeparatedListView.java | 114 int itemsCount = sections.get(section + 1).getItemsCount(); in getItem() local 117 else if(lastPosition + 1 + itemsCount >= in getItem() 123 lastPosition += 1 + itemsCount; in getItem() 141 int itemsCount = sections.get(section + 1).getItemsCount(); in getView() local 144 else if(lastPosition + 1 + itemsCount >= in getView() 150 lastPosition += 1 + itemsCount; in getView()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/external/firebird/ |
H A D | ubsan.patch | 33 fb_assert(count <= FB_MAX_SIZEOF - itemsCount); 34 ensureCapacity(count + itemsCount); 35 memmove(data + index + itemsCount, data + index, sizeof(T) * (count - index)); 36 - memcpy(data + index, items, sizeof(T) * itemsCount); 37 + if (itemsCount != 0) memcpy(data + index, items, sizeof(T) * itemsCount); 38 count += itemsCount; 43 fb_assert(count <= FB_MAX_SIZEOF - itemsCount); 44 ensureCapacity(count + itemsCount); 45 - memcpy(data + count, items, sizeof(T) * itemsCount); 46 + if (itemsCount != 0) memcpy(data + count, items, sizeof(T) * itemsCount); [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/external/firebird/ |
H A D | ubsan.patch | 33 fb_assert(count <= FB_MAX_SIZEOF - itemsCount); 34 ensureCapacity(count + itemsCount); 35 memmove(data + index + itemsCount, data + index, sizeof(T) * (count - index)); 36 - memcpy(data + index, items, sizeof(T) * itemsCount); 37 + if (itemsCount != 0) memcpy(data + index, items, sizeof(T) * itemsCount); 38 count += itemsCount; 43 fb_assert(count <= FB_MAX_SIZEOF - itemsCount); 44 ensureCapacity(count + itemsCount); 45 - memcpy(data + count, items, sizeof(T) * itemsCount); 46 + if (itemsCount != 0) memcpy(data + count, items, sizeof(T) * itemsCount); [all …]
|
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-sdb/source/model/ |
H A D | BatchDeleteAttributesRequest.cpp | 30 unsigned itemsCount = 1; in SerializePayload() local 33 item.OutputToStream(ss, "Item.", itemsCount, ""); in SerializePayload() 34 itemsCount++; in SerializePayload()
|
H A D | BatchPutAttributesRequest.cpp | 30 unsigned itemsCount = 1; in SerializePayload() local 33 item.OutputToStream(ss, "Item.", itemsCount, ""); in SerializePayload() 34 itemsCount++; in SerializePayload()
|
/dports/www/tikiwiki/tiki-21.2/lib/core/Services/Group/ |
H A D | Controller.php | 67 if ($util->itemsCount > 0) { 404 if ($util->itemsCount > 0) { 405 if ($util->itemsCount === 1) { 480 if ($util->itemsCount > 0) { 481 if ($util->itemsCount === 1) { 522 if ($util->itemsCount > 0) { 523 if ($util->itemsCount === 1) { 556 if ($util->itemsCount > 0) { 557 if ($util->itemsCount === 1) { 576 if ($util->itemsCount > 0) {
|
/dports/www/xoops/XoopsCore25-2.5.10/htdocs/class/smarty/xoops_plugins/ |
H A D | function.xoPageNav.php | 26 $pagesCount = (int)($itemsCount / $pageSize); 27 if ($itemsCount <= $pageSize || $pagesCount < 2) { 32 $lastPage = (int)($itemsCount / $pageSize) + 1;
|
/dports/audio/csound/csound-6.15.0/Opcodes/websockets/ |
H A D | WebSocketOpcode.c | 55 int32_t itemsCount; member 112 currentArgument->itemsCount); in WebSocketOpcode_sendInputArgumentData() 114 if (UNLIKELY(itemsWritten != currentArgument->itemsCount)) { in WebSocketOpcode_sendInputArgumentData() 140 currentArgument->itemsCount); in WebSocketOpcode_receiveOutputArgumentData() 232 argumentArrayItem->itemsCount = stringVarMaximumBytesCount; in WebSocketOpcode_allocateStringArgument() 243 argumentArrayItem->itemsCount * in WebSocketOpcode_allocateStringArgument() 268 array->arrayMemberSize * argumentArrayItem->itemsCount; in WebSocketOpcode_allocateArrayArgument() 271 argumentArrayItem->itemsCount * in WebSocketOpcode_allocateArrayArgument() 284 argumentArrayItem->itemsCount = 1; in WebSocketOpcode_allocateVariableArgument() 445 argument->itemsCount); in WebSocketOpcode_handleServerWritable() [all …]
|
/dports/games/manaplus/manaplus-2.1.3.17/src/net/eathena/ |
H A D | cashshoprecv.cpp | 158 const int itemsCount = msg.readInt16("count"); in processCashShopTabPriceList() local 159 if (count != itemsCount) in processCashShopTabPriceList() 176 const int itemsCount = msg.readInt16("count"); in processCashShopSchedule() local 178 if (count != itemsCount) in processCashShopSchedule()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_spellcheck/spellcheck/ |
H A D | spelling_highlighter_helper.cpp | 44 auto itemsCount = actions.size() - sepCount; in IsContextMenuTop() local 46 itemsCount += additional; in IsContextMenuTop() 54 const auto height = itemHeight * itemsCount in IsContextMenuTop()
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/dashboard/components/PanelEditor/ |
H A D | OptionsPaneCategory.tsx | 15 itemsCount?: number; 25 …({ id, title, children, forceOpen, isOpenDefault, renderTitle, className, itemsCount, isNested = f… 66 if (isExpanded || itemsCount === undefined || itemsCount === 0) { 72 {title} <Counter value={itemsCount} />
|