Skip to content

Commit

Permalink
Merge pull request #54 from baidu/master-dev
Browse files Browse the repository at this point in the history
Master dev Merge
  • Loading branch information
mythmgn authored Dec 19, 2023
2 parents 447d52f + 6767347 commit 730bf86
Show file tree
Hide file tree
Showing 138 changed files with 3,639 additions and 19,152 deletions.
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/cache.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.cache &#8212; cup 3.2.32 documentation</title>
<title>cup.cache &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -366,7 +365,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/decorators.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.decorators &#8212; cup 3.2.32 documentation</title>
<title>cup.decorators &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -354,7 +353,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
75 changes: 43 additions & 32 deletions docs/api-ref/_modules/cup/err.html

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/exfile.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.exfile &#8212; cup 3.2.32 documentation</title>
<title>cup.exfile &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -325,7 +324,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/flag.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.flag &#8212; cup 3.2.32 documentation</title>
<title>cup.flag &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -148,7 +147,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/log.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.log &#8212; cup 3.2.32 documentation</title>
<title>cup.log &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -774,7 +773,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/mail.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.mail &#8212; cup 3.2.32 documentation</title>
<title>cup.mail &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -395,7 +394,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
11 changes: 5 additions & 6 deletions docs/api-ref/_modules/cup/net.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net &#8212; cup 3.2.32 documentation</title>
<title>cup.net &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -101,7 +100,7 @@ <h1>Source code for cup.net</h1><div class="highlight"><pre>
<span class="n">ipaddr</span> <span class="o">=</span> <span class="n">struct</span><span class="o">.</span><span class="n">unpack</span><span class="p">(</span><span class="s1">&#39;16sH2x4s8x&#39;</span><span class="p">,</span> <span class="n">res</span><span class="p">)[</span><span class="mi">2</span><span class="p">]</span>
<span class="k">return</span> <span class="n">socket</span><span class="o">.</span><span class="n">inet_ntoa</span><span class="p">(</span><span class="n">ipaddr</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span><span class="p">(</span><span class="s1">&#39;Not implemented on this platform&#39;</span><span class="p">)</span></div>
<span class="k">raise</span> <span class="ne">NameError</span><span class="p">(</span><span class="s1">&#39;Not supported on this platform&#39;</span><span class="p">)</span></div>


<div class="viewcode-block" id="get_local_hostname"><a class="viewcode-back" href="../../cup.net.html#cup.net.get_local_hostname">[docs]</a><span class="k">def</span> <span class="nf">get_local_hostname</span><span class="p">():</span>
Expand Down Expand Up @@ -248,7 +247,7 @@ <h1>Source code for cup.net</h1><div class="highlight"><pre>
<div class="viewcode-block" id="port_listened"><a class="viewcode-back" href="../../cup.net.html#cup.net.port_listened">[docs]</a><span class="k">def</span> <span class="nf">port_listened</span><span class="p">(</span><span class="n">host</span><span class="p">,</span> <span class="n">port</span><span class="p">,</span> <span class="n">is_ipv6</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;check if the port is being listened on the host&quot;&quot;&quot;</span>
<span class="k">if</span> <span class="n">is_ipv6</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span><span class="p">(</span><span class="s1">&#39;ipv6 not supported yet&#39;</span><span class="p">)</span>
<span class="k">raise</span> <span class="ne">NameError</span><span class="p">(</span><span class="s1">&#39;ipv6 not supported yet&#39;</span><span class="p">)</span>
<span class="n">sock</span> <span class="o">=</span> <span class="n">socket</span><span class="o">.</span><span class="n">socket</span><span class="p">(</span><span class="n">socket</span><span class="o">.</span><span class="n">AF_INET</span><span class="p">,</span> <span class="n">socket</span><span class="o">.</span><span class="n">SOCK_STREAM</span><span class="p">)</span>
<span class="n">sock</span><span class="o">.</span><span class="n">settimeout</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span>
<span class="n">set_sock_reusable</span><span class="p">(</span><span class="n">sock</span><span class="p">)</span>
Expand Down Expand Up @@ -282,7 +281,7 @@ <h1>Source code for cup.net</h1><div class="highlight"><pre>
<span class="n">eths</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">inter</span><span class="p">)</span>
<span class="k">return</span> <span class="n">eths</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span><span class="p">(</span><span class="s1">&#39;not supported other than linux&#39;</span><span class="p">)</span></div>
<span class="k">raise</span> <span class="ne">NameError</span><span class="p">(</span><span class="s1">&#39;not supported other than linux&#39;</span><span class="p">)</span></div>

<span class="c1"># vi:set tw=0 ts=4 sw=4 nowrap fdm=indent</span>
</pre></div>
Expand Down Expand Up @@ -343,7 +342,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/common.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.common &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.common &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -179,7 +178,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/conn.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.conn &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.conn &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -999,7 +998,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/context.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.context &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.context &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -423,7 +422,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/ioloop.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.ioloop &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.ioloop &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -362,7 +361,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/msg.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.msg &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.msg &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -817,7 +816,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/asyn/msgcenter.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.asyn.msgcenter &#8212; cup 3.2.32 documentation</title>
<title>cup.net.asyn.msgcenter &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css" />
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -320,7 +319,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/ipaddr.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.ipaddr &#8212; cup 3.2.32 documentation</title>
<title>cup.net.ipaddr &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css" />
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -134,7 +133,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/net/route.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.net.route &#8212; cup 3.2.32 documentation</title>
<title>cup.net.route &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css" />
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -376,7 +375,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
5 changes: 2 additions & 3 deletions docs/api-ref/_modules/cup/platforms.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cup.platforms &#8212; cup 3.2.32 documentation</title>
<title>cup.platforms &#8212; cup 3.2.33 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -166,7 +165,7 @@ <h3 id="searchlabel">Quick search</h3>
&copy;2023, CUP-DEV Team.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 6.1.3</a>
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.0.1</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a>

</div>
Expand Down
Loading

0 comments on commit 730bf86

Please sign in to comment.