/dports/math/clingo/clingo-5.5.1/libgringo/gringo/output/ |
H A D | literal.hh | 108 void add(Id_t oldOffset, Id_t newOffset) { in add() argument 109 if (map_.empty() || map_.back().first.second < oldOffset) { in add() 110 map_.emplace_back(std::make_pair(oldOffset, oldOffset+1), newOffset); in add() 113 assert(map_.back().first.second == oldOffset); in add() 117 Id_t get(Id_t oldOffset) { in get() argument 118 …auto it = std::upper_bound(map_.begin(), map_.end(), oldOffset, [](Id_t offset, Value const &val) … in get() 119 …return (it == map_.end() || oldOffset < it->first.first) ? InvalidId : it->second + (oldOffset - i… in get() 121 Id_t bound(Id_t oldOffset) { in bound() argument 123 if (it != map_.end() && oldOffset >= it->first.first) { in bound() 124 return it->second + (oldOffset - it->first.first); in bound() [all …]
|
/dports/multimedia/subtitlecomposer/subtitlecomposer-0.7.1/src/core/ |
H A D | sstring.cpp | 605 int oldOffset = 0; in replace() local 618 oldOffset += unchangedLength; in replace() 623 oldOffset += beforeLength; in replace() 664 int oldOffset = 0; in replace() local 682 oldOffset += beforeLength; in replace() 729 int oldOffset = 0; in replace() local 747 oldOffset += 1; in replace() 781 int oldOffset = 0; in replace() local 799 oldOffset += 1; in replace() 868 int oldOffset = 0; in replace() local [all …]
|
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ |
H A D | HeapMemStoreLAB.java | 280 int oldOffset = nextFreeOffset.get(); in alloc() local 281 if (oldOffset == UNINITIALIZED) { in alloc() 289 if (oldOffset == OOM) { in alloc() 294 if (oldOffset + size > data.length) { in alloc() 299 if (nextFreeOffset.compareAndSet(oldOffset, oldOffset + size)) { in alloc() 302 return oldOffset; in alloc()
|
/dports/devel/arcanist-lib/arcanist-b2e715f/src/parser/diff/ |
H A D | ArcanistDiffHunk.php | 8 protected $oldOffset; variable in ArcanistDiffHunk 20 'oldOffset' => $this->oldOffset, 35 $obj->oldOffset = $dict['oldOffset']; 91 $this->oldOffset = $old_offset; 96 return $this->oldOffset;
|
/dports/devel/arcanist/arcanist-b2e715f/src/parser/diff/ |
H A D | ArcanistDiffHunk.php | 8 protected $oldOffset; variable in ArcanistDiffHunk 20 'oldOffset' => $this->oldOffset, 35 $obj->oldOffset = $dict['oldOffset']; 91 $this->oldOffset = $old_offset; 96 return $this->oldOffset;
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/selectionactions/ |
H A D | GoToNextPreviousMemberAction.java | 150 Integer oldOffset= Integer.valueOf(oldSourceRange.getOffset()); in getNewSelectionRange() local 151 int index= Arrays.binarySearch(offsetArray, oldOffset); in getNewSelectionRange() 154 return createNewSourceRange(getNextOffset(index, offsetArray, oldOffset)); in getNewSelectionRange() 156 return createNewSourceRange(getPreviousOffset(index, offsetArray, oldOffset)); in getNewSelectionRange() 164 private static Integer getPreviousOffset(int index, Integer[] offsetArray, Integer oldOffset) { in getPreviousOffset() argument 166 return oldOffset; in getPreviousOffset() 176 private static Integer getNextOffset(int index, Integer[] offsetArray, Integer oldOffset) { 188 return oldOffset; 194 return oldOffset;
|
/dports/biology/ugene/ugene-40.1/src/corelibs/U2Formats/src/mysql_dbi/ |
H A D | MysqlBlobInputStream.cpp | 69 int oldOffset = offset; in skip() local 71 return size - oldOffset; in skip() 74 int oldOffset = offset; in skip() local 76 return -oldOffset; in skip()
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/net/v2ray/v2ray-core-4.36.2/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/devel/mutagen/mutagen-0.11.8/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 74 oldOffset := controller.bytesRead 78 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 82 oldOffset := controller.bytesRead 87 controller.epochStartOffset = oldOffset 93 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/biology/ugene/ugene-40.1/src/corelibs/U2Formats/src/sqlite_dbi/ |
H A D | SQLiteBlobInputStream.cpp | 106 int oldOffset = offset; in skip() local 108 return size - oldOffset; in skip() 111 int oldOffset = offset; in skip() local 113 return -oldOffset; in skip()
|
/dports/graphics/krita/krita-4.4.8/libs/image/ |
H A D | kis_transaction_data.cpp | 44 QPoint oldOffset; member in KisTransactionData::Private 109 m_d->oldOffset = QPoint(device->x(), device->y()); in init() 166 if (m_d->newOffset == m_d->oldOffset) { in startUpdates() 172 rc = totalExtent.translated(m_d->oldOffset) | in startUpdates() 272 if (m_d->newOffset != m_d->oldOffset) { in redo() 287 if (m_d->newOffset != m_d->oldOffset) { in undo() 288 m_d->moveDevice(m_d->oldOffset); in undo()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/tests/ |
H A D | kis_zoom_and_pan_test.cpp | 151 QPoint oldOffset = t.coordinatesConverter()->documentOffset(); in checkPan() local 160 QPoint expectedOffset = oldOffset + shift; in checkPan() 194 dbgKrita << ppVar(oldOffset) << ppVar(newOffset); in checkPan() 204 const QPoint &oldOffset, in checkInvariants() argument 215 QPointF expectedOffset = oldOffset + (k - 1) * baseFlakePoint; in checkInvariants() 264 dbgKrita << ppVar(oldOffset) << ppVar(newOffset); in checkInvariants() 280 QPoint oldOffset = t.coordinatesConverter()->documentOffset(); in checkZoomWithAction() local 290 oldOffset, in checkZoomWithAction() 311 return checkInvariants(oldOffset + widgetPoint, in checkZoomWithWheel() 312 oldOffset, in checkZoomWithWheel() [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ |
H A D | StyledTextDropTargetEffect.java | 208 void refreshCaret(StyledText text, int oldOffset, int newOffset) { in refreshCaret() argument 209 if (oldOffset != newOffset) { in refreshCaret() 210 if (oldOffset != -1) { in refreshCaret() 211 Point oldPos = text.getLocationAtOffset(oldOffset); in refreshCaret() 212 int oldHeight = text.getLineHeight(oldOffset); in refreshCaret()
|
/dports/security/xray-core/Xray-core-1.5.0/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/dns/nextdns/nextdns-1.32.2/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/custom/ |
H A D | StyledTextDropTargetEffect.java | 208 void refreshCaret(StyledText text, int oldOffset, int newOffset) { in refreshCaret() argument 209 if (oldOffset != newOffset) { in refreshCaret() 210 if (oldOffset != -1) { in refreshCaret() 211 Point oldPos = text.getLocationAtOffset(oldOffset); in refreshCaret() 212 int oldHeight = text.getLineHeight(oldOffset); in refreshCaret()
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/lucas-clemente/quic-go/internal/flowcontrol/ |
H A D | connection_flow_controller_test.go | 73 oldOffset := controller.bytesRead 77 Expect(offset).To(Equal(oldOffset + dataRead + 60)) 81 oldOffset := controller.bytesRead 86 controller.epochStartOffset = oldOffset 92 Expect(offset).To(Equal(oldOffset + dataRead + newWindowSize))
|
/dports/archivers/unadf/ADFlib-f3af9e0/src/ |
H A D | adf_cache.c | 289 int offset, oldOffset, n; in adfDelFromCache() local 302 oldOffset = offset; in adfDelFromCache() 306 entryLen = offset-oldOffset; in adfDelFromCache() 310 for(i=oldOffset; i<(488-entryLen); i++) in adfDelFromCache() 318 for(i=oldOffset; i<offset; i++) in adfDelFromCache() 447 int offset, oldOffset, n; in adfUpdateCache() local 463 oldOffset = offset; in adfUpdateCache() 466 oLen = offset-oldOffset; in adfUpdateCache() 473 adfPutCacheEntry(&dirc, &oldOffset, &newEntry); in adfUpdateCache() 483 adfPutCacheEntry(&dirc, &oldOffset, &newEntry); in adfUpdateCache() [all …]
|
/dports/japanese/mutt-devel/mutt-1.5.21/ |
H A D | mbox.c | 731 struct m_update_t *oldOffset = NULL; in mbox_sync_mailbox() local 841 oldOffset[i-first].valid = 1; in mbox_sync_mailbox() 842 oldOffset[i-first].hdr = ctx->hdrs[i]->offset; in mbox_sync_mailbox() 843 oldOffset[i-first].body = ctx->hdrs[i]->content->offset; in mbox_sync_mailbox() 844 oldOffset[i-first].lines = ctx->hdrs[i]->lines; in mbox_sync_mailbox() 845 oldOffset[i-first].length = ctx->hdrs[i]->content->length; in mbox_sync_mailbox() 1024 FREE (&oldOffset); in mbox_sync_mailbox() 1035 if (first >= 0 && oldOffset) in mbox_sync_mailbox() 1039 ctx->hdrs[i]->offset = oldOffset[i-first].hdr; in mbox_sync_mailbox() 1042 ctx->hdrs[i]->lines = oldOffset[i-first].lines; in mbox_sync_mailbox() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/ |
H A D | PaintSurface.java | 382 final int oldOffset = displayFDC.xOffset; in scrollHorizontally() local 384 if (oldOffset != newOffset) { in scrollHorizontally() 387 paintCanvas.scroll(Math.max(oldOffset - newOffset, 0), 0, Math.max(newOffset - oldOffset, 0), 0, in scrollHorizontally() 401 final int oldOffset = displayFDC.yOffset; in scrollVertically() local 403 if (oldOffset != newOffset) { in scrollVertically() 406 paintCanvas.scroll(0, Math.max(oldOffset - newOffset, 0), 0, Math.max(newOffset - oldOffset, 0), in scrollVertically()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ |
H A D | IOConsoleTestUtil.java | 262 final int oldOffset = getCaretOffset() - oldSelectionLength; in insertAndVerify() local 265 assertEquals("Caret not at expected position.", oldOffset + content.length(), getCaretOffset()); in insertAndVerify() 266 verifyContentByOffset(content, oldOffset); in insertAndVerify() 267 verifyInputPartitions(oldOffset, content.length()); in insertAndVerify() 312 final int oldOffset = getCaretOffset() - oldSelectionLength; in insertTypingAndVerify() local 315 assertEquals("Caret not at expected position.", oldOffset + content.length(), getCaretOffset()); in insertTypingAndVerify() 316 verifyContentByOffset(content, oldOffset); in insertTypingAndVerify() 317 verifyInputPartitions(oldOffset, content.length()); in insertTypingAndVerify()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/artistictextshape/ |
H A D | ChangeTextOffsetCommand.cpp | 25 ChangeTextOffsetCommand::ChangeTextOffsetCommand(ArtisticTextShape *textShape, qreal oldOffset, qre… in ChangeTextOffsetCommand() argument 28 , m_oldOffset(oldOffset) in ChangeTextOffsetCommand()
|