/dports/devel/py-prompt-toolkit1/prompt_toolkit-1.0.18/tests/ |
H A D | test_yank_nth_arg.py | 9 def _history(): function 26 def test_simple_search(_history): argument 27 buff = Buffer(history=_history) 34 buff = Buffer(history=_history) 40 buff = Buffer(history=_history) 46 buff = Buffer(history=_history) 51 def test_repeated_search(_history): argument 52 buff = Buffer(history=_history) 59 buff = Buffer(history=_history) 69 def test_yank_nth_arg(_history): argument [all …]
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/tests/ |
H A D | test_yank_nth_arg.py | 8 def _history(): function 25 def test_simple_search(_history): argument 26 buff = Buffer(history=_history) 33 buff = Buffer(history=_history) 39 buff = Buffer(history=_history) 45 buff = Buffer(history=_history) 50 def test_repeated_search(_history): argument 51 buff = Buffer(history=_history) 58 buff = Buffer(history=_history) 68 def test_yank_nth_arg(_history): argument [all …]
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/tests/ |
H A D | test_yank_nth_arg.py | 9 def _history(): function 26 def test_simple_search(_history): argument 27 buff = Buffer(history=_history) 34 buff = Buffer(history=_history) 40 buff = Buffer(history=_history) 46 buff = Buffer(history=_history) 51 def test_repeated_search(_history): argument 52 buff = Buffer(history=_history) 59 buff = Buffer(history=_history) 69 def test_yank_nth_arg(_history): argument [all …]
|
/dports/shells/ohmyzsh/ohmyzsh-6babcbd8841335a3c25ec960ff57ab9a139c9073/plugins/history-substring-search/ |
H A D | history-substring-search.zsh | 73 _history-substring-search-begin 77 _history-substring-search-up-search 79 _history-substring-search-end 83 _history-substring-search-begin 87 _history-substring-search-down-search 89 _history-substring-search-end 196 _history-substring-search-begin() { 304 _history-substring-search-end() { 561 _history-substring-search-found() { 644 _history-substring-search-found [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/video_coding/main/source/ |
H A D | codec_timer.cc | 26 _history() in VCMCodecTimer() 45 _history[i].shortMax = 0; in Reset() 46 _history[i].timeMs = -1; in Reset() 67 if (_history[0].timeMs >= 0 && in UpdateMaxHistory() 78 if(_history[0].timeMs == -1) in UpdateMaxHistory() 88 _history[i+1].shortMax = _history[i].shortMax; in UpdateMaxHistory() 89 _history[i+1].timeMs = _history[i].timeMs; in UpdateMaxHistory() 97 _history[0].shortMax = _shortMax; in UpdateMaxHistory() 98 _history[0].timeMs = now; in UpdateMaxHistory() 107 if (_history[0].timeMs == -1) in ProcessHistory() [all …]
|
/dports/editors/gedit-plugins/gedit-plugins-40.1/plugins/commander/commander/ |
H A D | history.py | 27 self._history = [''] 60 if self._history[-1] != '': 61 self._history.append(line) 63 self._history[-1] = line 65 if self._history[-1] != '': 66 self._history.append('') 71 self._history[self._ptr] = line 77 self._history.append('') 91 if self._history[-1] == '': 92 hist = self._history[:-1] [all …]
|
/dports/deskutils/zim/zim-0.74.3/zim/ |
H A D | history.py | 149 if self._history and not self._recent: 150 for p in self._history: 154 p = self._history[i] 167 def _history(self): member in History 208 if self._history and self._history[self._current] == path: 213 self._history.pop() 217 self._history.pop(0) 221 self._history.append(historypath) 248 if self._history: 249 return self._history[self._current] [all …]
|
/dports/deskutils/peaclock/peaclock-0.4.3/src/ob/ |
H A D | readline.cc | 514 if (_history().empty() && _history.search().empty()) in hist_prev() 520 (_history.idx < _history().size() - 1) : in hist_prev() 521 (_history.idx < _history.search().size() - 1)}; in hist_prev() 535 ++_history.idx; in hist_prev() 540 _input.str = _history().at(_history.idx); in hist_prev() 545 _input.str = _history().at(_history.search().at(_history.idx).idx); in hist_prev() 569 --_history.idx; in hist_next() 578 _input.str = _history().at(_history.idx); in hist_next() 583 _input.str = _history().at(_history.search().at(_history.idx).idx); in hist_next() 698 std::sort(_history.search().begin(), _history.search().end(), in hist_search() [all …]
|
/dports/devel/pear-Horde_Core/Horde_Core-2.31.14/lib/Horde/Core/ |
H A D | History.php | 34 protected $_history; variable in Horde_Core_History 43 $this->_history = $history; 51 $this->_history->setLogger($logger); 61 $this->_history->setCache($cache); 76 $this->_history->log($guid, $attributes, $replaceAction); 84 return $this->_history->getHistory($guid); 108 $this->_history->removeByNames($names); 124 $this->_history->removeByParent($parent); 132 return $this->_history->getActionModSeq($guid, $action); 140 return $this->_history->getLatestEntry($guid, $use_ts); [all …]
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | HistoryViewer.cpp | 25 _history = history; in SetHistoryData() 42 for(size_t i = 0; i < _history.size(); i++) { in GetHistorySegments() 43 if(_history[i].EndOfSegment) { in GetHistorySegments() 64 if(seekPosition < _history.size()) { in SeekTo() 70 RewindData rewindData = _history[_position]; in SeekTo() 86 if(position < _history.size()) { in CreateSaveState() 89 _history[position].GetStateData(stateData); in CreateSaveState() 126 if(resumePosition < _history.size()) { in ResumeGameplay() 129 _history[_history.size() - 1].LoadState(console); in ResumeGameplay() 137 if(_position < _history.size()) { in SetInput() [all …]
|
/dports/science/fastjet/fastjet-3.3.4/src/ |
H A D | ClusterSequence.cc | 494 _history.reserve(_jets.size()*2); in _fill_initial_history() 507 _history.push_back(element); in _fill_initial_history() 823 _history = from_seq._history; in transfer_from_sequence() 886 if (_history[i].parent2 == BeamJet && _history[i].dij >= dcut) { in inclusive_jets() 888 int parent1 = _history[i].parent1; in inclusive_jets() 1480 element.max_dij_so_far = max(dij,_history[_history.size()-1].max_dij_so_far); in _add_step_to_history() 1481 _history.push_back(element); in _add_step_to_history() 1538 int hist_n = _history.size(); in unique_history_order() 1544 if (_history[i].child > 0) lowest_constituent[_history[i].child] in unique_history_order() 1603 if ((_history[i].child == Invalid) && (_history[i].parent2 != BeamJet)) in childless_pseudojets() [all …]
|
H A D | ClusterSequenceActiveAreaExplicitGhosts.cc | 140 _areas.resize(_history.size()); in _post_process() 141 _area_4vectors.resize(_history.size()); in _post_process() 142 _is_pure_ghost.resize(_history.size()); in _post_process() 182 for (unsigned i = _initial_n; i < _history.size(); i++) { in _post_process() 183 if (_history[i].parent2 == BeamJet) { in _post_process() 185 _areas[i] = _areas[_history[i].parent1]; in _post_process() 186 _area_4vectors[i] = _area_4vectors[_history[i].parent1]; in _post_process() 189 _is_pure_ghost[_history[i].parent2] ; in _post_process() 190 _areas[i] = _areas[_history[i].parent1] + in _post_process() 191 _areas[_history[i].parent2] ; in _post_process() [all …]
|
/dports/sysutils/py-glances/glances-3.1.4/glances/ |
H A D | attribute.py | 39 self._history = [] 92 return self._history 96 self._history = new_history 100 del self._history 103 self._history = [] 111 self._history = self._history[1:] + [value] 116 return len(self._history) 121 return len(self._history) 127 return self._history[-pos] 131 return self._history[-nb:] [all …]
|
/dports/sysutils/qdirstat/qdirstat-1.8/src/ |
H A D | HistoryButtons.cpp | 28 _history = new History(); in HistoryButtons() 29 CHECK_NEW( _history ); in HistoryButtons() 38 delete _history; in ~HistoryButtons() 51 emit navigateToUrl( _history->goBack() ); in historyGoBack() 58 emit navigateToUrl( _history->goForward() ); in historyGoForward() 72 if ( url != _history->currentItem() ) in addToHistory() 74 _history->add( url ); in addToHistory() 102 QStringList items = _history->allItems(); in updateHistoryMenu() 103 int current = _history->currentIndex(); in updateHistoryMenu() 124 if ( _history->setCurrentIndex( index ) ) in historyMenuAction() [all …]
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/chat/ |
H A D | chatlineedit.cpp | 31 if(!_history.isEmpty() && _history.last() == text) in pushHistory() 35 _history.append(text); in pushHistory() 36 if(_history.count() > 50) in pushHistory() 37 _history.removeFirst(); in pushHistory() 46 if(_historypos==_history.count()) in keyPressEvent() 49 setText(_history[_historypos]); in keyPressEvent() 52 if(_historypos<_history.count()-1) { in keyPressEvent() 54 setText(_history[_historypos]); in keyPressEvent() 55 } else if(_historypos==_history.count()-1) { in keyPressEvent() 63 _historypos = _history.count(); in keyPressEvent()
|
/dports/x11-toolkits/viewklass/ViewKlass-0.7.2/ |
H A D | VkMenuUndoManager.C | 54 _history = new VkComponentList(); in VkMenuUndoManager() 60 delete _history; in ~VkMenuUndoManager() local 91 _history->add(action); in add() 93 _history->remove(0); in add() 94 _history->add(action); in add() 129 _history->remove(i); in reset() 144 _history->remove(action); in actionDeleted() 155 int histSize = me->_history->size(); in menuUndoCallback() 172 me->_history->remove(histSize - 1); in menuUndoCallback() 186 int histSize = _history->size(); in updateLabel() [all …]
|
/dports/print/py-frescobaldi/frescobaldi-3.1.3/frescobaldi_app/ |
H A D | browseriface.py | 57 self._history = [Position()] 66 p = self._history[self._index] 72 if self._index < len(self._history) - 1: 75 p = self._history[self._index] 96 pos = self._history[self._index] 100 del self._history[self._index:] 101 self._history.append(Position()) 112 del self._history[i] 115 if not self._history: 116 self._history = [Position()] [all …]
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/ui/qt4/console/ |
H A D | history_console_widget.py | 31 self._history = [] 53 if history and (not self._history or self._history[-1] != history): 54 self._history.append(history) 57 self._history_index = len(self._history) 75 if self._history_index == len(self._history) or ( 78 self._history_index = len(self._history) 140 history = self._history[index] 159 while self._history_index < len(self._history) - 1: 161 history = self._history[self._history_index] 165 self._history_index = len(self._history) [all …]
|
/dports/devel/py-qtconsole/qtconsole-5.1.1/qtconsole/ |
H A D | history_console_widget.py | 30 self._history = [] 48 if history and (not self._history or self._history[-1] != history): 49 self._history.append(history) 55 self._history_index = len(self._history) 80 self._history_index = len(self._history) 198 while index < len(self._history): 223 return self._history[-n:] 243 elif index == len(self._history): 245 return self._history[index] 250 self._history = list(history) [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/history/ |
H A D | history_widget.cpp | 355 return _history ? _history->peer.get() : nullptr; in __anon05ff6a842502() 398 _history, in __anon05ff6a842c02() 867 if (_history && _history->localDraft()) { in initVoiceRecordBar() 878 _history, in initVoiceRecordBar() 1037 _history, in supportShareContact() 2235 _history, in unregisterDraftSources() 2238 _history, in unregisterDraftSources() 2259 _history, in registerDraftSource() 2623 if (_history) _history->destroyUnreadBar(); in destroyUnreadBar() 3304 _history, in saveEditMsg() [all …]
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux/qt4/ADM_userInterfaces/ADM_shell/ |
H A D | Q_shell.cpp | 33 _history = commands; in qShell() 35 for(int i=0;i<_history->size();i++) in qShell() 37 shellHistoryEntry e=_history->at(i); in qShell() 84 int size=_history->size(); in addToHistory() 100 _history->erase(it); in addToHistory() 110 _history->push_back(e); in addToHistory() 143 if(_history->empty()) in dumpHistory() 149 for(int i=0;i<_history->size();i++) in dumpHistory() 151 shellHistoryEntry e=_history->at(i); in dumpHistory() 235 int size=_history->size(); in previousCommand() [all …]
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux/qt4/ADM_userInterfaces/ADM_shell/ |
H A D | Q_shell.cpp | 33 _history = commands; in qShell() 35 for(int i=0;i<_history->size();i++) in qShell() 37 shellHistoryEntry e=_history->at(i); in qShell() 84 int size=_history->size(); in addToHistory() 100 _history->erase(it); in addToHistory() 110 _history->push_back(e); in addToHistory() 143 if(_history->empty()) in dumpHistory() 149 for(int i=0;i<_history->size();i++) in dumpHistory() 151 shellHistoryEntry e=_history->at(i); in dumpHistory() 235 int size=_history->size(); in previousCommand() [all …]
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux/qt4/ADM_userInterfaces/ADM_shell/ |
H A D | Q_shell.cpp | 33 _history = commands; in qShell() 35 for(int i=0;i<_history->size();i++) in qShell() 37 shellHistoryEntry e=_history->at(i); in qShell() 84 int size=_history->size(); in addToHistory() 100 _history->erase(it); in addToHistory() 110 _history->push_back(e); in addToHistory() 143 if(_history->empty()) in dumpHistory() 149 for(int i=0;i<_history->size();i++) in dumpHistory() 151 shellHistoryEntry e=_history->at(i); in dumpHistory() 235 int size=_history->size(); in previousCommand() [all …]
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux/qt4/ADM_userInterfaces/ADM_shell/ |
H A D | Q_shell.cpp | 33 _history = commands; in qShell() 35 for(int i=0;i<_history->size();i++) in qShell() 37 shellHistoryEntry e=_history->at(i); in qShell() 84 int size=_history->size(); in addToHistory() 100 _history->erase(it); in addToHistory() 110 _history->push_back(e); in addToHistory() 143 if(_history->empty()) in dumpHistory() 149 for(int i=0;i<_history->size();i++) in dumpHistory() 151 shellHistoryEntry e=_history->at(i); in dumpHistory() 235 int size=_history->size(); in previousCommand() [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/ |
H A D | mainwidget.cpp | 368 _history->hide(); in MainWidget() 370 _history->show(); in MainWidget() 382 _history->start(); in MainWidget() 421 return _history; in floatPlayerGetSection() 430 return _history; in floatPlayerGetSection() 437 return _history; in floatPlayerGetSection() 1282 if (!(_history->peer() && _history->peer()->id == peerId) in ui_showPeerHistory() 1623 _history->x(), in showNewSection() 1749 || (_history && _history->preventsClose(std::move(callback))); in preventsCloseSection() 2183 _history->x(), in refreshResizeAreas() [all …]
|