===: main29 c{0: 0 (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) -- nil c{0: 1 (((x string-address)) <- ((new)) run: main 0: a b c mem: 0 a run: main 1: d e f mem: 1 a mem: 1 b mem: 1 c run: main 2: g hi mem: 2 a run: main 3: j run: main 4: k run: main 5: l) -- nil c{0: 2 (((s stream-address)) <- ((init-stream)) ((x string-address))) -- nil c{0: 3 (((traces instruction-trace-address-array-address)) <- ((parse-traces)) ((s stream-address))) -- nil c{0: 4 (((2 terminal-address) (raw)) <- ((init-fake-terminal)) ((17 literal)) ((15 literal))) -- nil c{0: 5 (((3 space-address) (raw) (browser-state)) <- ((browser-state)) ((traces instruction-trace-address-array-address)) ((3 literal) (screen-height))) -- nil c{0: 6 (((0 space-address) (names browser-state)) <- ((copy)) ((3 space-address) (raw) (browser-state))) -- nil c{0: 7 (((4 string-address) (raw)) <- ((get)) ((2 terminal-address) (raw) (deref)) ((data offset))) -- nil c{0: 8 (((first-index-on-page integer) (space 1)) <- ((copy)) ((1 literal))) -- nil c{0: 9 (((first-subindex-on-page integer) (space 1)) <- ((copy)) ((1 literal))) -- nil c{0: 10 (((last-index-on-page integer) (space 1)) <- ((copy)) ((3 literal))) -- nil c{0: 11 (((last-subindex-on-page integer) (space 1)) <- ((copy)) ((-2 literal))) -- nil c{0: 12 (((expanded-index integer) (space 1)) <- ((copy)) ((1 literal))) -- nil c{0: 13 (((expanded-children integer) (space 1)) <- ((copy)) ((3 literal))) -- nil c{0: 14 (((to-top)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) -- nil c{0: 15 (((print-page)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) -- nil c{0: 16 (((s string-address)) <- ((new)) k ) -- nil c{0: 17 (((k keyboard-address)) <- ((init-keyboard)) ((s string-address))) -- nil c{0: 18 (((process-key)) ((3 space-address) (raw) (browser-state)) ((k keyboard-address)) ((2 terminal-address) (raw))) -- nil c{0: 19 (((process-key)) ((3 space-address) (raw) (browser-state)) ((k keyboard-address)) ((2 terminal-address) (raw))) -- nil c{1: 0 ✓ (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) c{1: 1 ✓ (((x string-address)) <- ((new)) run: main 0: a b c mem: 0 a run: main 1: d e f mem: 1 a mem: 1 b mem: 1 c run: main 2: g hi mem: 2 a run: main 3: j run: main 4: k run: main 5: l) c{1: 2 ✓ (((s stream-address)) <- ((init-stream)) ((x string-address))) c{1: 3 ✓ (((traces instruction-trace-address-array-address)) <- ((parse-traces)) ((s stream-address))) c{1: 4 ✓ (((2 terminal-address) (raw)) <- ((init-fake-terminal)) ((17 literal)) ((15 literal))) c{1: 5 ✓ (((3 space-address) (raw) (browser-state)) <- ((browser-state)) ((traces instruction-trace-address-array-address)) ((3 literal) (screen-height))) c{1: 6 ✓ (((0 space-address) (names browser-state)) <- ((copy)) ((3 space-address) (raw) (browser-state))) c{1: 7 ✓ (((4 string-address) (raw)) <- ((get)) ((2 terminal-address) (raw) (deref)) ((data offset))) c{1: 8 ✓ (((first-index-on-page integer) (space 1)) <- ((copy)) ((1 literal))) c{1: 9 ✓ (((first-subindex-on-page integer) (space 1)) <- ((copy)) ((1 literal))) c{1: 10 ✓ (((last-index-on-page integer) (space 1)) <- ((copy)) ((3 literal))) c{1: 11 ✓ (((last-subindex-on-page integer) (space 1)) <- ((copy)) ((-2 literal))) c{1: 12 ✓ (((expanded-index integer) (space 1)) <- ((copy)) ((1 literal))) c{1: 13 ✓ (((expanded-children integer) (space 1)) <- ((copy)) ((3 literal))) c{1: 14 ✓ (((to-top)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) c{1: 15 ✓ (((print-page)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) c{1: 16 ✓ (((s string-address)) <- ((new)) k ) c{1: 17 ✓ (((k keyboard-address)) <- ((init-keyboard)) ((s string-address))) c{1: 18 ✓ (((process-key)) ((3 space-address) (raw) (browser-state)) ((k keyboard-address)) ((2 terminal-address) (raw))) c{1: 19 ✓ (((process-key)) ((3 space-address) (raw) (browser-state)) ((k keyboard-address)) ((2 terminal-address) (raw))) -: next-space-generator of main29 is browser-state cn0: convert-names in main29 cn0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) nil nil cn0: checking arg ((space literal)) cn0: checking arg ((30 literal) (capacity)) cn0: checking oarg ((default-space space-address)) maybe-add: ((default-space space-address)) cn0: (((x string-address)) <- ((new)) run: main 0: a b c mem: 0 a run: main 1: d e f mem: 1 a mem: 1 b mem: 1 c run: main 2: g hi mem: 2 a run: main 3: j run: main 4: k run: main 5: l) nil nil cn0: checking arg run: main 0: a b c mem: 0 a run: main 1: d e f mem: 1 a mem: 1 b mem: 1 c run: main 2: g hi mem: 2 a run: main 3: j run: main 4: k run: main 5: l cn0: checking oarg ((x string-address)) maybe-add: ((x string-address)) cn0: location for oarg ((x string-address)): 1 cn0: (((s stream-address)) <- ((init-stream)) ((x string-address))) ((x 1)) nil cn0: checking arg ((x string-address)) maybe-add: ((x string-address)) cn0: checking oarg ((s stream-address)) maybe-add: ((s stream-address)) cn0: location for oarg ((s stream-address)): 2 cn0: (((traces instruction-trace-address-array-address)) <- ((parse-traces)) ((s stream-address))) ((s 2) (x 1)) nil cn0: checking arg ((s stream-address)) maybe-add: ((s stream-address)) cn0: checking oarg ((traces instruction-trace-address-array-address)) maybe-add: ((traces instruction-trace-address-array-address)) cn0: location for oarg ((traces instruction-trace-address-array-address)): 3 cn0: (((2 terminal-address) (raw)) <- ((init-fake-terminal)) ((17 literal)) ((15 literal))) ((s 2) (traces 3) (x 1)) nil cn0: checking arg ((17 literal)) cn0: checking arg ((15 literal)) cn0: checking oarg ((2 terminal-address) (raw)) maybe-add: ((2 terminal-address) (raw)) cn0: (((3 space-address) (raw) (browser-state)) <- ((browser-state)) ((traces instruction-trace-address-array-address)) ((3 literal) (screen-height))) ((s 2) (traces 3) (x 1)) nil cn0: checking arg ((traces instruction-trace-address-array-address)) maybe-add: ((traces instruction-trace-address-array-address)) cn0: checking arg ((3 literal) (screen-height)) cn0: checking oarg ((3 space-address) (raw) (browser-state)) maybe-add: ((3 space-address) (raw) (browser-state)) cn0: (((0 space-address) (names browser-state)) <- ((copy)) ((3 space-address) (raw) (browser-state))) ((s 2) (traces 3) (x 1)) nil cn0: checking arg ((3 space-address) (raw) (browser-state)) maybe-add: ((3 space-address) (raw) (browser-state)) cn0: checking oarg ((0 space-address) (names browser-state)) maybe-add: ((0 space-address) (names browser-state)) cn0: (((4 string-address) (raw)) <- ((get)) ((2 terminal-address) (raw) (deref)) ((data offset))) ((s 2) (traces 3) (x 1)) nil cn0: field-access data in 2terminal-addressrawderef of type terminal cn0: new field; computing location cn0: field location 4 cn0: checking arg ((2 terminal-address) (raw) (deref)) maybe-add: ((2 terminal-address) (raw) (deref)) cn0: checking arg ((data offset)) cn0: checking oarg ((4 string-address) (raw)) maybe-add: ((4 string-address) (raw)) cn0: (((first-index-on-page integer) (space 1)) <- ((copy)) ((1 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((1 literal)) cn0: checking oarg ((first-index-on-page integer) (space 1)) maybe-add: ((first-index-on-page integer) (space 1)) cn0: (((first-subindex-on-page integer) (space 1)) <- ((copy)) ((1 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((1 literal)) cn0: checking oarg ((first-subindex-on-page integer) (space 1)) maybe-add: ((first-subindex-on-page integer) (space 1)) cn0: (((last-index-on-page integer) (space 1)) <- ((copy)) ((3 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((3 literal)) cn0: checking oarg ((last-index-on-page integer) (space 1)) maybe-add: ((last-index-on-page integer) (space 1)) cn0: (((last-subindex-on-page integer) (space 1)) <- ((copy)) ((-2 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((-2 literal)) cn0: checking oarg ((last-subindex-on-page integer) (space 1)) maybe-add: ((last-subindex-on-page integer) (space 1)) cn0: (((expanded-index integer) (space 1)) <- ((copy)) ((1 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((1 literal)) cn0: checking oarg ((expanded-index integer) (space 1)) maybe-add: ((expanded-index integer) (space 1)) cn0: (((expanded-children integer) (space 1)) <- ((copy)) ((3 literal))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((3 literal)) cn0: checking oarg ((expanded-children integer) (space 1)) maybe-add: ((expanded-children integer) (space 1)) cn0: (((to-top)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((0 space-address) (browser-state)) maybe-add: ((0 space-address) (browser-state)) cn0: checking arg ((2 terminal-address) (raw)) maybe-add: ((2 terminal-address) (raw)) cn0: (((print-page)) ((0 space-address) (browser-state)) ((2 terminal-address) (raw))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((0 space-address) (browser-state)) maybe-add: ((0 space-address) (browser-state)) cn0: checking arg ((2 terminal-address) (raw)) maybe-add: ((2 terminal-address) (raw)) cn0: (((s string-address)) <- ((new)) k ) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg k cn0: checking oarg ((s string-address)) maybe-add: ((s string-address)) cn0: (((k keyboard-address)) <- ((init-keyboard)) ((s string-address))) ((data 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((s string-address)) maybe-add: ((s string-address)) cn0: checking oarg ((k keyboard-address)) maybe-add: ((k keyboard-address)) cn0: location for oarg ((k keyboard-address)): 4 cn0: (((process-key)) ((3 space-address) (raw) (browser-state)) ((k keyboard-address)) ((2 terminal-address) (raw))) ((data 4) (k 4) (s 2) (traces 3) (x 1)) ((data t)) cn0: checking arg ((3 space-address)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.fsobject.loader</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.fsobject.html"><font color="#ffffff">fsobject</font></a>.loader</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/work/ranger/ranger/fsobject/loader.py">/home/hut/work/ranger/ranger/fsobject/loader.py</a></font></td></tr></table>
<p><tt># Copyright (c) 2009, 2010 hut <hut@lavabit.com><br>
#<br>
# Permission to use, copy, modify, and/or distribute this software for any<br>
# purpose with or without fee is hereby granted, provided that the above<br>
# copyright notice and this permission notice appear in all copies.<br>
#<br>
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES<br>
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF<br>
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR<br>
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES<br>
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN<br>
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF<br>
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="math.html">math</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="ranger.fsobject.loader.html#LoadableObject">LoadableObject</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="ranger.fsobject.loader.html#Loader">Loader</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LoadableObject">class <strong>LoadableObject</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="LoadableObject-__init__"><strong>__init__</strong></a>(self, gen, descr)</dt></dl>
<dl><dt><a name="LoadableObject-get_description"><strong>get_description</strong></a>(self)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Loader">class <strong>Loader</strong></a>(<a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ranger.fsobject.loader.html#Loader">Loader</a></dd>
<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd>
<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Loader-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="Loader-add"><strong>add</strong></a>(self, obj)</dt><dd><tt>Add an <a href="builtins.html#object">object</a> to the queue.<br>
It should have a load_generator method.</tt></dd></dl>
<dl><dt><a name="Loader-has_work"><strong>has_work</strong></a>(self)</dt><dd><tt>Is there anything to load?</tt></dd></dl>
<dl><dt><a name="Loader-move"><strong>move</strong></a>(self, _from, to)</dt></dl>
<dl><dt><a name="Loader-remove"><strong>remove</strong></a>(self, item<font color="#909090">=None</font>, index<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="Loader-rotate"><strong>rotate</strong></a>(self)</dt><dd><tt>Rotate the throbber</tt></dd></dl>
<dl><dt><a name="Loader-work"><strong>work</strong></a>(self)</dt><dd><tt>Load items from the queue if there are any.<br>
Stop after approximately self.<strong>seconds_of_work_time</strong>.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>seconds_of_work_time</strong> = 0.05</dl>
<hr>
Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br>
<dl><dt><strong>fm</strong> = None</dl>
<hr>
Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-status_generator"><strong>status_generator</strong></a>()</dt><dd><tt>Generate a rotating line which can be used as a throbber</tt></dd></dl>
<dl><dt><a name="-time"><strong>time</strong></a>(...)</dt><dd><tt><a href="#-time">time</a>() -> floating point number<br>
<br>
Return the current time in seconds since the Epoch.<br>
Fractions of a second may be present if the system clock provides them.</tt></dd></dl>
</td></tr></table>
</body></html>