summaryrefslogtreecommitdiff
path: root/hash_8h.html
blob: 423694d5b97fad6f5c7c40058f2a8de3b3215704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>memcached: hash.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>hash.h File Reference</h1>
<p>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<p><center><img src="hash_8h__dep__incl.png" border="0" usemap="#hash.hdep_map" alt=""></center>
<map name="hash.hdep_map">
<area shape="rect" id="node3" href="memcached_8h.html" title="The main memcached header holding commonly used data structures and function prototypes..." alt="" coords="499,83,616,112"><area shape="rect" id="node5" href="assoc_8c.html" title="assoc.c" alt="" coords="5,160,77,189"><area shape="rect" id="node7" href="daemon_8c.html" title="daemon.c" alt="" coords="101,160,189,189"><area shape="rect" id="node9" href="globals_8c.html" title="globals.c" alt="" coords="213,160,291,189"><area shape="rect" id="node11" href="hash_8c.html" title="hash.c" alt="" coords="315,160,379,189"><area shape="rect" id="node13" href="items_8c.html" title="items.c" alt="" coords="403,160,475,189"><area shape="rect" id="node15" href="memcached_8c.html" title="memcached.c" alt="" coords="499,160,616,189"><area shape="rect" id="node17" href="sizes_8c.html" title="sizes.c" alt="" coords="640,160,707,189"><area shape="rect" id="node19" href="slabs_8c.html" title="slabs.c" alt="" coords="731,160,797,189"><area shape="rect" id="node21" href="stats_8c.html" title="stats.c" alt="" coords="821,160,891,189"><area shape="rect" id="node23" href="thread_8c.html" title="thread.c" alt="" coords="915,160,992,189"><area shape="rect" id="node25" href="util_8c.html" title="util.c" alt="" coords="1016,160,1069,189"></map>
</div>

<p>
<a href="hash_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash_8h.html#1c12edaae63f2e86a5b276a18475f863">hash</a> (const void *key, size_t length, const uint32_t initval)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="1c12edaae63f2e86a5b276a18475f863"></a><!-- doxytag: member="hash.h::hash" ref="1c12edaae63f2e86a5b276a18475f863" args="(const void *key, size_t length, const uint32_t initval)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t hash           </td>
          <td>(</td>
          <td class="paramtype">const void *&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32_t&nbsp;</td>
          <td class="paramname"> <em>initval</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<p><center><img src="hash_8h_1c12edaae63f2e86a5b276a18475f863_icgraph.png" border="0" usemap="#hash_8h_1c12edaae63f2e86a5b276a18475f863_icgraph_map" alt=""></center>
<map name="hash_8h_1c12edaae63f2e86a5b276a18475f863_icgraph_map">
<area shape="rect" id="node3" href="assoc_8h.html#4972dca83569e1f192b193facb64a02f" title="assoc_find" alt="" coords="107,161,197,191"><area shape="rect" id="node5" href="assoc_8h.html#110a5dc654c262b51a77cc8716676223" title="assoc_insert" alt="" coords="279,108,383,137"><area shape="rect" id="node24" href="items_8h.html#cee9fa57d05e04e8965f3e19dc0a472c" title="wrapper around assoc_find which does the lazy expiration logic" alt="" coords="277,161,384,191"><area shape="rect" id="node29" href="items_8h.html#8c5a6c6bfdfe2ed3514170cc836be7a9" title="returns an item whether or not it&#39;s expired." alt="" coords="245,215,416,244"><area shape="rect" id="node7" href="items_8h.html#aac564a623aaea767ddbfd0dd07ced15" title="do_item_link" alt="" coords="464,83,568,112"><area shape="rect" id="node9" href="items_8h.html#cd5e21c19f9875e0d6a74943f90b6cc8" title="update LRU time to current and reposition" alt="" coords="616,5,749,35"><area shape="rect" id="node17" href="memcached_8h.html#c2e150055051a36e29e8215f5bc35fca" title="do_store_item" alt="" coords="957,59,1077,88"><area shape="rect" id="node22" href="thread_8c.html#7fc0055d9dba8a3a14d2189e95acf844" title="item_link" alt="" coords="643,109,723,139"><area shape="rect" id="node11" href="thread_8c.html#32cd7e1744d2214e26f0ac267403314e" title="item_replace" alt="" coords="799,5,908,35"><area shape="rect" id="node13" href="memcached_8h.html#72e74041ab741435d161a044d23d0bef" title="do_add_delta" alt="" coords="963,5,1072,35"><area shape="rect" id="node15" href="thread_8c.html#4b4951c73b23897aee5843fb7306e764" title="add_delta" alt="" coords="1129,5,1217,35"><area shape="rect" id="node19" href="thread_8c.html#c97ce2cadaeb4fe6524c0df01828c232" title="store_item" alt="" coords="1125,59,1221,88"><area shape="rect" id="node27" href="thread_8c.html#1ff584f7053e4a5c8f2cffc7186a12aa" title="item_get" alt="" coords="475,213,557,243"></map>
</div>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 16:28:10 2009 for memcached by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>