/dports/sysutils/hstr/hstr-2.3/src/ |
H A D | radixsort.c | 45 int topIndex = GET_TOP_INDEX(rs->maxKey); in radixsort_destroy() local 47 if(rs->topDigits[topIndex]) { in radixsort_destroy() 48 free(rs->topDigits[topIndex]); in radixsort_destroy() 51 } while(--topIndex>=0); in radixsort_destroy() 96 if(!rs->topDigits[topIndex]) { in radixsort_add() 97 rs->topDigits[topIndex]=radixsort_get_slot(rs, topIndex); in radixsort_add() 101 rs->topDigits[topIndex][lowIndex]=item; in radixsort_add() 110 rs->_slotDescriptors[topIndex]->min=MIN(rs->_slotDescriptors[topIndex]->min,item->key); in radixsort_add() 111 rs->_slotDescriptors[topIndex]->max=MAX(rs->_slotDescriptors[topIndex]->max,item->key); in radixsort_add() 143 if(rs->topDigits[topIndex]) { in radix_cut() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/xeen/dialogs/ |
H A D | dialogs_awards.cpp | 42 int topIndex = 0; in execute() local 86 awards[topIndex].c_str(), in execute() 87 awards[topIndex + 1].c_str(), in execute() 88 awards[topIndex + 2].c_str(), in execute() 89 awards[topIndex + 3].c_str(), in execute() 90 awards[topIndex + 4].c_str(), in execute() 91 awards[topIndex + 5].c_str(), in execute() 92 awards[topIndex + 6].c_str(), in execute() 94 awards[topIndex + 8].c_str() in execute() 108 topIndex = MAX(topIndex - 1, 0); in execute() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/xeen/dialogs/ |
H A D | dialogs_awards.cpp | 42 int topIndex = 0; in execute() local 86 awards[topIndex].c_str(), in execute() 87 awards[topIndex + 1].c_str(), in execute() 88 awards[topIndex + 2].c_str(), in execute() 89 awards[topIndex + 3].c_str(), in execute() 90 awards[topIndex + 4].c_str(), in execute() 91 awards[topIndex + 5].c_str(), in execute() 92 awards[topIndex + 6].c_str(), in execute() 94 awards[topIndex + 8].c_str() in execute() 108 topIndex = MAX(topIndex - 1, 0); in execute() [all …]
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/fullcalendar/fullcalendar/src/common/ |
H A D | CoordCache.ts | 191 getTopOffset(topIndex) { 193 return this.tops[topIndex] 198 getTopPosition(topIndex) { 200 return this.tops[topIndex] - this.origin.top 205 getBottomOffset(topIndex) { 207 return this.bottoms[topIndex] 213 getBottomPosition(topIndex) { 215 return this.bottoms[topIndex] - this.origin.top 220 getHeight(topIndex) { 222 return this.bottoms[topIndex] - this.tops[topIndex]
|
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/compression/ |
H A D | MeshBuffer.java | 82 private int topIndex = SIZE - 1 ; field in MeshBuffer 151 topIndex = nextTop(topIndex) ; in push() 153 positionIndices[topIndex] = positionIndex ; in push() 154 normalIndices[topIndex] = normalIndex ; in push() 159 colorIndices[topIndex] = colorIndex ; in push() 169 return flipOffset(topIndex, index) ; in getMeshReference() 173 return positionIndices[flipOffset(topIndex, meshReference)] ; in getPositionIndex() 177 return colorIndices[flipOffset(topIndex, meshReference)] ; in getColorIndex() 181 return normalIndices[flipOffset(topIndex, meshReference)] ; in getNormalIndex()
|
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/geometry/compression/ |
H A D | MeshBuffer.java | 82 private int topIndex = SIZE - 1 ; field in MeshBuffer 151 topIndex = nextTop(topIndex) ; in push() 153 positionIndices[topIndex] = positionIndex ; in push() 154 normalIndices[topIndex] = normalIndex ; in push() 159 colorIndices[topIndex] = colorIndex ; in push() 169 return flipOffset(topIndex, index) ; in getMeshReference() 173 return positionIndices[flipOffset(topIndex, meshReference)] ; in getPositionIndex() 177 return colorIndices[flipOffset(topIndex, meshReference)] ; in getColorIndex() 181 return normalIndices[flipOffset(topIndex, meshReference)] ; in getNormalIndex()
|
/dports/x11/konsole/konsole-21.12.3/src/characters/ |
H A D | LineBlockCharacters.cpp | 236 for (unsigned int topIndex = 0; topIndex < LinesNum / 2; topIndex++) { in drawBasicLineCharacter() local 238 … const bool isSingleLine = (getLineType(topIndex) == LtLight || getLineType(topIndex) == LtHeavy); in drawBasicLineCharacter() 240 pathForLine(topIndex).moveTo(origin[topIndex]); in drawBasicLineCharacter() 242 removeLineType(topIndex); in drawBasicLineCharacter() 256 topIndex = i; in drawBasicLineCharacter() 283 pathForLine(topIndex).moveTo(origin[topIndex]); in drawBasicLineCharacter() 292 drawUpRight(topIndex, rightIndex); in drawBasicLineCharacter() 301 heavyPath.moveTo(origin[topIndex]); in drawBasicLineCharacter() 318 qSwap(rightIndex, topIndex); in drawBasicLineCharacter() 321 drawUpRight(topIndex, rightIndex); in drawBasicLineCharacter() [all …]
|
/dports/games/spring/spring_98.0/rts/aGui/ |
H A D | List.cpp | 39 topIndex = 0; in List() 58 int t = topIndex; in RefreshQuery() 63 topIndex = t; in RefreshQuery() 101 if(topIndex > 0) in ScrollUpOne() 102 --topIndex; in ScrollUpOne() 108 ++topIndex; in ScrollDownOne() 133 if(topIndex + numDisplay > filteredItems->size()) in UpdateTopIndex() 188 …topIndex = std::max(0, std::min(topIndex - NumDisplay(), (int)filteredItems->size() - NumDisplay()… in MouseUpdate() 190 …topIndex = std::max(0, std::min(topIndex + NumDisplay(), (int)filteredItems->size() - NumDisplay()… in MouseUpdate() 407 topIndex = std::max(0, place - NumDisplay()/2); in CenterSelected() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/ |
H A D | Snippet51.java | 47 int topIndex = table.getTopIndex(); in main() 48 int newTopIndex = Math.max(0, topIndex - visibleItemCount); in main() 49 if (topIndex != newTopIndex) { in main() 59 int topIndex = table.getTopIndex(); in main() 60 int newTopIndex = Math.min(table.getItemCount(), topIndex + visibleItemCount); in main() 61 if (topIndex != newTopIndex) { in main()
|
/dports/audio/pianobooster/PianoBooster-1.0.0/src/ |
H A D | Piano.cpp | 41 void CPiano::spaceNoteBunch(unsigned int bottomIndex, unsigned int topIndex) in spaceNoteBunch() argument 50 range = topIndex - bottomIndex; in spaceNoteBunch() 70 for (i = midPoint + 1; i < static_cast<int>(topIndex); i++) in spaceNoteBunch() 149 unsigned int topIndex; in spaceNoteNames() local 158 topIndex = 0; in spaceNoteNames() 166 if (topIndex<i) topIndex = i; in spaceNoteNames() 172 spaceNoteBunch(bottomIndex -1, topIndex +1); in spaceNoteNames() 176 topIndex = 0; in spaceNoteNames() 181 spaceNoteBunch(bottomIndex -1, topIndex +1); in spaceNoteNames()
|
/dports/devel/elf-dissector/elf-dissector-942274185cc89fabf74f5f1efb886ecf210ab2fb/tests/auto/ |
H A D | dependencymodeltest.cpp | 50 const auto topIndex = model.index(0, 0); in modelTest() local 51 QVERIFY(model.rowCount(topIndex) > 0); in modelTest() 52 QVERIFY(topIndex.isValid()); in modelTest() 53 QCOMPARE(model.rowCount(topIndex), s.file(0)->dynamicSection()->neededLibraries().size()); in modelTest()
|
/dports/net-im/quaternion/Quaternion-0.0.95-beta3/client/ |
H A D | quaternionroom.cpp | 67 void QuaternionRoom::saveViewport(int topIndex, int bottomIndex) in saveViewport() argument 69 if (topIndex == -1 || bottomIndex == -1 in saveViewport() 71 && (bottomIndex == 0 || topIndex == savedTopVisibleIndex()))) in saveViewport() 79 qDebug() << "Saving viewport:" << topIndex << "thru" << bottomIndex; in saveViewport() 80 setFirstDisplayedEvent(maxTimelineIndex() - topIndex); in saveViewport()
|
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/pdf/ |
H A D | PdfFormField.java | 170 …ted static PdfFormField createChoice(PdfWriter writer, int flags, PdfArray options, int topIndex) { in createChoice() argument 175 if (topIndex > 0) in createChoice() 176 field.put(PdfName.TI, new PdfNumber(topIndex)); in createChoice() 180 public static PdfFormField createList(PdfWriter writer, String options[], int topIndex) { in createList() argument 181 return createChoice(writer, 0, processOptions(options), topIndex); in createList() 184 public static PdfFormField createList(PdfWriter writer, String options[][], int topIndex) { in createList() argument 185 return createChoice(writer, 0, processOptions(options), topIndex); in createList() 188 …c static PdfFormField createCombo(PdfWriter writer, boolean edit, String options[], int topIndex) { in createCombo() argument 189 … return createChoice(writer, FF_COMBO + (edit ? FF_EDIT : 0), processOptions(options), topIndex); in createCombo() 192 …static PdfFormField createCombo(PdfWriter writer, boolean edit, String options[][], int topIndex) { in createCombo() argument [all …]
|
/dports/print/pdftk/pdftk-7d2ac3c1fa858f2c247c809fc6ef43f71f241098/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/ |
H A D | PdfFormField.java | 175 …ted static PdfFormField createChoice(PdfWriter writer, int flags, PdfArray options, int topIndex) { in createChoice() argument 180 if (topIndex > 0) in createChoice() 181 field.put(PdfName.TI, new PdfNumber(topIndex)); in createChoice() 185 public static PdfFormField createList(PdfWriter writer, String options[], int topIndex) { in createList() argument 186 return createChoice(writer, 0, processOptions(options), topIndex); in createList() 189 public static PdfFormField createList(PdfWriter writer, String options[][], int topIndex) { in createList() argument 190 return createChoice(writer, 0, processOptions(options), topIndex); in createList() 193 …c static PdfFormField createCombo(PdfWriter writer, boolean edit, String options[], int topIndex) { in createCombo() argument 194 … return createChoice(writer, FF_COMBO + (edit ? FF_EDIT : 0), processOptions(options), topIndex); in createCombo() 197 …static PdfFormField createCombo(PdfWriter writer, boolean edit, String options[][], int topIndex) { in createCombo() argument [all …]
|
/dports/sysutils/krename/krename-5.0.1/src/ |
H A D | modeltest.cpp | 131 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in rowCount() local 132 int rows = model->rowCount(topIndex); in rowCount() 135 Q_ASSERT(model->hasChildren(topIndex) == true); in rowCount() 158 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in columnCount() local 159 Q_ASSERT(model->columnCount(topIndex) >= 0); in columnCount() 162 QModelIndex childIndex = model->index(0, 0, topIndex); in columnCount() 246 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in parent() local 247 Q_ASSERT(model->parent(topIndex) == QModelIndex()); in parent() 251 if (model->rowCount(topIndex) > 0) { in parent() 252 QModelIndex childIndex = model->index(0, 0, topIndex); in parent() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ |
H A D | AsyncCopyTableRenderingAction.java | 41 int topIndex = table.getTopIndex(); in concatenateTableAsString() local 43 …ibleLines = Math.min((table.getBounds().height / table.getItemHeight()) + 2, itemCount - topIndex); in concatenateTableAsString() 48 for (int i = topIndex; i < topIndex + numVisibleLines; i++) { in concatenateTableAsString()
|
H A D | AsyncPrintTableRenderingAction.java | 42 int topIndex = table.getTopIndex(); in printTable() local 44 …ibleLines = Math.min((table.getBounds().height / table.getItemHeight()) + 2, itemCount - topIndex); in printTable() 49 for (int i = topIndex; i < topIndex + numVisibleLines; i++) { in printTable()
|
/dports/misc/actiona/actiona-3.10.1/gui/ |
H A D | modeltest.cpp | 137 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in rowCount() local 138 int rows = model->rowCount(topIndex); in rowCount() 141 Q_ASSERT(model->hasChildren(topIndex) == true); in rowCount() 162 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in columnCount() local 163 Q_ASSERT(model->columnCount(topIndex) >= 0); in columnCount() 166 QModelIndex childIndex = model->index(0, 0, topIndex); in columnCount() 246 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in parent() local 247 Q_ASSERT(model->parent(topIndex) == QModelIndex()); in parent() 251 if (model->rowCount(topIndex) > 0) { in parent() 252 QModelIndex childIndex = model->index(0, 0, topIndex); in parent() [all …]
|
/dports/deskutils/zanshin/zanshin-21.12.3/tests/testlib/ |
H A D | modeltest.cpp | 105 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in rowCount() local 106 int rows = model->rowCount ( topIndex ); in rowCount() 109 Q_ASSERT ( model->hasChildren ( topIndex ) == true ); in rowCount() 130 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in columnCount() local 131 Q_ASSERT ( model->columnCount ( topIndex ) >= 0 ); in columnCount() 134 QModelIndex childIndex = model->index ( 0, 0, topIndex ); in columnCount() 217 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in parent() local 218 Q_ASSERT ( model->parent ( topIndex ) == QModelIndex() ); in parent() 222 if ( model->rowCount ( topIndex ) > 0 ) { in parent() 223 QModelIndex childIndex = model->index ( 0, 0, topIndex ); in parent() [all …]
|
/dports/finance/kmymoney/kmymoney-5.1.1/kmymoney/models/ |
H A D | modeltest.cpp | 155 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in rowCount() local 156 int rows = model->rowCount ( topIndex ); in rowCount() 159 QVERIFY( model->hasChildren ( topIndex ) ); in rowCount() 180 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in columnCount() local 181 QVERIFY( model->columnCount ( topIndex ) >= 0 ); in columnCount() 184 QModelIndex childIndex = model->index ( 0, 0, topIndex ); in columnCount() 267 QModelIndex topIndex = model->index ( 0, 0, QModelIndex() ); in parent() local 268 QVERIFY( model->parent ( topIndex ) == QModelIndex() ); in parent() 272 if ( model->rowCount ( topIndex ) > 0 ) { in parent() 273 QModelIndex childIndex = model->index ( 0, 0, topIndex ); in parent() [all …]
|
/dports/editors/calligra/calligra-3.2.1/stage/part/tests/ |
H A D | ModelTest.cpp | 136 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in rowCount() local 137 int rows = model->rowCount(topIndex); in rowCount() 140 Q_ASSERT(model->hasChildren(topIndex) == true); in rowCount() 161 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in columnCount() local 162 Q_ASSERT(model->columnCount(topIndex) >= 0); in columnCount() 165 QModelIndex childIndex = model->index(0, 0, topIndex); in columnCount() 245 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in parent() local 246 Q_ASSERT(model->parent(topIndex) == QModelIndex()); in parent() 250 if (model->rowCount(topIndex) > 0) { in parent() 251 QModelIndex childIndex = model->index(0, 0, topIndex); in parent() [all …]
|
/dports/mail/trojita/trojita-0.7/src/Imap/Model/ModelTest/ |
H A D | modeltest.cpp | 136 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in rowCount() local 137 int rows = model->rowCount(topIndex); in rowCount() 140 Q_ASSERT(model->hasChildren(topIndex) == true); in rowCount() 161 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in columnCount() local 162 Q_ASSERT(model->columnCount(topIndex) >= 0); in columnCount() 165 QModelIndex childIndex = model->index(0, 0, topIndex); in columnCount() 245 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in parent() local 246 Q_ASSERT(model->parent(topIndex) == QModelIndex()); in parent() 250 if (model->rowCount(topIndex) > 0) { in parent() 251 QModelIndex childIndex = model->index(0, 0, topIndex); in parent() [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/shared/modeltest/ |
H A D | modeltest.cpp | 141 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in rowCount() local 142 int rows = model->rowCount(topIndex); in rowCount() 145 Q_ASSERT(model->hasChildren(topIndex) == true); in rowCount() 166 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in columnCount() local 167 Q_ASSERT(model->columnCount(topIndex) >= 0); in columnCount() 170 QModelIndex childIndex = model->index(0, 0, topIndex); in columnCount() 255 QModelIndex topIndex = model->index(0, 0, QModelIndex()); in parent() local 256 tmp = model->parent(topIndex); in parent() 261 if (model->rowCount(topIndex) > 0) { in parent() 262 QModelIndex childIndex = model->index(0, 0, topIndex); in parent() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/qt_modeltest/ |
H A D | modeltest.cpp | 141 QModelIndex topIndex = model->index( 0, 0, QModelIndex() ); in rowCount() local 142 int rows = model->rowCount( topIndex ); in rowCount() 145 Q_ASSERT( model->hasChildren( topIndex ) == true ); in rowCount() 167 QModelIndex topIndex = model->index( 0, 0, QModelIndex() ); in columnCount() local 168 Q_ASSERT( model->columnCount( topIndex ) >= 0 ); in columnCount() 171 QModelIndex childIndex = model->index( 0, 0, topIndex ); in columnCount() 257 tmp = model->parent( topIndex ); in parent() 262 if ( model->rowCount( topIndex ) > 0 ) in parent() 264 QModelIndex childIndex = model->index( 0, 0, topIndex ); in parent() 266 Q_ASSERT( tmp == topIndex ); in parent() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzqt/ |
H A D | functionselection.cpp | 605 int topIndex = curve->getPrevKeyframe(row); in setStep() local 606 if (topIndex != -1 && topIndex != curve->getKeyframeCount() - 1 && in setStep() 607 !col.second.contains(topIndex)) in setStep() 633 int topIndex = curve->getPrevKeyframe(row); in getCommonStep() local 634 if (topIndex != -1 && topIndex != curve->getKeyframeCount() - 1 && in getCommonStep() 635 !col.second.contains(topIndex)) in getCommonStep() 665 int topIndex = curve->getPrevKeyframe(row); in setSegmentType() local 666 if (topIndex != -1 && topIndex != curve->getKeyframeCount() - 1 && in setSegmentType() 667 !col.second.contains(topIndex)) in setSegmentType() 694 if (topIndex != -1 && topIndex != curve->getKeyframeCount() - 1 && in getCommonSegmentType() [all …]
|