~ubuntu-branches/ubuntu/trusty/bmagic/trusty

« back to all changes in this revision

Viewing changes to doc/html/a00023.html

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2011-03-03 12:22:16 UTC
  • mfrom: (4.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110303122216-qll5migewxnxe3s5
Tags: 3.7.0-1
* New upstream release (Closes: #615929)
* Update to Standards-Version 3.9.1 (no changes)
* Specify Debian source format as '3.0 (quilt)'

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<title>BitMagic: bm::bit_count_table&lt; T &gt; Struct Template Reference</title>
 
5
<title>BitMagic: bm::bit_COUNT_XOR&lt; W &gt; Struct Template Reference</title>
6
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
8
</head>
27
27
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
28
28
    </ul>
29
29
  </div>
30
 
  <div class="navpath"><a class="el" href="a00116.html">bm</a>::<a class="el" href="a00023.html">bit_count_table</a>
 
30
  <div class="navpath"><a class="el" href="a00115.html">bm</a>::<a class="el" href="a00023.html">bit_COUNT_XOR</a>
31
31
  </div>
32
32
</div>
33
33
<div class="contents">
34
 
<h1>bm::bit_count_table&lt; T &gt; Struct Template Reference<br/>
35
 
<small>
36
 
[<a class="el" href="a00121.html">BIT functions</a>]</small>
37
 
</h1><!-- doxytag: class="bm::bit_count_table" -->
38
 
<p>Structure to aid in counting bits table contains count of bits in 0-255 diapason of numbers.  
 
34
<h1>bm::bit_COUNT_XOR&lt; W &gt; Struct Template Reference</h1><!-- doxytag: class="bm::bit_COUNT_XOR" -->
 
35
<p>Bit COUNT XOR functor.  
39
36
<a href="#_details">More...</a></p>
40
37
 
41
 
<p><code>#include &lt;<a class="el" href="a00092_source.html">bmconst.h</a>&gt;</code></p>
 
38
<p><code>#include &lt;<a class="el" href="a00093_source.html">bmfunc.h</a>&gt;</code></p>
42
39
<table border="0" cellpadding="0" cellspacing="0">
43
 
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
44
 
<tr><td class="memItemLeft" align="right" valign="top">static const unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00023.html#aeeb872f5ae25ea7f7977decb8fa42296">_count</a> [256]</td></tr>
 
40
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
 
41
<tr><td class="memItemLeft" align="right" valign="top">W&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00023.html#af51df3f3d2a924fe77c157203cce4105">operator()</a> (W w1, W w2)</td></tr>
45
42
</table>
46
43
<hr/><a name="_details"></a><h2>Detailed Description</h2>
47
 
<h3>template&lt;bool T&gt;<br/>
48
 
 struct bm::bit_count_table&lt; T &gt;</h3>
49
 
 
50
 
<p>Structure to aid in counting bits table contains count of bits in 0-255 diapason of numbers. </p>
51
 
 
52
 
<p>Definition at line <a class="el" href="a00092_source.html#l00179">179</a> of file <a class="el" href="a00092_source.html">bmconst.h</a>.</p>
53
 
<hr/><h2>Field Documentation</h2>
54
 
<a class="anchor" id="aeeb872f5ae25ea7f7977decb8fa42296"></a><!-- doxytag: member="bm::bit_count_table::_count" ref="aeeb872f5ae25ea7f7977decb8fa42296" args="[256]" -->
 
44
<h3>template&lt;typename W&gt;<br/>
 
45
 struct bm::bit_COUNT_XOR&lt; W &gt;</h3>
 
46
 
 
47
<p>Bit COUNT XOR functor. </p>
 
48
 
 
49
<p>Definition at line <a class="el" href="a00093_source.html#l05120">5120</a> of file <a class="el" href="a00093_source.html">bmfunc.h</a>.</p>
 
50
<hr/><h2>Member Function Documentation</h2>
 
51
<a class="anchor" id="af51df3f3d2a924fe77c157203cce4105"></a><!-- doxytag: member="bm::bit_COUNT_XOR::operator()" ref="af51df3f3d2a924fe77c157203cce4105" args="(W w1, W w2)" -->
55
52
<div class="memitem">
56
53
<div class="memproto">
57
54
<div class="memtemplate">
58
 
template&lt;bool T&gt; </div>
 
55
template&lt;typename W&gt; </div>
59
56
      <table class="memname">
60
57
        <tr>
61
 
          <td class="memname">const unsigned char <a class="el" href="a00023.html">bm::bit_count_table</a>&lt; T &gt;::<a class="el" href="a00023.html#aeeb872f5ae25ea7f7977decb8fa42296">_count</a><code> [inline, static]</code></td>
 
58
          <td class="memname">W <a class="el" href="a00023.html">bm::bit_COUNT_XOR</a>&lt; W &gt;::operator() </td>
 
59
          <td>(</td>
 
60
          <td class="paramtype">W&nbsp;</td>
 
61
          <td class="paramname"> <em>w1</em>, </td>
 
62
        </tr>
 
63
        <tr>
 
64
          <td class="paramkey"></td>
 
65
          <td></td>
 
66
          <td class="paramtype">W&nbsp;</td>
 
67
          <td class="paramname"> <em>w2</em></td><td>&nbsp;</td>
 
68
        </tr>
 
69
        <tr>
 
70
          <td></td>
 
71
          <td>)</td>
 
72
          <td></td><td></td><td><code> [inline]</code></td>
62
73
        </tr>
63
74
      </table>
64
75
</div>
65
76
<div class="memdoc">
66
 
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
67
 
    0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,
68
 
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
69
 
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
70
 
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
71
 
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
72
 
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
73
 
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
74
 
    3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8
75
 
}
76
 
</pre></div>
77
 
<p>Definition at line <a class="el" href="a00092_source.html#l00181">181</a> of file <a class="el" href="a00092_source.html">bmconst.h</a>.</p>
 
77
 
 
78
<p>Definition at line <a class="el" href="a00093_source.html#l05122">5122</a> of file <a class="el" href="a00093_source.html">bmfunc.h</a>.</p>
 
79
 
 
80
<p>References <a class="el" href="a00092_source.html#l00159">BM_INCWORD_BITCOUNT</a>.</p>
78
81
 
79
82
</div>
80
83
</div>
81
84
<hr/>The documentation for this struct was generated from the following file:<ul>
82
 
<li><a class="el" href="a00092_source.html">bmconst.h</a></li>
 
85
<li><a class="el" href="a00093_source.html">bmfunc.h</a></li>
83
86
</ul>
84
87
</div>
85
 
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Mar 23 20:48:13 2010 for BitMagic by&nbsp;
 
88
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Apr 25 09:37:45 2010 for BitMagic by&nbsp;
86
89
<a href="http://www.doxygen.org/index.html">
87
90
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
88
91
</body>