Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 – 25 of 2743) sorted by relevance

12345678910>>...110

/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/src/Algorithms/QuadCuts/
H A DBonArraysHelpers.hpp16 resizeAndCopyArray(X *& array, unsigned int oldSize, unsigned int newSize){ in resizeAndCopyArray() argument
18 if(oldSize > 0){ in resizeAndCopyArray()
25 if(oldSize > 0){ in resizeAndCopyArray()
26 if(oldSize < newSize) in resizeAndCopyArray()
27 CoinCopyN(array, oldSize, buffy); in resizeAndCopyArray()
36 resizeAndCopyArray(X *& array, unsigned int oldSize, unsigned int newSize, in resizeAndCopyArray() argument
40 if(oldSize > 0){ in resizeAndCopyArray()
41 CoinCopyN(array, oldSize, buffy); in resizeAndCopyArray()
47 newSize = oldSize; in resizeAndCopyArray()
/dports/biology/bbmap/bbmap/current/structures/
H A DIntList3.java77 final int oldSize=sizes[loc]; in insertIntoList() local
80 for(int i=oldSize-1, lim=max(0, oldSize-slowAddLimit); i>=lim; i--){ in insertIntoList()
88 if(oldSize>=entry.length){ in insertIntoList()
89 assert(oldSize==entry.length); in insertIntoList()
95 assert(entry[oldSize]==INVALID); in insertIntoList()
96 entry[oldSize]=v; in insertIntoList()
142 final int oldSize=sizes[loc]; in shrinkToUnique() local
143 assert(oldSize>1); in shrinkToUnique()
144 Arrays.sort(entry, 0, oldSize); in shrinkToUnique()
147 for(int i=0; i<oldSize; i++){ in shrinkToUnique()
[all …]
H A DLongList3.java77 final int oldSize=sizes[loc]; in insertIntoList() local
80 for(int i=oldSize-1, lim=max(0, oldSize-slowAddLimit); i>=lim; i--){ in insertIntoList()
88 if(oldSize>=entry.length){ in insertIntoList()
89 assert(oldSize==entry.length); in insertIntoList()
95 assert(entry[oldSize]==INVALID); in insertIntoList()
96 entry[oldSize]=v; in insertIntoList()
142 final int oldSize=sizes[loc]; in shrinkToUnique() local
143 assert(oldSize>1); in shrinkToUnique()
144 Arrays.sort(entry, 0, oldSize); in shrinkToUnique()
147 for(int i=0; i<oldSize; i++){ in shrinkToUnique()
[all …]
/dports/graphics/pixen/Pixen-0.1/
H A DPXScaleController.m98 NSSize oldSize = [[canvasController canvas] size];
102 if (fabs(oldSize.width * xScale - newSize.width) > .01) {
103 directSizeInput.width = oldSize.width * xScale;
107 directSizeInput.height = oldSize.height * yScale;
114 NSSize oldSize = [[canvasController canvas] size];
120 directSizeInput.width = oldSize.width * xScale;
124 directSizeInput.height = oldSize.height * yScale;
128 newSize.height = directSizeInput.width * oldSize.height / oldSize.width;
135 newSize.width = directSizeInput.height * oldSize.width / oldSize.height;
153 NSSize oldSize = [[canvasController canvas] size];
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/events/
H A DResourceChangeListenerList.java76 final int oldSize = listeners.length; in add() local
78 for (int i = 0; i < oldSize; ++i) { in add()
88 ListenerEntry[] newListeners = new ListenerEntry[oldSize + 1]; in add()
89 System.arraycopy(listeners, 0, newListeners, 0, oldSize); in add()
90 newListeners[oldSize] = entry; in add()
150 final int oldSize = listeners.length; in remove() local
151 for (int i = 0; i < oldSize; ++i) { in remove()
154 if (oldSize == 1) { in remove()
158 ListenerEntry[] newListeners = new ListenerEntry[oldSize - 1]; in remove()
160 System.arraycopy(listeners, i + 1, newListeners, i, oldSize - i - 1); in remove()
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/FormatSupport/
H A DRIFF.cpp150 this->oldSize = 0; in Chunk()
169 this->oldSize = 0; in Chunk()
177 this->oldSize += 8; in Chunk()
193 this->newSize = this->oldSize; in Chunk()
212 this->newSize = this->oldSize; in changesAndSize()
325 prevChunk->oldSize += curChild->oldSize; in ContainerChunk()
416 prevChild->oldSize += currChild->oldSize; in changesAndSize()
534 if ( currChild->oldSize != 0 ) { in changesAndSize()
571 if ( currChild->oldSize != 0 ) { in changesAndSize()
764 this->newSize = this->oldSize; in ValueChunk()
[all …]
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/ui/scroll/
H A DCenteringViewportLayout.java17 private Dimension oldSize; field in CenteringViewportLayout
24 if (oldSize != null && (! newSize.equals(oldSize))) { in layoutContainer()
26 Rectangle newVisible = getNewVisible(oldSize, oldVisible, newSize); in layoutContainer()
30 oldSize = newSize; in layoutContainer()
35 oldSize = view.getSize(); in layoutContainer()
57 Dimension oldSize, Rectangle oldVisible, Dimension newSize in getNewVisible() argument
64 double x = oldCenterX / (double) oldSize.width; in getNewVisible()
65 double y = oldCenterY / (double) oldSize.height; in getNewVisible()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/
H A DListenerList.java120 final int oldSize = listeners.length; in add() local
121 for (int i = 0; i < oldSize; ++i) { in add()
127 Object[] newListeners = new Object[oldSize + 1]; in add()
128 System.arraycopy(listeners, 0, newListeners, 0, oldSize); in add()
129 newListeners[oldSize] = listener; in add()
221 int oldSize = listeners.length; in remove() local
222 for (int i = 0; i < oldSize; ++i) { in remove()
225 if (oldSize == 1) { in remove()
229 Object[] newListeners = new Object[oldSize - 1]; in remove()
231 System.arraycopy(listeners, i + 1, newListeners, i, oldSize - i - 1); in remove()
/dports/devel/okteta/okteta-0.26.6/core/piecetable/
H A Dreplacepiecetablechange.cpp54 const Size oldSize = pieceTable->size(); in apply() local
59 const Address lastChanged = (newSize == oldSize) ? mRemoveRange.end() : in apply()
60 (newSize > oldSize) ? newSize - 1 : in apply()
61 oldSize - 1; in apply()
67 const Size oldSize = pieceTable->size(); in revert() local
73 const Address lastChanged = (newSize == oldSize) ? insertedSection.end() : in revert()
74 (newSize > oldSize) ? newSize - 1 : in revert()
75 oldSize - 1; in revert()
/dports/security/gonepass/gonepass-3da5cfa120/
H A Devp_cipher.h57 const auto oldSize = accumulator.size(); in update() local
61 accumulator.data() + oldSize, in update()
68 accumulator.resize(oldSize + encryptedSize); in update()
72 const auto oldSize = accumulator.size(); in update() local
78 ctx.get(), accumulator.data() + oldSize, &encryptedSize, data_ptr, data.size()) != in update()
83 accumulator.resize(oldSize + encryptedSize); in update()
89 const auto oldSize = accumulator.size(); in finalize() local
92 int encryptSize = oldSize; in finalize()
93 if (EVP_CipherFinal_ex(ctx.get(), accumulator.data() + oldSize, &encryptSize) != 1) { in finalize()
96 accumulator.resize(oldSize + encryptSize); in finalize()
/dports/sysutils/UEFITool/UEFITool-A59/common/
H A Dffsbuilder.cpp133 if (newSize > oldSize) { in buildCapsule()
134 …e size %Xh (%u) is bigger than the original %Xh (%u)", newSize, newSize, oldSize, oldSize), index); in buildCapsule()
137 else if (newSize < oldSize) { in buildCapsule()
239 UINT32 oldSize = (UINT32)model->body(index).size(); in buildIntelImage() local
240 if (newSize > oldSize) { in buildIntelImage()
241 …e size %Xh (%u) is bigger than the original %Xh (%u)", newSize, newSize, oldSize, oldSize), index); in buildIntelImage()
244 else if (newSize < oldSize) { in buildIntelImage()
245 … size %Xh (%u) is smaller than the original %Xh (%u)", newSize, newSize, oldSize, oldSize), index); in buildIntelImage()
316 if (newSize > oldSize) { in buildRawArea()
317 …a size %Xh (%u) is bigger than the original %Xh (%u)", newSize, newSize, oldSize, oldSize), index); in buildRawArea()
[all …]
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/undo/
H A DScaleCommandTest.cpp27 auto oldSize = QSize(500, 500); in TestRedo_Should_ScaleImageToNewSize() local
29 QPixmap pixmap(oldSize); in TestRedo_Should_ScaleImageToNewSize()
47 auto oldSize = QSize(500, 500); in TestUndo_Should_ScaleImageBackToOldSize() local
49 QPixmap pixmap(oldSize); in TestUndo_Should_ScaleImageBackToOldSize()
62 QCOMPARE(image.boundingRect().size().toSize(), oldSize); in TestUndo_Should_ScaleImageBackToOldSize()
68 auto oldSize = QSize(500, 500); in TestRedo_Should_ScaleItemsBySameFactorAsImage() local
70 QPixmap pixmap(oldSize); in TestRedo_Should_ScaleItemsBySameFactorAsImage()
91 auto oldSize = QSize(500, 500); in TestUndo_Should_ScaleItemsBackToOriginalSize() local
93 QPixmap pixmap(oldSize); in TestUndo_Should_ScaleItemsBackToOriginalSize()
H A DRotateCommandTest.cpp27 auto oldSize = QSizeF(100, 50); in Redo_Should_RotatePixmapByProvidedAngel() local
30 QPixmap pixmap(oldSize.toSize()); in Redo_Should_RotatePixmapByProvidedAngel()
49 auto oldSize = QSizeF(100, 50); in Redo_Should_TrimPixmapAndRemoveTransparentPart_WhenRotatedBy45DegreeTwice() local
52 QPixmap pixmap(oldSize.toSize()); in Redo_Should_TrimPixmapAndRemoveTransparentPart_WhenRotatedBy45DegreeTwice()
74 auto oldSize = QSizeF(100, 50); in Undo_Should_RevertBackToInitialImage() local
76 QPixmap pixmap(oldSize.toSize()); in Undo_Should_RevertBackToInitialImage()
91 QCOMPARE(image.boundingRect().size(), oldSize); in Undo_Should_RevertBackToInitialImage()
92 QCOMPARE(annotationArea.sceneRect().size(), oldSize); in Undo_Should_RevertBackToInitialImage()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Threading/
H A DSyncTable.cs307 int oldSize = s_entries.Length; in Grow()
308 int newSize = CalculateNewSize(oldSize); in Grow()
314 Array.Copy(s_entries, newEntries, oldSize); in Grow()
326 private static int CalculateNewSize(int oldSize) in CalculateNewSize() argument
328 Debug.Assert(oldSize > 0); in CalculateNewSize()
332 if (oldSize <= DoublingSizeThreshold) in CalculateNewSize()
335 newSize = unchecked(oldSize * 2); in CalculateNewSize()
340 Debug.Assert(oldSize > 1); in CalculateNewSize()
341 newSize = unchecked(oldSize + (oldSize >> 1)); in CalculateNewSize()
348 if (newSize <= oldSize) in CalculateNewSize()
/dports/games/zoom/zoom-1.1.5/src/zoomCocoa/PlugIns/
H A DZoomPlugIn.m124 NSSize oldSize = [input size];
127 if (oldSize.width > 256 || oldSize.height > 256) {
130 if (oldSize.width > oldSize.height) {
131 scaleFactor = 256/oldSize.width;
133 scaleFactor = 256/oldSize.height;
136 NSSize newSize = NSMakeSize(scaleFactor * oldSize.width, scaleFactor * oldSize.height);
143 fromRect: NSMakeRect(0,0, oldSize.width, oldSize.height)
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dsecblock.h153 if (oldSize == newSize) in StandardReallocate()
261 CRYPTOPP_ASSERT((oldPtr && oldSize) || !(oldPtr || oldSize)); in reallocate()
465 CRYPTOPP_ASSERT(oldSize <= S); in reallocate()
466 if (oldSize > newSize) in reallocate()
478 deallocate(oldPtr, oldSize); in reallocate()
687 if (oldSize > newSize) in reallocate()
699 deallocate(oldPtr, oldSize); in reallocate()
960 memcpy_s(m_ptr+oldSize, (m_size-oldSize)*sizeof(T), ptr, len*sizeof(T)); in Append()
983 memcpy_s(m_ptr+oldSize, (m_size-oldSize)*sizeof(T), t.m_ptr, t.m_size*sizeof(T)); in Append()
989 memmove_s(m_ptr+oldSize, (m_size-oldSize)*sizeof(T), m_ptr, oldSize*sizeof(T)); in Append()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/utils/IdealGraphVisualizer/SelectionCoordinator/src/main/java/com/sun/hotspot/igv/selectioncoordinator/
H A DSelectionCoordinator.java86 int oldSize = highlightedObjects.size(); in addAllHighlighted() local
88 if (oldSize != highlightedObjects.size()) { in addAllHighlighted()
94 int oldSize = highlightedObjects.size(); in removeAllHighlighted() local
96 if (oldSize != highlightedObjects.size()) { in removeAllHighlighted()
107 int oldSize = selectedObjects.size(); in addAllSelected() local
109 if (oldSize != selectedObjects.size()) { in addAllSelected()
115 int oldSize = selectedObjects.size(); in removeAllSelected() local
117 if (oldSize != selectedObjects.size()) { in removeAllSelected()
/dports/devel/splint/splint-3.1.2/src/
H A Dsyntable.c140 int oldSize; in SynTable_grow() local
145 oldSize = SynTableEntries; in SynTable_grow()
147 if (size <= oldSize) in SynTable_grow()
153 if (size < (oldSize + SYNTABLE_BASESIZE)) in SynTable_grow()
155 size = oldSize + SYNTABLE_BASESIZE; in SynTable_grow()
161 for (i = 0; i < oldSize; i++) in SynTable_grow()
170 for (i = oldSize; i < size; i++) in SynTable_grow()

12345678910>>...110