⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_bit_bucket.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="paramtype"><a class="el" href="class_call_stack.html">CallStack</a> const &amp;&nbsp;</td>          <td class="paramname"> <em>callStack</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>put wait objects into container <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>callStack</em>&nbsp;</td><td>is used for tracing no wait loops, example: something.GetWaitObjects(c, <a class="el" href="class_call_stack.html">CallStack</a>("my func after X", 0));<ul><li>or in an outer <a class="el" href="class_buffered_transformation.html#127ccd1793fdda6548cd1295f848d0f7" title="put wait objects into container">GetWaitObjects()</a> method that itself takes a callStack parameter: innerThing.GetWaitObjects(c, <a class="el" href="class_call_stack.html">CallStack</a>("MyClass::GetWaitObjects at X", &amp;callStack)); </li></ul></td></tr>  </table></dl><p>Implements <a class="el" href="class_waitable.html#97155f28db33d3dacc69dc453a01609a">Waitable</a>.<p>Reimplemented in <a class="el" href="class_redirector.html#c0dc5f63f7a57af37f819aa9251a78bf">Redirector</a>, <a class="el" href="class_network_source.html#6193d15e11af19041ac1ec17b1228e61">NetworkSource</a>, and <a class="el" href="class_network_sink.html#398a8ac1689dffbabb0115787904688b">NetworkSink</a>.<p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00214">214</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="cryptlib_8h-source.html#l00964">BufferedTransformation::AttachedTransformation()</a>, and <a class="el" href="cryptlib_8cpp-source.html#l00214">BufferedTransformation::GetWaitObjects()</a>.<p>Referenced by <a class="el" href="network_8cpp-source.html#l00242">NetworkSource::GetWaitObjects()</a>, and <a class="el" href="cryptlib_8cpp-source.html#l00214">BufferedTransformation::GetWaitObjects()</a>.</div></div><p><a class="anchor" name="8a62b1b6c8f310363f32b05b20c306eb"></a><!-- doxytag: member="BitBucket::Flush" ref="8a62b1b6c8f310363f32b05b20c306eb" args="(bool hardFlush, int propagation=-1, bool blocking=true)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">bool BufferedTransformation::Flush           </td>          <td>(</td>          <td class="paramtype">bool&nbsp;</td>          <td class="paramname"> <em>hardFlush</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>propagation</em> = <code>-1</code>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">bool&nbsp;</td>          <td class="paramname"> <em>blocking</em> = <code>true</code></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>flush buffered input and/or output <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hardFlush</em>&nbsp;</td><td>is used to indicate whether all data should be flushed </td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Hard flushes must be used with care. It means try to process and output everything, even if there may not be enough data to complete the action. For example, hard flushing a <a class="el" href="class_hex_decoder.html" title="Decode base 16 data back to bytes.">HexDecoder</a> would cause an error if you do it after inputing an odd number of hex encoded characters. For some types of filters, for example <a class="el" href="class_zlib_decompressor.html" title="ZLIB Decompressor (RFC 1950).">ZlibDecompressor</a>, hard flushes can only be done at "synchronization points". These synchronization points are positions in the data stream that are created by hard flushes on the corresponding reverse filters, in this example <a class="el" href="class_zlib_compressor.html" title="ZLIB Compressor (RFC 1950).">ZlibCompressor</a>. This is useful when zlib compressed data is moved across a network in packets and compression state is preserved across packets, as in the ssh2 protocol. </dd></dl><p>Reimplemented in <a class="el" href="class_filter.html#d845deb5113d2bd04d109c05abfd3098">Filter</a>, <a class="el" href="class_redirector.html#201243b803642ebfd392579953e75e92">Redirector</a>, <a class="el" href="class_output_proxy.html#a6c68d78790266c60fa8b27176fbf969">OutputProxy</a>, <a class="el" href="class_secret_sharing.html#670b6f5ba7ee9e1f029cd199f6722bb6">SecretSharing</a>, <a class="el" href="class_information_dispersal.html#a348e2dd4609c563196f89e1cf2ad35c">InformationDispersal</a>, <a class="el" href="class_unflushable.html#e5070b5e2895ca6cf458ff7ccef9f1e1">Unflushable&lt; Filter &gt;</a>, <a class="el" href="class_unflushable.html#e5070b5e2895ca6cf458ff7ccef9f1e1">Unflushable&lt; Sink &gt;</a>, <a class="el" href="class_unflushable.html#e5070b5e2895ca6cf458ff7ccef9f1e1">Unflushable&lt; Multichannel&lt; Filter &gt; &gt;</a>, <a class="el" href="class_multichannel.html#e3e6176eb5f0de2857aa7066272c07ce">Multichannel&lt; Filter &gt;</a>, and <a class="el" href="class_multichannel.html#e3e6176eb5f0de2857aa7066272c07ce">Multichannel&lt; Sink &gt;</a>.<p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00227">227</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>.<p>References <a class="el" href="cryptlib_8h-source.html#l00964">BufferedTransformation::AttachedTransformation()</a>.<p>Referenced by <a class="el" href="cryptlib_8cpp-source.html#l00263">BufferedTransformation::ChannelFlush()</a>.</div></div><p><a class="anchor" name="ae4c5ae024419e31bfa0c24eb35b24c2"></a><!-- doxytag: member="BitBucket::MessageSeriesEnd" ref="ae4c5ae024419e31bfa0c24eb35b24c2" args="(int propagation=-1, bool blocking=true)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">bool BufferedTransformation::MessageSeriesEnd           </td>          <td>(</td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>propagation</em> = <code>-1</code>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">bool&nbsp;</td>          <td class="paramname"> <em>blocking</em> = <code>true</code></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>mark end of a series of messages <p>There should be a MessageEnd immediately before MessageSeriesEnd. <p>Reimplemented in <a class="el" href="class_filter.html#a42c62587dda61266ac8195d9c9edb47">Filter</a>, <a class="el" href="class_redirector.html#34c42c1730d031f486e5d285c6dc3314">Redirector</a>, <a class="el" href="class_output_proxy.html#ecf5c216c060f2e6adfeb4019e6ad797">OutputProxy</a>, <a class="el" href="class_multichannel.html#18b9b1cc4e6d2649214c62e447052db9">Multichannel&lt; Filter &gt;</a>, and <a class="el" href="class_multichannel.html#18b9b1cc4e6d2649214c62e447052db9">Multichannel&lt; Sink &gt;</a>.<p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00233">233</a> of file <a class="el" href="cryptlib_8cpp-source

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -