Home
last modified time | relevance | path

Searched full:history (Results 1 – 25 of 2781) sorted by relevance

12345678910>>...112

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_history.py1 " Test history, coverage 100%."
3 from idlelib.history import History
17 '''Tests History.__init__ and History.store with mock Text'''
22 cls.history = History(cls.text)
26 self.history.history = []
29 self.assertIs(self.history.text, self.text)
30 self.assertEqual(self.history.history, [])
31 self.assertIsNone(self.history.prefix)
32 self.assertIsNone(self.history.pointer)
33 self.assertEqual(self.history.cyclic,
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_idlehistory.py7 from idlelib.IdleHistory import History
14 '''Tests History.__init__ and History.store with mock Text'''
19 cls.history = History(cls.text)
23 self.history.history = []
26 self.assertIs(self.history.text, self.text)
27 self.assertEqual(self.history.history, [])
28 self.assertIsNone(self.history.prefix)
29 self.assertIsNone(self.history.pointer)
30 self.assertEqual(self.history.cyclic,
31 idleConf.GetOption("main", "History", "cyclic", 1, "bool"))
[all …]
/external/jline/src/src/main/java/jline/
DHistory.java13 * A command history buffer.
17 public class History { class
19 private List history = new ArrayList(); field in History
25 * Construstor: initialize a blank history.
27 public History() { in History() method in History
31 * Construstor: initialize History object the the specified {@link File} for
34 public History(final File historyFile) throws IOException { in History() method in History
48 * Load the history buffer from the specified InputStream.
55 * Load the history buffer from the specified Reader.
72 return history.size(); in size()
[all …]
DConsoleRunner.java24 public static final String property = "jline.history";
46 reader.setHistory(new History (new File in main()
49 + "." + historyFileName + ".history"))); in main()
51 reader.setHistory(new History(new File in main()
53 ".jline-" + mainClass + ".history"))); in main()
83 System.out.println("Usage: \n java " + "[-Djline.history='name'] " in usage()
86 + "\n\nThe -Djline.history option will avoid history" in usage()
/external/python/cpython2/Lib/idlelib/
DIdleHistory.py1 "Implement Idle Shell history mechanism with History class"
5 class History: class
6 ''' Implement Idle Shell history mechanism.
10 history_next - Bound to <<history-next>> event (default Alt-N).
11 history_prev - Bound to <<history-prev>> event (default Alt-P).
17 .history - source statements, possibly with multiple lines.
18 .prefix - source already entered at prompt; filters history list.
19 .pointer - index into history.
20 .cyclic - wrap around history list (or not).
23 self.history = []
[all …]
/external/python/cpython3/Lib/idlelib/
Dhistory.py1 "Implement Idle Shell history mechanism with History class"
6 class History: class
7 ''' Implement Idle Shell history mechanism.
11 history_next - Bound to <<history-next>> event (default Alt-N).
12 history_prev - Bound to <<history-prev>> event (default Alt-P).
18 .history - source statements, possibly with multiple lines.
19 .prefix - source already entered at prompt; filters history list.
20 .pointer - index into history.
21 .cyclic - wrap around history list (or not).
24 self.history = []
[all …]
/external/python/cpython3/Doc/library/
Dreadline.rst13 completion and reading/writing of history files from the Python interpreter.
91 History file
94 The following functions operate on a history file:
99 Load a readline history file, and append it to the history list.
100 The default filename is :file:`~/.history`. This calls
106 Save the history list to a readline history file, overwriting any
107 existing file. The default filename is :file:`~/.history`. This calls
113 Append the last *nelements* items of history to a file. The default filename is
114 :file:`~/.history`. The file must already exist. This calls
125 Set or return the desired number of lines to save in the history file.
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWebView.java36 private static final String HISTORY_KEY = "ShadowWebView.History";
59 private ArrayList<String> history = new ArrayList<>(); field in ShadowWebView
143 history.add(0, url); in loadUrl()
159 history.add(0, historyUrl); in loadDataWithBaseURL()
244 history.clear(); in clearHistory()
298 return history.size() > 1; in canGoBack()
310 history.remove(0); in goBack()
311 if (!history.isEmpty()) { in goBack()
312 originalUrl = history.get(0); in goBack()
319 return new BackForwardList(history); in copyBackForwardList()
[all …]
/external/python/cpython2/Doc/library/
Dreadline.rst11 completion and reading/writing of history files from the Python interpreter.
81 History file
84 The following functions operate on a history file:
89 Load a readline history file, and append it to the history list.
90 The default filename is :file:`~/.history`. This calls
96 Save the history list to a readline history file, overwriting any
97 existing file. The default filename is :file:`~/.history`. This calls
104 Set or return the desired number of lines to save in the history file.
106 the history file, by calling :c:func:`history_truncate_file` in
108 unlimited history file size.
[all …]
/external/tensorflow/tensorflow/python/keras/
Dintegration_test.py57 history = model.fit(x_train, y_train, epochs=10, batch_size=10,
60 self.assertGreater(history.history['val_acc'][-1], 0.7)
62 self.assertAlmostEqual(history.history['val_acc'][-1], val_acc)
96 history = model.fit(x_train, y_train, epochs=10, batch_size=10,
99 self.assertGreater(history.history['val_acc'][-1], 0.7)
101 self.assertAlmostEqual(history.history['val_acc'][-1], val_acc)
131 history = model.fit(x_train, y_train, epochs=15, batch_size=10,
134 self.assertGreater(history.history['val_acc'][-1], 0.7)
136 self.assertAlmostEqual(history.history['val_acc'][-1], val_acc)
160 history = model.fit(x_train, y_train, epochs=15, batch_size=10,
[all …]
/external/autotest/site_utils/
Ddut_status.py10 Reports on the history and status of selected DUT hosts, to
14 broken". The status determination is based on the history of
20 A DUT's reported status is based on the DUT's job history in a time
54 with no job history are considered non-working.
61 * A detailed job history for all selected DUTs, sorted by
63 * A job history for all selected DUTs showing only the history
77 -f/--full_history - Print detailed per-host job history.
78 -g/--diagnosis - Print the job history surrounding a status
162 """Print one-line summaries of host history.
173 for history in history_list:
[all …]
/external/python/google-api-python-client/docs/dyn/
Dtoolresults_v1beta3.projects.histories.html84 <p class="firstline">Creates a History.</p>
87 <p class="firstline">Gets a History.</p>
97 <pre>Creates a History.
99 The returned History will have the id set.
112 { # A History represents a sorted list of Executions ordered by the start_timestamp_millis field (d…
118 …"name": "A String", # A name to uniquely identify a history within a project. Maximum of 100 chara…
121 "historyId": "A String", # A unique identifier within a project for this History.
135 …{ # A History represents a sorted list of Executions ordered by the start_timestamp_millis field (…
141 …"name": "A String", # A name to uniquely identify a history within a project. Maximum of 100 chara…
144 "historyId": "A String", # A unique identifier within a project for this History.
[all …]
Dtoolresults_v1beta3firstparty.projects.histories.html84 <p class="firstline">Creates a History.</p>
87 <p class="firstline">Gets a History.</p>
97 <pre>Creates a History.
99 The returned History will have the id set.
112 { # A History represents a sorted list of Executions ordered by the start_timestamp_millis field (d…
118 …"name": "A String", # A name to uniquely identify a history within a project. Maximum of 100 chara…
121 "historyId": "A String", # A unique identifier within a project for this History.
135 …{ # A History represents a sorted list of Executions ordered by the start_timestamp_millis field (…
141 …"name": "A String", # A name to uniquely identify a history within a project. Maximum of 100 chara…
144 "historyId": "A String", # A unique identifier within a project for this History.
[all …]
Dgmail_v1.users.history.html75 … . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.history.html">history</a></h1>
79 <p class="firstline">Lists the history of all changes to the given mailbox. History results are ret…
86 …<pre>Lists the history of all changes to the given mailbox. History results are returned in chrono…
92 maxResults: integer, The maximum number of history records to return.
93history records after the specified startHistoryId. The supplied startHistoryId should be obtained…
94 historyTypes: string, History types to be returned by the function (repeated)
106 "historyId": "A String", # The ID of the mailbox's current history record.
107 …"history": [ # List of history records. Any messages contained in the response will typically only…
108 …{ # A record of a change to the user's mailbox. Each history change may affect multiple messages i…
109 "labelsAdded": [ # Labels added to messages in this history record.
[all …]
/external/mksh/src/
Dhistrap.c1 /* $OpenBSD: history.c,v 1.41 2015/09/01 13:12:31 tedu Exp $ */
66 /* current history file: name, fd, size */
72 /* HISTSIZE default: size of saved history, persistent or standard */
78 /* maximum considered size of persistent history file */
96 bi_errorf("history %ss not available", Tfunction); in c_fc()
268 /* List history */ in c_fc()
353 /* save cmd in history, execute cmd (cmd gets afree’d) */
360 if (histptr >= history && last_line != hist_source->line) { in hist_execute()
385 * get pointer to history given pattern
396 if ((size_t)hp < (size_t)history) { in hist_get()
[all …]
/external/autotest/client/site_tests/policy_SavingBrowserHistoryDisabled/
Dpolicy_SavingBrowserHistoryDisabled.py17 If the SavingBrowserHistoryDisabled is enabled then browsing history
19 not set then history should be recorded.
33 Checks the browser history page to verify if history was saved.
38 # Adding the URL below to browser's history.
41 active_tab = self.navigate_to_url("chrome://history")
52 raise error.TestFail("History is not empty and it should be.")
55 raise error.TestFail("History is empty and it should not be.")
/external/python/cpython2/Modules/
Dreadline.c32 #include <readline/history.h>
123 /* Exported function to load a readline history file */
137 static int _history_length = -1; /* do not truncate history by default */
140 Load a readline history file.\n\
141 The default filename is ~/.history.");
144 /* Exported function to save a readline history file */
162 Save a readline history file.\n\
163 The default filename is ~/.history.");
166 /* Set history length */
181 the history file. A negative length is used to inhibit\n\
[all …]
/external/python/cpython3/Modules/
Dreadline.c32 #include <readline/history.h>
200 /* Exported function to load a readline history file */
220 static int _history_length = -1; /* do not truncate history by default */
223 Load a readline history file.\n\
224 The default filename is ~/.history.");
227 /* Exported function to save a readline history file */
257 Save a readline history file.\n\
258 The default filename is ~/.history.");
262 /* Exported function to save part of a readline history file */
293 Append the last nelements items of the history list to file.\n\
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-linked_ptr_test.cc44 Message* history = NULL; variable
49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A()
51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use()
59 B() { *history << "B" << mynum << " ctor\n"; } in B()
60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B()
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use()
68 history = new Message; in LinkedPtrTest()
72 delete history; in ~LinkedPtrTest()
73 history = NULL; in ~LinkedPtrTest()
[all …]
/external/autotest/frontend/client/src/autotest/common/
DCustomHistory.java5 import com.google.gwt.user.client.History;
13 * Wrapper around gwt.user.client.History that won't call onHistoryChanged for
14 * programmatically-generated history items.
41 History.addValueChangeHandler(this); in CustomHistory()
45 * Allows programmatic simulation of history changes, without actually changing history or the
53 theInstance.processHistoryTokenString(History.getToken()); in processInitialToken()
97 History.newItem(token.toString()); in newItem()
/external/doclava/res/assets/templates/assets/
Djquery-history.js2 * jQuery history event v0.1
32 var current = $.history.getCurrent();
33 $.event.trigger('history', [current, previousNav]);
38 $.history = {
42 var previous = $.history.getCurrent();
47 $.event.trigger('historyadd', [$.history.getCurrent(), previous]);
62 $.fn.history = function(fn) { function
63 $(this).bind('history', fn);
/external/iproute2/man/man8/
Difstat.814 The utility keeps records of the previous data displayed in history files and
16 Location of the history files defaults to /tmp/.ifstat.u$UID but may be
28 Ignore the history file.
37 Don't display any output. Update the history file only.
40 Reset history.
43 Don't update the history file.
62 If set, it's value is interpreted as alternate history file path.
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_widgets.py27 """Individual item in navigation history."""
43 """Navigation history containing commands, outputs and scroll info."""
83 """Update the scroll position of the currently-pointed-to history item.
89 ValueError: If the history is empty.
92 raise ValueError("Empty navigation history")
102 """Go back one place in the history, if possible.
111 ValueError: If history is empty.
114 raise ValueError("Empty navigation history")
121 """Go forward one place in the history, if possible.
130 ValueError: If history is empty.
[all …]
/external/python/cpython2/Doc/tutorial/
Dinteractive.rst4 Interactive Input Editing and History Substitution
8 line and history substitution, similar to facilities found in the Korn shell and
12 explained. The interactive editing and history described here are optionally
17 The command line history recall which operates within DOS boxes on NT and some
38 .. _tut-history:
40 History Substitution
43 History substitution works as follows. All non-empty input lines issued are
44 saved in a history buffer, and when a new prompt is given you are positioned on
46 the history buffer, :kbd:`C-N` moves one down. Any line in the history buffer
121 # Add auto-completion and a stored history file of commands to your Python
[all …]
/external/libchrome/base/memory/
Dlinked_ptr_unittest.cc15 std::string history; variable
19 A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } in A()
20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } in ~A()
21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } in Use()
27 B() { history += base::StringPrintf("B%d ctor\n", mynum); } in B()
28 ~B() override { history += base::StringPrintf("B%d dtor\n", mynum); } in ~B()
29 void Use() override { history += base::StringPrintf("B%d use\n", mynum); } in Use()
86 ASSERT_EQ(history, in TEST()

12345678910>>...112