Skip to content

Commit

Permalink
Update cachet doc to 0.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Jan 13, 2025
1 parent 9c1c37f commit ba5f63f
Show file tree
Hide file tree
Showing 45 changed files with 2,169 additions and 0 deletions.
Empty file removed README
Empty file.
8 changes: 8 additions & 0 deletions cachet-lwt/Cachet_lwt/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cachet_lwt (cachet-lwt.Cachet_lwt)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">cachet-lwt</a> &#x00BB; Cachet_lwt</nav><header class="odoc-preamble"><h1>Module <code><span>Cachet_lwt</span></code></h1><p>The Lwt variation of Cachet implies a point of cooperation (<code>Lwt.pause</code>) as soon as the syscall <code>map</code> is called. In other words, a task developed with Cachet_lwt will make itself available to be rescheduled if we internally call <code>map</code> instead of using the cache.</p><p>In the event that the functions below were to use the cache, they would retain the exclusive right to execute and would not allow any cooperation points to appear.</p><p>Such an approach increases the task's availability if it does I/O in cooperation with other tasks that would also like to do I/O.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-load"><a href="#val-load" class="anchor"></a><code><span><span class="keyword">val</span> load : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?len</span>:int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../../cachet/Cachet/index.html#type-slice">Cachet.slice</a> option</span> <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int8"><a href="#val-get_int8" class="anchor"></a><code><span><span class="keyword">val</span> get_int8 : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div><div class="spec-doc"><p><code>get_int8 t logical_address</code> is <code>t</code>'s signed 8-bit integer starting at byte index <code>logical_address</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <code>Out_of_bounds</code> <p>if <code>logical_address</code> is not accessible.</p></li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_uint8"><a href="#val-get_uint8" class="anchor"></a><code><span><span class="keyword">val</span> get_uint8 : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div><div class="spec-doc"><p><code>get_uint8 t logical_address</code> is <code>t</code>'s unsigned 8-bit integer starting at byte index <code>logical_address</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <code>Out_of_bounds</code> <p>if <code>logical_address</code> is not accessible.</p></li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_uint16_ne"><a href="#val-get_uint16_ne" class="anchor"></a><code><span><span class="keyword">val</span> get_uint16_ne : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_uint16_le"><a href="#val-get_uint16_le" class="anchor"></a><code><span><span class="keyword">val</span> get_uint16_le : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_uint16_be"><a href="#val-get_uint16_be" class="anchor"></a><code><span><span class="keyword">val</span> get_uint16_be : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int16_ne"><a href="#val-get_int16_ne" class="anchor"></a><code><span><span class="keyword">val</span> get_int16_ne : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int16_le"><a href="#val-get_int16_le" class="anchor"></a><code><span><span class="keyword">val</span> get_int16_le : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int16_be"><a href="#val-get_int16_be" class="anchor"></a><code><span><span class="keyword">val</span> get_int16_be : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int32_ne"><a href="#val-get_int32_ne" class="anchor"></a><code><span><span class="keyword">val</span> get_int32_ne : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int32 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int32_le"><a href="#val-get_int32_le" class="anchor"></a><code><span><span class="keyword">val</span> get_int32_le : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int32 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int32_be"><a href="#val-get_int32_be" class="anchor"></a><code><span><span class="keyword">val</span> get_int32_be : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int32 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int64_ne"><a href="#val-get_int64_ne" class="anchor"></a><code><span><span class="keyword">val</span> get_int64_ne : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int64 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int64_le"><a href="#val-get_int64_le" class="anchor"></a><code><span><span class="keyword">val</span> get_int64_le : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int64 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_int64_be"><a href="#val-get_int64_be" class="anchor"></a><code><span><span class="keyword">val</span> get_int64_be : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int64 <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_string"><a href="#val-get_string" class="anchor"></a><code><span><span class="keyword">val</span> get_string : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">len</span>:int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>string <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-next"><a href="#val-next" class="anchor"></a><code><span><span class="keyword">val</span> next : <span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../cachet/Cachet/index.html#type-slice">Cachet.slice</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../../cachet/Cachet/index.html#type-slice">Cachet.slice</a> option</span> <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-blit_to_bytes"><a href="#val-blit_to_bytes" class="anchor"></a><code><span><span class="keyword">val</span> blit_to_bytes :
<span><span><span class="type-var">'fd</span> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">src_off</span>:int <span class="arrow">&#45;&gt;</span></span>
<span>bytes <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">dst_off</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">len</span>:int <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="xref-unresolved">Lwt</span>.t</span></span></code></div></div></div></body></html>
2 changes: 2 additions & 0 deletions cachet-lwt/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (cachet-lwt.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – cachet-lwt</nav><header class="odoc-preamble"><h1 id="cachet-lwt-index"><a href="#cachet-lwt-index" class="anchor"></a>cachet-lwt index</h1></header><nav class="odoc-toc"><ul><li><a href="#library-cachet-lwt">Library cachet-lwt</a></li></ul></nav><div class="odoc-content"><h2 id="library-cachet-lwt"><a href="#library-cachet-lwt" class="anchor"></a>Library cachet-lwt</h2><p>The entry point of this library is the module: <a href="Cachet_lwt/index.html"><code>Cachet_lwt</code></a>.</p></div></body></html>
2 changes: 2 additions & 0 deletions cachet-solo5/Cachet_solo5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cachet_solo5 (cachet-solo5.Cachet_solo5)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">cachet-solo5</a> &#x00BB; Cachet_solo5</nav><header class="odoc-preamble"><h1>Module <code><span>Cachet_solo5</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-file_descr"><a href="#type-file_descr" class="anchor"></a><code><span><span class="keyword">type</span> file_descr</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-connect"><a href="#val-connect" class="anchor"></a><code><span><span class="keyword">val</span> connect : <span><span class="optlabel">?cachesize</span>:int <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-file_descr">file_descr</a> <a href="../../cachet/Cachet/index.html#type-t">Cachet.t</a></span></span></code></div></div></div></body></html>
2 changes: 2 additions & 0 deletions cachet-solo5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (cachet-solo5.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – cachet-solo5</nav><header class="odoc-preamble"><h1 id="cachet-solo5-index"><a href="#cachet-solo5-index" class="anchor"></a>cachet-solo5 index</h1></header><nav class="odoc-toc"><ul><li><a href="#library-cachet-solo5">Library cachet-solo5</a></li></ul></nav><div class="odoc-content"><h2 id="library-cachet-solo5"><a href="#library-cachet-solo5" class="anchor"></a>Library cachet-solo5</h2><p>The entry point of this library is the module: <a href="Cachet_solo5/index.html"><code>Cachet_solo5</code></a>.</p></div></body></html>
8 changes: 8 additions & 0 deletions cachet/Cachet/Bstr/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit ba5f63f

Please sign in to comment.