Tue, 04 Oct 2022 19:25:07 +0200
fix over-optimization of strstr
1. it's actually less performant to frequently read bytes
from an array instead of using the native word length
2. the SBO buffer should be local and not static to allow
multi-threading usage
390 | 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>ucx: /home/mike/workspace/c/ucx/src/ucx Directory 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="projectlogo"><img alt="Logo" src="uaplogo.png"/></td> | |
24 | <td id="projectalign" style="padding-left: 0.5em;"> | |
25 | <div id="projectname">ucx | |
26 | </div> | |
27 | <div id="projectbrief">UAP Common Extensions</div> | |
28 | </td> | |
29 | </tr> | |
30 | </tbody> | |
31 | </table> | |
32 | </div> | |
33 | <!-- end header part --> | |
34 | <!-- Generated by Doxygen 1.8.13 --> | |
35 | <script type="text/javascript"> | |
36 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
37 | </script> | |
38 | <script type="text/javascript" src="menudata.js"></script> | |
39 | <script type="text/javascript" src="menu.js"></script> | |
40 | <script type="text/javascript"> | |
41 | $(function() { | |
42 | initMenu('',true,false,'search.php','Search'); | |
43 | $(document).ready(function() { init_search(); }); | |
44 | }); | |
45 | </script> | |
46 | <div id="main-nav"></div> | |
47 | <!-- window showing the filter options --> | |
48 | <div id="MSearchSelectWindow" | |
49 | onmouseover="return searchBox.OnSearchSelectShow()" | |
50 | onmouseout="return searchBox.OnSearchSelectHide()" | |
51 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
52 | </div> | |
53 | ||
54 | <!-- iframe showing the search results (closed by default) --> | |
55 | <div id="MSearchResultsWindow"> | |
56 | <iframe src="javascript:void(0)" frameborder="0" | |
57 | name="MSearchResults" id="MSearchResults"> | |
58 | </iframe> | |
59 | </div> | |
60 | ||
61 | <div id="nav-path" class="navpath"> | |
62 | <ul> | |
63 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_69f4ea29401808fe6229564976cde3ce.html">ucx</a></li> </ul> | |
64 | </div> | |
65 | </div><!-- top --> | |
66 | <div class="header"> | |
67 | <div class="headertitle"> | |
68 | <div class="title">ucx Directory Reference</div> </div> | |
69 | </div><!--header--> | |
70 | <div class="contents"> | |
71 | <table class="memberdecls"> | |
72 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a> | |
73 | Files</h2></td></tr> | |
74 | <tr class="memitem:allocator_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="allocator_8h.html">allocator.h</a> <a href="allocator_8h_source.html">[code]</a></td></tr> | |
75 | <tr class="memdesc:allocator_8h"><td class="mdescLeft"> </td><td class="mdescRight">Allocator for custom memory management. <br /></td></tr> | |
76 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
77 | <tr class="memitem:array_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="array_8h.html">array.h</a> <a href="array_8h_source.html">[code]</a></td></tr> | |
78 | <tr class="memdesc:array_8h"><td class="mdescLeft"> </td><td class="mdescRight">Dynamically allocated array implementation. <br /></td></tr> | |
79 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
80 | <tr class="memitem:avl_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="avl_8h.html">avl.h</a> <a href="avl_8h_source.html">[code]</a></td></tr> | |
81 | <tr class="memdesc:avl_8h"><td class="mdescLeft"> </td><td class="mdescRight">AVL tree implementation. <br /></td></tr> | |
82 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
83 | <tr class="memitem:buffer_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="buffer_8h.html">buffer.h</a> <a href="buffer_8h_source.html">[code]</a></td></tr> | |
84 | <tr class="memdesc:buffer_8h"><td class="mdescLeft"> </td><td class="mdescRight">Advanced buffer implementation. <br /></td></tr> | |
85 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
86 | <tr class="memitem:list_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html">list.h</a> <a href="list_8h_source.html">[code]</a></td></tr> | |
87 | <tr class="memdesc:list_8h"><td class="mdescLeft"> </td><td class="mdescRight">Doubly linked list implementation. <br /></td></tr> | |
88 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
89 | <tr class="memitem:logging_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="logging_8h.html">logging.h</a> <a href="logging_8h_source.html">[code]</a></td></tr> | |
90 | <tr class="memdesc:logging_8h"><td class="mdescLeft"> </td><td class="mdescRight">Logging API. <br /></td></tr> | |
91 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
92 | <tr class="memitem:map_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="map_8h.html">map.h</a> <a href="map_8h_source.html">[code]</a></td></tr> | |
93 | <tr class="memdesc:map_8h"><td class="mdescLeft"> </td><td class="mdescRight">Hash map implementation. <br /></td></tr> | |
94 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
95 | <tr class="memitem:mempool_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="mempool_8h.html">mempool.h</a> <a href="mempool_8h_source.html">[code]</a></td></tr> | |
96 | <tr class="memdesc:mempool_8h"><td class="mdescLeft"> </td><td class="mdescRight">Memory pool implementation. <br /></td></tr> | |
97 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
98 | <tr class="memitem:properties_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="properties_8h.html">properties.h</a> <a href="properties_8h_source.html">[code]</a></td></tr> | |
99 | <tr class="memdesc:properties_8h"><td class="mdescLeft"> </td><td class="mdescRight">Load / store utilities for properties files. <br /></td></tr> | |
100 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
101 | <tr class="memitem:stack_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="stack_8h.html">stack.h</a> <a href="stack_8h_source.html">[code]</a></td></tr> | |
102 | <tr class="memdesc:stack_8h"><td class="mdescLeft"> </td><td class="mdescRight">Default stack memory allocation implementation. <br /></td></tr> | |
103 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
104 | <tr class="memitem:string_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="string_8h.html">string.h</a> <a href="string_8h_source.html">[code]</a></td></tr> | |
105 | <tr class="memdesc:string_8h"><td class="mdescLeft"> </td><td class="mdescRight">Bounded string implementation. <br /></td></tr> | |
106 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
107 | <tr class="memitem:test_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html">test.h</a> <a href="test_8h_source.html">[code]</a></td></tr> | |
108 | <tr class="memdesc:test_8h"><td class="mdescLeft"> </td><td class="mdescRight">UCX Test Framework. <br /></td></tr> | |
109 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
110 | <tr class="memitem:ucx_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="ucx_8h.html">ucx.h</a> <a href="ucx_8h_source.html">[code]</a></td></tr> | |
111 | <tr class="memdesc:ucx_8h"><td class="mdescLeft"> </td><td class="mdescRight">Main UCX Header providing most common definitions. <br /></td></tr> | |
112 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
113 | <tr class="memitem:utils_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8h.html">utils.h</a> <a href="utils_8h_source.html">[code]</a></td></tr> | |
114 | <tr class="memdesc:utils_8h"><td class="mdescLeft"> </td><td class="mdescRight">Compare, copy and printf functions. <br /></td></tr> | |
115 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
116 | </table> | |
117 | </div><!-- contents --> | |
118 | <!-- start footer part --> | |
119 | <hr class="footer"/><address class="footer"><small> | |
120 | Generated on Thu Dec 19 2019 19:58:24 for ucx by  <a href="http://www.doxygen.org/index.html"> | |
121 | <img class="footer" src="doxygen.png" alt="doxygen"/> | |
122 | </a> 1.8.13 | |
123 | </small></address> | |
124 | </body> | |
125 | </html> |