/dports/chinese/libime/libime-1.0.9/test/ |
H A D | testhistorybigram.cpp | 17 history.add({"你", "是", "一个", "好人"}); in testBasic() 18 history.add({"我", "是", "一个", "坏人"}); in testBasic() 19 history.add({"他"}); in testBasic() 53 history.add({"泥浩"}); in testBasic() 56 history.add({"你好"}); in testBasic() 60 history.add({"泥浩"}); in testBasic() 64 history.add({"你好"}); in testBasic() 67 history.add({"你好"}); in testBasic() 70 history.add({"泥浩"}); in testBasic() 73 history.add({"泥浩"}); in testBasic() [all …]
|
/dports/lang/tcl85/tcl8.5.19/tests/ |
H A D | history.test | 29 history add {set a 12345} 80 # "history add" 86 test history-3.2 {add option} history {catch {history add "set a 444" execGorp}} 1 91 test history-3.4 {add option} history {catch {history add "set a 444" a} msg} 1 104 test history-3.8 {add option} history {catch {history add "set a 666" e f} msg} 1 172 history add "foo1" 173 history add "foo2" 174 history add "foo3" 215 history add "Testing" 230 history add "Testing" [all …]
|
/dports/lang/tcl86/tcl8.6.12/tests/ |
H A D | history.test | 29 history add {set a 12345} 80 # "history add" 86 test history-3.2 {add option} history {catch {history add "set a 444" execGorp}} 1 91 test history-3.4 {add option} history {catch {history add "set a 444" a} msg} 1 104 test history-3.8 {add option} history {catch {history add "set a 666" e f} msg} 1 172 history add "foo1" 173 history add "foo2" 174 history add "foo3" 217 history add "Testing" 232 history add "Testing" [all …]
|
/dports/lang/tcl87/tcl8.7a5/tests/ |
H A D | history.test | 29 history add {set a 12345} 80 # "history add" 86 test history-3.2 {add option} history {catch {history add "set a 444" execGorp}} 1 91 test history-3.4 {add option} history {catch {history add "set a 444" a} msg} 1 104 test history-3.8 {add option} history {catch {history add "set a 666" e f} msg} 1 172 history add "foo1" 173 history add "foo2" 174 history add "foo3" 217 history add "Testing" 232 history add "Testing" [all …]
|
/dports/graphics/aseprite/aseprite-1.2.9/src/undo/tests/ |
H A D | complex_tree.cpp | 30 cmd1.redo(); history.add(&cmd1); in main() 31 cmd2.redo(); history.add(&cmd2); in main() 32 cmd3.redo(); history.add(&cmd3); in main() 33 cmd4.redo(); history.add(&cmd4); in main() 34 history.undo(); in main() 35 history.undo(); in main() 36 cmd5.redo(); history.add(&cmd5); in main() 37 cmd6.redo(); history.add(&cmd6); in main() 38 history.undo(); in main() 39 cmd7.redo(); history.add(&cmd7); in main() [all …]
|
H A D | tree.cpp | 26 cmd1.redo(); history.add(&cmd1); in main() 27 cmd2.redo(); history.add(&cmd2); in main() 28 history.undo(); in main() 29 cmd3.redo(); history.add(&cmd3); // Creates a branch in the history in main() 30 cmd4.redo(); history.add(&cmd4); in main() 33 history.undo(); in main() 35 history.undo(); in main() 37 history.undo(); in main() 39 history.undo(); in main() 42 history.redo(); in main() [all …]
|
H A D | basics.cpp | 26 UndoHistory history; in main() local 27 EXPECT_FALSE(history.canUndo()); in main() 28 EXPECT_FALSE(history.canRedo()); in main() 29 history.add(&cmd1); in main() 30 EXPECT_TRUE(history.canUndo()); in main() 32 history.add(&cmd2); in main() 33 EXPECT_TRUE(history.canUndo()); in main() 36 history.undo(); in main() 40 history.undo(); in main() 45 history.redo(); in main() [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/BrowserKit/Tests/ |
H A D | HistoryTest.php | 22 $history = new History(); 23 $history->add(new Request('http://www.example1.com/', 'get')); 26 $history->add(new Request('http://www.example2.com/', 'get')); 29 $history->add(new Request('http://www.example3.com/', 'get')); 32 …http://www.example4.com/', $history->current()->getUri(), '->add() adds a request to the history'); 41 $history->add(new Request('http://www.example.com/', 'get')); 72 $history->back(); 78 $history->add(new Request('http://www.example1.com/', 'get')); 87 $history->add(new Request('http://www.example.com/', 'get')); 97 $history->back(); [all …]
|
/dports/devel/gitlist/gitlist/vendor/symfony/browser-kit/Tests/ |
H A D | HistoryTest.php | 22 $history = new History(); 23 $history->add(new Request('http://www.example1.com/', 'get')); 26 $history->add(new Request('http://www.example2.com/', 'get')); 29 $history->add(new Request('http://www.example3.com/', 'get')); 32 …http://www.example4.com/', $history->current()->getUri(), '->add() adds a request to the history'); 41 $history->add(new Request('http://www.example.com/', 'get')); 72 $history->back(); 78 $history->add(new Request('http://www.example1.com/', 'get')); 87 $history->add(new Request('http://www.example.com/', 'get')); 97 $history->back(); [all …]
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/BrowserKit/Tests/ |
H A D | HistoryTest.php | 22 $history = new History(); 23 $history->add(new Request('http://www.example1.com/', 'get')); 26 $history->add(new Request('http://www.example2.com/', 'get')); 29 $history->add(new Request('http://www.example3.com/', 'get')); 32 …http://www.example4.com/', $history->current()->getUri(), '->add() adds a request to the history'); 41 $history->add(new Request('http://www.example.com/', 'get')); 72 $history->back(); 78 $history->add(new Request('http://www.example1.com/', 'get')); 87 $history->add(new Request('http://www.example.com/', 'get')); 97 $history->back(); [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | KillDarkElves.java | 278 history.add("I do not want to help Maerion."); in getHistory() 287 history.add("I agreed to help Maerion."); in getHistory() 309 history.add("I have killed all required creatures."); in getHistory() 320 history.add("I have killed the dark elf captain in the secret room."); in getHistory() 323 history.add("I have killed the dark elf archer in the secret room."); in getHistory() 326 history.add("I have killed the thing."); in getHistory() 337 history.add("I have not yet killed the thing."); in getHistory() 342 history.add("I have killed all required creatures."); in getHistory() 350 history.add("I have the amulet with me."); in getHistory() 352 history.add("I have no amulet with me."); in getHistory() [all …]
|
H A D | KillSpiders.java | 215 history.add("I do not agree to help Morgrin."); in getHistory() 219 history.add("I have killed all spiders in the magic school basement and got a mythical egg."); in getHistory() 224 history.add("I do agree to help Morgrin."); in getHistory() 231 history.add("I have killed a spider in the basement."); in getHistory() 234 history.add("I have killed a poisonous spider in the basement."); in getHistory() 237 history.add("I have killed a giant spider in the basement."); in getHistory() 240 …history.add("I have killed all 3 spiders in the basement. Now I go back to Morgrin to fetch my rew… in getHistory() 249 history.add("I have killed a spider in the basement."); in getHistory() 252 history.add("I have killed a poisonous spider in the basement."); in getHistory() 255 history.add("I have killed a giant spider in the basement."); in getHistory() [all …]
|
/dports/lang/jimtcl/jimtcl-0.81/tests/ |
H A D | history.test | 5 test history-1.1 {history usage} -body { 6 history 10 test history-1.2 {history -help} -body { 12 } -result {Usage: "history command ... ", where command is one of: add, completion, getline, keep, … 14 test history-1.2 {history add} { 15 history add line1 16 history add "line2 next" 23 test history-1.3 {history load} { 31 test history-1.5 {history completion} { 35 test history-1.6 {history completion} { [all …]
|
/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/rustyline-9.0.0/src/ |
H A D | history.rs | 567 assert!(history.add("line1")); 568 assert!(history.add("line2")); 569 assert!(history.add("line3")); 584 assert!(history.add("line1")); 585 assert!(history.add("line2")); 587 assert!(!history.add("")); 614 assert!(history.add(line)); 666 history.add("line5"); 684 history.add("line1"); 685 history.add("line1"); [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/operations/ |
H A D | OperationsAPITest.java | 186 history.add(op1); in testHistoryLimit() 211 history.add(op2); in testLocalHistoryLimits() 217 history.add(op1); in testLocalHistoryLimits() 229 history.add(op2); in testOpenOperation() 263 history.add(op1); in testExceptionDuringOpenOperation() 295 history.add(op1); in test94459() 313 history.add(op1); in test94459AllContextsEmpty() 358 history.add(op2); in testUnsuccessfulOpenOperation() 378 history.add(op2); in testNotAddedOpenOperation() 398 history.add(op2); in testMultipleOpenOperation() [all …]
|
/dports/math/kalker/kalker-1.1.0/cargo-crates/rustyline-7.1.0/src/ |
H A D | history.rs | 479 assert!(history.add("line1")); 480 assert!(history.add("line2")); 481 assert!(history.add("line3")); 492 fn add() { 496 assert!(history.add("line1")); 497 assert!(history.add("line2")); 498 assert!(!history.add("line2")); 499 assert!(!history.add("")); 500 assert!(!history.add(" line3")); 526 assert!(history.add(line)); [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ua/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/ |
H A D | CheatSheetHistory.java | 46 listeners.add(l); in addListener() 65 history.add(element); in restoreState() 81 public void add(String id) { in add() method in CheatSheetHistory 84 add(element); in add() 87 public void add(CheatSheetElement element) { in add() method in CheatSheetHistory 89 if (history.contains(element)) in add() 93 int size = history.size(); in add() 97 history.remove(size); in add() 101 history.add(0, element); in add() 133 itemCount = history.size(); in copyItems() [all …]
|
/dports/irc/epic5/epic5-2.1.6/script/ |
H A D | history | 64 # $historyctl(add <text>) 117 alias history.add (...) { 139 history.add $L; 148 history.show ${history.index + 1}; 152 history.add $L; 158 history.show ${history.index - 1}; 164 history.add $L; 178 (add) { 180 history.add $*; 232 history.add $*; [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/ebur128-0.1.6/benches/ |
H A D | history.rs | 3 use ebur128::history; 14 history::history_init_c(); in criterion_benchmark() 16 drop(black_box(history::History::new(true, 0))); in criterion_benchmark() 38 hist.add(*e); in criterion_benchmark() 50 history::history_add_c(hist, *e); in criterion_benchmark() 59 history::history_destroy_c(hist); in criterion_benchmark() 65 hist.add(*e); in criterion_benchmark() 91 history::history_destroy_c(hist); in criterion_benchmark() 97 hist.add(*e); in criterion_benchmark() 123 history::history_destroy_c(hist); in criterion_benchmark() [all …]
|
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/main/java/org/opengrok/indexer/history/ |
H A D | PerforceHistoryParser.java | 27 package org.opengrok.indexer.history; 113 cmd.add("changes"); in parseDirectory() 114 cmd.add("-tl"); in parseDirectory() 116 cmd.add(directorySpec); in parseDirectory() 125 cmd.add("filelog"); in parseDirectory() 126 cmd.add("-sti"); in parseDirectory() 131 return history; in parseDirectory() 144 cmd.add("filelog"); in getRevisions() 145 cmd.add("-slti"); in getRevisions() 184 return history; in parseChanges() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | BeerForHayunnTest.java | 95 player.getSlot("bag").add(beer); in quest() 130 history.add("I have talked to Hayunn."); in testgetHistory() 131 assertEquals(history, bfh.getHistory(player)); in testgetHistory() 134 history.add("I do not want to make Hayunn drunk."); in testgetHistory() 135 assertEquals(history, bfh.getHistory(player)); in testgetHistory() 139 history.add("I promised to buy him a beer from Margaret in Semos Tavern."); in testgetHistory() 140 assertEquals(history, bfh.getHistory(player)); in testgetHistory() 143 history.add("I have a bottle of beer."); in testgetHistory() 144 assertEquals(history, bfh.getHistory(player)); in testgetHistory() 146 history.add("I gave the beer to Hayunn. He paid me 20 gold coins and I got some experience."); in testgetHistory() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/ |
H A D | LaunchHistory.java | 75 fgLaunchHistoryInstances.add(this); in LaunchHistory() 128 fCompleteHistory.add(0, configuration); in addHistory() 131 fCompleteHistory.add(configuration); in addHistory() 194 return history[0]; in getRecentLaunch() 212 history.add(config); in getHistory() 221 return history.toArray(new ILaunchConfiguration[history.size()]); in getHistory() 238 history.add(config); in getCompleteLaunchHistory() 243 return history.toArray(new ILaunchConfiguration[history.size()]); in getCompleteLaunchHistory() 274 fFavorites.add(configuration); in addFavorite() 469 fCompleteHistory.add(index, newConfig); in launchConfigurationRemoved() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | TypeScript.java | 44 private JTextArea history; field in TypeScript 67 history.setEditable(false); in TypeScript() 72 add(scroller); in TypeScript() 79 cmdLine.add(promptLabel); in TypeScript() 83 cmdLine.add(entry); in TypeScript() 84 add(cmdLine); in TypeScript() 99 history.append(text); in append() 105 history.append(newline); in newline() 124 history.append(">>>"); in readln() 125 history.append(text); in readln() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | TypeScript.java | 44 private JTextArea history; field in TypeScript 67 history.setEditable(false); in TypeScript() 72 add(scroller); in TypeScript() 79 cmdLine.add(promptLabel); in TypeScript() 83 cmdLine.add(entry); in TypeScript() 84 add(cmdLine); in TypeScript() 99 history.append(text); in append() 105 history.append(newline); in newline() 124 history.append(">>>"); in readln() 125 history.append(text); in readln() [all …]
|
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/test/java/org/opengrok/indexer/history/ |
H A D | PerforceRepositoryTest.java | 25 package org.opengrok.indexer.history; 44 import static org.opengrok.indexer.history.PerforceRepository.protectPerforceFilename; 45 import static org.opengrok.indexer.history.PerforceRepository.unprotectPerforceFilename; 125 History history = instance.getHistory(f); in testHistoryAndAnnotations() local 126 assertNotNull("Failed to get history for: " + f.getAbsolutePath(), history); in testHistoryAndAnnotations() 128 for (HistoryEntry entry : history.getHistoryEntries()) { in testHistoryAndAnnotations() 149 testmap.add(new SimpleImmutableEntry<>("Test%52", "Test%2552")); in testProtectFilename() 151 testmap.add(new SimpleImmutableEntry<>("Test@", "Test%40")); in testProtectFilename() 154 testmap.add(new SimpleImmutableEntry<>("tst#99", "tst%2399")); in testProtectFilename() 170 testmap.add(new SimpleImmutableEntry<>("Test@", "Test%40")); in testUnprotectFilename() [all …]
|