structgrpc__slice__refcount.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>GRPC Core: grpc_slice_refcount Struct Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">GRPC Core
  25. &#160;<span id="projectnumber">6.0.0</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.13 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. </div><!-- top -->
  59. <div class="header">
  60. <div class="summary">
  61. <a href="#pub-attribs">Data Fields</a> </div>
  62. <div class="headertitle">
  63. <div class="title">grpc_slice_refcount Struct Reference</div> </div>
  64. </div><!--header-->
  65. <div class="contents">
  66. <p>Reference count container for <a class="el" href="structgrpc__slice.html" title="A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...">grpc_slice</a>.
  67. <a href="structgrpc__slice__refcount.html#details">More...</a></p>
  68. <p><code>#include &lt;<a class="el" href="impl_2codegen_2slice_8h_source.html">slice.h</a>&gt;</code></p>
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  71. Data Fields</h2></td></tr>
  72. <tr class="memitem:ab35b82d586e9ca84f9d42af591616f98"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structgrpc__slice__refcount__vtable.html">grpc_slice_refcount_vtable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc__slice__refcount.html#ab35b82d586e9ca84f9d42af591616f98">vtable</a></td></tr>
  73. <tr class="separator:ab35b82d586e9ca84f9d42af591616f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:a113ae62eac88e4180feb9ecc80e0f2f9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structgrpc__slice__refcount.html">grpc_slice_refcount</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc__slice__refcount.html#a113ae62eac88e4180feb9ecc80e0f2f9">sub_refcount</a></td></tr>
  75. <tr class="memdesc:a113ae62eac88e4180feb9ecc80e0f2f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">If a subset of this slice is taken, use this pointer for the refcount. <a href="#a113ae62eac88e4180feb9ecc80e0f2f9">More...</a><br /></td></tr>
  76. <tr class="separator:a113ae62eac88e4180feb9ecc80e0f2f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. </table>
  78. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  79. <div class="textblock"><p>Reference count container for <a class="el" href="structgrpc__slice.html" title="A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...">grpc_slice</a>. </p>
  80. <p>Contains function pointers to increment and decrement reference counts. Implementations should cleanup when the reference count drops to zero. Typically client code should not touch this, and use grpc_slice_malloc, grpc_slice_new, or grpc_slice_new_with_len instead. </p>
  81. </div><h2 class="groupheader">Field Documentation</h2>
  82. <a id="a113ae62eac88e4180feb9ecc80e0f2f9"></a>
  83. <h2 class="memtitle"><span class="permalink"><a href="#a113ae62eac88e4180feb9ecc80e0f2f9">&#9670;&nbsp;</a></span>sub_refcount</h2>
  84. <div class="memitem">
  85. <div class="memproto">
  86. <table class="memname">
  87. <tr>
  88. <td class="memname">struct <a class="el" href="structgrpc__slice__refcount.html">grpc_slice_refcount</a>* grpc_slice_refcount::sub_refcount</td>
  89. </tr>
  90. </table>
  91. </div><div class="memdoc">
  92. <p>If a subset of this slice is taken, use this pointer for the refcount. </p>
  93. <p>Typically points back to the refcount itself, however iterning implementations can use this to avoid a verification step on each hash or equality check </p>
  94. </div>
  95. </div>
  96. <a id="ab35b82d586e9ca84f9d42af591616f98"></a>
  97. <h2 class="memtitle"><span class="permalink"><a href="#ab35b82d586e9ca84f9d42af591616f98">&#9670;&nbsp;</a></span>vtable</h2>
  98. <div class="memitem">
  99. <div class="memproto">
  100. <table class="memname">
  101. <tr>
  102. <td class="memname">const <a class="el" href="structgrpc__slice__refcount__vtable.html">grpc_slice_refcount_vtable</a>* grpc_slice_refcount::vtable</td>
  103. </tr>
  104. </table>
  105. </div><div class="memdoc">
  106. </div>
  107. </div>
  108. <hr/>The documentation for this struct was generated from the following file:<ul>
  109. <li>include/grpc/impl/codegen/<a class="el" href="impl_2codegen_2slice_8h_source.html">slice.h</a></li>
  110. </ul>
  111. </div><!-- contents -->
  112. <!-- start footer part -->
  113. <hr class="footer"/><address class="footer"><small>
  114. Generated on Fri Apr 13 2018 15:03:52 for GRPC Core by &#160;<a href="http://www.doxygen.org/index.html">
  115. <img class="footer" src="doxygen.png" alt="doxygen"/>
  116. </a> 1.8.13
  117. </small></address>
  118. </body>
  119. </html>