Home
last modified time | relevance | path

Searched refs:allItems (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/undo/
H A DArrangeCommandTest.cpp58 QList<AbstractAnnotationItem *> allItems; in TestRedo_Should_SortItemByZValue() local
59 allItems.append(&item2); in TestRedo_Should_SortItemByZValue()
60 allItems.append(&item1); in TestRedo_Should_SortItemByZValue()
61 allItems.append(&item3); in TestRedo_Should_SortItemByZValue()
63 QCOMPARE((int) allItems[0]->zValue(), 2); in TestRedo_Should_SortItemByZValue()
64 QCOMPARE((int) allItems[1]->zValue(), 1); in TestRedo_Should_SortItemByZValue()
65 QCOMPARE((int) allItems[2]->zValue(), 3); in TestRedo_Should_SortItemByZValue()
69 QCOMPARE((int) allItems[0]->zValue(), 3); in TestRedo_Should_SortItemByZValue()
111 allItems.append(&item2); in TestUndo_Should_SortItemByZValue()
112 allItems.append(&item1); in TestUndo_Should_SortItemByZValue()
[all …]
/dports/www/matomo/piwik/core/Concurrency/
H A DDistributedList.php97 $allItems = $this->getAll();
99 $allItems = array_merge($allItems, $item);
101 $allItems[] = $item;
104 $this->setAll($allItems);
120 $allItems = $this->getAll();
123 $existingIndex = array_search($item, $allItems);
128 unset($allItems[$existingIndex]);
131 $this->setAll(array_values($allItems));
149 $allItems = $this->getAll();
151 unset($allItems[$index]);
[all …]
/dports/graphics/pixie/Pixie/src/ri/
H A Dreyes.h124 delete [] allItems; in ~CPqueue()
136 delete [] allItems; in insert()
137 allItems = newItems; in insert()
145 allItems[i] = allItems[j]; in insert()
151 allItems[i] = cObject; in insert()
163 cItem = allItems[1]; in get()
166 lItem = allItems[numItems]; in get()
172 if ((j < (numItems-1)) && (allItems[j]->zmin > allItems[j+1]->zmin)) in get()
175 if (allItems[j]->zmin > lItem->zmin) in get()
178 allItems[i] = allItems[j]; in get()
[all …]
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/browsers/
H A DBrowserBreadcrumbWidget.cpp190 QList<BrowserBreadcrumbItem *> allItems; in showAsNeeded() local
194 if( allItems.isEmpty() ) in showAsNeeded()
197 int sizeOfFirst = allItems.first()->nominalWidth(); in showAsNeeded()
198 int sizeOfLast = allItems.last()->nominalWidth(); in showAsNeeded()
201 allItems.first()->show(); in showAsNeeded()
202 allItems.last()->show(); in showAsNeeded()
204 int numberOfItems = allItems.count(); in showAsNeeded()
208 if( allItems.at( i )->nominalWidth() <= spaceLeft ) in showAsNeeded()
210 allItems.at( i )->show(); in showAsNeeded()
211 spaceLeft -= allItems.at( i )->nominalWidth(); in showAsNeeded()
[all …]
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/components/Typeahead/
H A DTypeahead.tsx24 allItems: CompletionItem[];
40 allItems: [],
53 const allItems = flattenGroupItems(this.props.groupedItems);
54 const longestLabel = calculateLongestLabel(allItems);
60 allItems,
87 const allItems = flattenGroupItems(this.props.groupedItems);
88 const longestLabel = calculateLongestLabel(allItems);
107 const itemCount = this.state.allItems.length;
167 itemCount={allItems.length}
170 const item = allItems && allItems[index];
[all …]
/dports/math/py-or-tools/or-tools-9.2/examples/dotnet/
H A DBalanceGroupSat.cs35 var allItems = Enumerable.Range(0, numberItems).ToArray(); in Main()
38 var values = allItems.Select(i => 1 + i + (i * i / 200)).ToArray(); in Main()
39 var colors = allItems.Select(i => i % numberColors).ToArray(); in Main()
50 foreach (var item in allItems) in Main()
63 foreach (var item in allItems) in Main()
74 var itemsInGroup = allItems.Select(x => itemInGroup[x, @group]).ToArray(); in Main()
79 foreach (var item in allItems) in Main()
92 var itemValues = allItems.Select(x => itemInGroup[x, @group]).ToArray(); in Main()
110 foreach (var item in allItems) in Main()
148 var solutionPrinter = new SolutionPrinter(values, colors, allGroups, allItems, itemInGroup); in Main()
[all …]
/dports/graphics/pixie/Pixie/src/common/
H A Dcontainers.h457 delete [] allItems; in ~CPqueue()
469 delete [] allItems; in insert()
470 allItems = newItems; in insert()
478 allItems[i] = allItems[j]; in insert()
484 allItems[i].item = item; in insert()
492 item[0] = allItems[1].item; in getMax()
514 if ((j < (numItems-1)) && (allItems[j].priority > allItems[j+1].priority)) in removeMax()
520 allItems[i] = allItems[j]; in removeMax()
532 if (allItems[j].priority < allItems[i].priority) return FALSE; in sanityCheck()
535 if (allItems[j].priority < allItems[i].priority) return FALSE; in sanityCheck()
[all …]
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/utils/
H A Dtypeahead.ts18 export const calculateLongestLabel = (allItems: CompletionItem[]): string => {
19 return allItems.reduce((longest, current) => {
24 export const calculateListSizes = (theme: GrafanaTheme, allItems: CompletionItem[], longestLabel: s…
33 const listHeight = calculateListHeight(itemHeight, allItems);
57 export const calculateListHeight = (itemHeight: number, allItems: CompletionItem[]) => {
58 const numberOfItemsToShow = Math.min(allItems.length, 10);
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/tools/gnu/classpath/tools/jar/
H A DWorkSet.java46 private HashSet<String> allItems; field in WorkSet
52 allItems = new HashSet<String>(); in initSet()
59 allItems.add(name); in initSet()
70 if (allItems == null) in contains()
74 if (allItems.contains(filename)) in contains()
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/tools/gnu/classpath/tools/jar/
H A DWorkSet.java46 private HashSet<String> allItems; field in WorkSet
52 allItems = new HashSet<String>(); in initSet()
59 allItems.add(name); in initSet()
70 if (allItems == null) in contains()
74 if (allItems.contains(filename)) in contains()
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/tools/gnu/classpath/tools/jar/
H A DWorkSet.java46 private HashSet<String> allItems; field in WorkSet
52 allItems = new HashSet<String>(); in initSet()
59 allItems.add(name); in initSet()
70 if (allItems == null) in contains()
74 if (allItems.contains(filename)) in contains()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/tools/gnu/classpath/tools/jar/
H A DWorkSet.java46 private HashSet<String> allItems; field in WorkSet
52 allItems = new HashSet<String>(); in initSet()
59 allItems.add(name); in initSet()
70 if (allItems == null) in contains()
74 if (allItems.contains(filename)) in contains()
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/tools/gnu/classpath/tools/jar/
H A DWorkSet.java46 private HashSet<String> allItems; field in WorkSet
52 allItems = new HashSet<String>(); in initSet()
59 allItems.add(name); in initSet()
70 if (allItems == null) in contains()
74 if (allItems.contains(filename)) in contains()
/dports/math/py-or-tools/or-tools-9.2/ortools/linear_solver/samples/
H A DMultipleKnapsackMip.cs32 int[] allItems = Enumerable.Range(0, NumItems).ToArray(); in Main()
47 foreach (int i in allItems) in Main()
59 foreach (int i in allItems) in Main()
72 foreach (int i in allItems) in Main()
82 foreach (int i in allItems) in Main()
107 foreach (int i in allItems) in Main()
H A DMultipleKnapsackMip.java35 final int[] allItems = IntStream.range(0, numItems).toArray(); in main() local
54 for (int i : allItems) { in main()
64 for (int i : allItems) { in main()
74 for (int i : allItems) { in main()
84 for (int i : allItems) { in main()
105 for (int i : allItems) { in main()
/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/
H A DQueryTest.php23 protected $allItems = []; variable in Drupal\\views_test_data\\Plugin\\views\\query\\QueryTest
52 * @param array $allItems
55 public function setAllItems($allItems) { argument
56 $this->allItems = $allItems;
99 foreach ($this->allItems as $element) {
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/
H A DQueryTest.php23 protected $allItems = []; variable in Drupal\\views_test_data\\Plugin\\views\\query\\QueryTest
52 * @param array $allItems
55 public function setAllItems($allItems) { argument
56 $this->allItems = $allItems;
99 foreach ($this->allItems as $element) {
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/samples/
H A DMultipleKnapsackSat.cs32 int[] allItems = Enumerable.Range(0, NumItems).ToArray(); in Main()
47 foreach (int i in allItems) in Main()
59 foreach (int i in allItems) in Main()
73 foreach (int i in allItems) in Main()
85 foreach (int i in allItems) in Main()
115 foreach (int i in allItems) in Main()
H A DMultipleKnapsackSat.java36 final int[] allItems = IntStream.range(0, numItems).toArray(); in main() local
50 for (int i : allItems) { in main()
60 for (int i : allItems) { in main()
71 for (int i : allItems) { in main()
83 for (int i : allItems) { in main()
107 for (int i : allItems) { in main()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.le/share/classes/jdk/internal/org/jline/reader/impl/history/
H A DDefaultHistory.java155 LinkedList<Entry> allItems = new LinkedList<>(); in trimHistory() local
161 allItems.add(createEntry(allItems.size(), time, line)); in trimHistory()
165 doTrimHistory(allItems, max); in trimHistory()
169 for (Entry entry : allItems) { in trimHistory()
176 offset = allItems.get(0).index(); in trimHistory()
177 items.addAll(allItems); in trimHistory()
204 while (idx < allItems.size()) { in doTrimHistory()
205 int ridx = allItems.size() - idx - 1; in doTrimHistory()
206 String line = allItems.get(ridx).line().trim(); in doTrimHistory()
216 while (allItems.size() > max) { in doTrimHistory()
[all …]
/dports/print/scribus-devel/scribus-1.5.7/scribus/
H A Dcollect4output.cpp187 QList<PageItem*> allItems; in collectItems() local
212 allItems = ite->getAllChildren(); in collectItems()
214 allItems.append(ite); in collectItems()
217 ite = allItems.at(ii); in collectItems()
220 allItems.clear(); in collectItems()
231 allItems.append(it); in collectItems()
234 it = allItems.at(ii); in collectItems()
237 allItems.clear(); in collectItems()
250 allItems.append(ite); in collectItems()
253 ite = allItems.at(ii); in collectItems()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbserver/workloads/
H A DTimeKeeperCorrectness.actor.cpp89 std::vector<std::pair<int64_t, Version>> allItems = wait( in _check()
92 if (allItems.size() > SERVER_KNOBS->TIME_KEEPER_MAX_ENTRIES + 1) { in _check()
95 .detail("Found", allItems.size()); in _check()
99 if (allItems.size() < self->testDuration / SERVER_KNOBS->TIME_KEEPER_DELAY) { in _check()
102 .detail("Found", allItems.size()); in _check()
105 for (auto item : allItems) { in _check()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.le/share/classes/jdk/internal/org/jline/reader/impl/history/
H A DDefaultHistory.java251 LinkedList<Entry> allItems = new LinkedList<>(); in trimHistory() local
257 allItems.add(createEntry(allItems.size(), time, line)); in trimHistory()
261 doTrimHistory(allItems, max); in trimHistory()
265 for (Entry entry : allItems) { in trimHistory()
273 offset = allItems.get(0).index(); in trimHistory()
274 items.addAll(allItems); in trimHistory()
277 setEntriesInFile(path, allItems.size()); in trimHistory()
302 while (idx < allItems.size()) { in doTrimHistory()
303 int ridx = allItems.size() - idx - 1; in doTrimHistory()
314 while (allItems.size() > max) { in doTrimHistory()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.le/share/classes/jdk/internal/org/jline/reader/impl/history/
H A DDefaultHistory.java251 LinkedList<Entry> allItems = new LinkedList<>(); in trimHistory() local
257 allItems.add(createEntry(allItems.size(), time, line)); in trimHistory()
261 doTrimHistory(allItems, max); in trimHistory()
265 for (Entry entry : allItems) { in trimHistory()
273 offset = allItems.get(0).index(); in trimHistory()
274 items.addAll(allItems); in trimHistory()
277 setEntriesInFile(path, allItems.size()); in trimHistory()
302 while (idx < allItems.size()) { in doTrimHistory()
303 int ridx = allItems.size() - idx - 1; in doTrimHistory()
314 while (allItems.size() > max) { in doTrimHistory()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.le/share/classes/jdk/internal/org/jline/reader/impl/history/
H A DDefaultHistory.java251 LinkedList<Entry> allItems = new LinkedList<>(); in trimHistory() local
257 allItems.add(createEntry(allItems.size(), time, line)); in trimHistory()
261 doTrimHistory(allItems, max); in trimHistory()
265 for (Entry entry : allItems) { in trimHistory()
273 offset = allItems.get(0).index(); in trimHistory()
274 items.addAll(allItems); in trimHistory()
277 setEntriesInFile(path, allItems.size()); in trimHistory()
302 while (idx < allItems.size()) { in doTrimHistory()
303 int ridx = allItems.size() - idx - 1; in doTrimHistory()
314 while (allItems.size() > max) { in doTrimHistory()
[all …]

12345678910>>...22