\hypertarget{opal__hash__table_8h}{\section{opal/class/opal\+\_\+hash\+\_\+table.h File Reference}
\label{opal__hash__table_8h}\index{opal/class/opal\+\_\+hash\+\_\+table.\+h@{opal/class/opal\+\_\+hash\+\_\+table.\+h}}
}


A hash table that may be indexed with either fixed length (e.\+g.  


{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+list.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{opal__hash__table_8h_a6a8fe52acc1522778a04bf6137d2fb0e}{typedef struct \hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} {\bfseries opal\+\_\+hash\+\_\+table\+\_\+t}}\label{opal__hash__table_8h_a6a8fe52acc1522778a04bf6137d2fb0e}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{opal__hash__table_8h_a1664b75eb0747365bdcd83c84f9b7517}{B\+E\+G\+I\+N\+\_\+\+C\+\_\+\+D\+E\+C\+L\+S O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C {\bfseries O\+B\+J\+\_\+\+C\+L\+A\+S\+S\+\_\+\+D\+E\+C\+L\+A\+R\+A\+T\+I\+O\+N} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t})}\label{opal__hash__table_8h_a1664b75eb0747365bdcd83c84f9b7517}

\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_aee1e7f2f595ea703280b67f73d57edb8}{opal\+\_\+hash\+\_\+table\+\_\+init} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$ht, size\+\_\+t table\+\_\+size)
\begin{DoxyCompactList}\small\item\em Initializes the table size, must be called before using the table. \end{DoxyCompactList}\item 
static size\+\_\+t \hyperlink{opal__hash__table_8h_a51b2154a3b332c1f1ec84f8eed571265}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$ht)
\begin{DoxyCompactList}\small\item\em Returns the number of elements currently stored in the table. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a7688ccb4867357602e1cd5e075548346}{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$ht)
\begin{DoxyCompactList}\small\item\em Remove all elements from the table. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_aac8fd67d2bbfdb4d795ab3e87b1d13a0}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint32\+\_\+t key, void $\ast$$\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieve value via uint32\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a71702d942e459c569bb9a567b1868af2}{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint32\+\_\+t key, void $\ast$value)
\begin{DoxyCompactList}\small\item\em Set value based on uint32\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_adc9343d2f515abc1d70e53aeb564eca4}{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint32\+\_\+t key)
\begin{DoxyCompactList}\small\item\em Remove value based on uint32\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_af92a0d557d7b674286d0ca5a54fd980c}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint64\+\_\+t key, void $\ast$$\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieve value via uint64\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a452a0b84c48d0aefddb8b4decba8fbf7}{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint64\+\_\+t key, void $\ast$value)
\begin{DoxyCompactList}\small\item\em Set value based on uint64\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a0ca4857d7d10aacf22a1dfcba6156b35}{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint64\+\_\+t key)
\begin{DoxyCompactList}\small\item\em Remove value based on uint64\+\_\+t key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_ae28cf320a8b468ddda845ec370f86c77}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, const void $\ast$key, size\+\_\+t keylen, void $\ast$$\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieve value via arbitrary length binary key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a3a3022efa156b811debd37a0fc3b4608}{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, const void $\ast$key, size\+\_\+t keylen, void $\ast$value)
\begin{DoxyCompactList}\small\item\em Set value based on arbitrary length binary key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a12ee8c1cc92701f72c747e7cd2fc063c}{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, const void $\ast$key, size\+\_\+t keylen)
\begin{DoxyCompactList}\small\item\em Remove value based on arbitrary length binary key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a8dc23d4c185533c8b13735a958e69d73}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint32\+\_\+t $\ast$key, void $\ast$$\ast$value, void $\ast$$\ast$node)
\begin{DoxyCompactList}\small\item\em The following functions are only for allowing iterating through the hash table. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a9d44f9c7c6f9d64096bcf59b37dfebf5}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint32\+\_\+t $\ast$key, void $\ast$$\ast$value, void $\ast$in\+\_\+node, void $\ast$$\ast$out\+\_\+node)
\begin{DoxyCompactList}\small\item\em Get the next 32 bit key from the hash table, knowing the current key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a892406b67bee5ae8be629f88c0bc7ef1}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint64\+\_\+t $\ast$key, void $\ast$$\ast$value, void $\ast$$\ast$node)
\begin{DoxyCompactList}\small\item\em Get the first 64 key from the hash table, which can be used later to get the next key. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{opal__hash__table_8h_a414d304648165d97d8d9c1fee2ddee65}{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64} (\hyperlink{structopal__hash__table__t}{opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$table, uint64\+\_\+t $\ast$key, void $\ast$$\ast$value, void $\ast$in\+\_\+node, void $\ast$$\ast$out\+\_\+node)
\begin{DoxyCompactList}\small\item\em Get the next 64 bit key from the hash table, knowing the current key. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A hash table that may be indexed with either fixed length (e.\+g. 

uint32\+\_\+t/uint64\+\_\+t) or arbitrary size binary key values. However, only one key type may be used in a given table concurrently. 

\subsection{Function Documentation}
\hypertarget{opal__hash__table_8h_a8dc23d4c185533c8b13735a958e69d73}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint32 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint32\+\_\+t $\ast$}]{key, }
\item[{void $\ast$$\ast$}]{value, }
\item[{void $\ast$$\ast$}]{node}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a8dc23d4c185533c8b13735a958e69d73}


The following functions are only for allowing iterating through the hash table. 

The calls return along with a key, a pointer to the hash node with the current key, so that subsequent calls do not have to traverse all over again to the key (although it may just be a simple thing -\/ to go to the array element and then traverse through the individual list). But lets take out this inefficiency too. This is similar to having an S\+T\+L iterator in functionality Get the first 32 bit key from the hash table, which can be used later to get the next key 
\begin{DoxyParams}{Parameters}
{\em table} & The hash table pointer (I\+N) \\
\hline
{\em key} & The first key (O\+U\+T) \\
\hline
{\em value} & The value corresponding to this key (O\+U\+T) \\
\hline
{\em node} & The pointer to the hash table internal node which stores the key-\/value pair (this is required for subsequent calls to get\+\_\+next\+\_\+key) (O\+U\+T) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L error code 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+get\+\_\+first(), and opal\+\_\+list\+\_\+get\+\_\+size().



Referenced by ompi\+\_\+attr\+\_\+copy\+\_\+all(), and ompi\+\_\+attr\+\_\+delete\+\_\+all().

\hypertarget{opal__hash__table_8h_a892406b67bee5ae8be629f88c0bc7ef1}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+first\+\_\+key\+\_\+uint64 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint64\+\_\+t $\ast$}]{key, }
\item[{void $\ast$$\ast$}]{value, }
\item[{void $\ast$$\ast$}]{node}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a892406b67bee5ae8be629f88c0bc7ef1}


Get the first 64 key from the hash table, which can be used later to get the next key. 


\begin{DoxyParams}{Parameters}
{\em table} & The hash table pointer (I\+N) \\
\hline
{\em key} & The first key (O\+U\+T) \\
\hline
{\em value} & The value corresponding to this key (O\+U\+T) \\
\hline
{\em node} & The pointer to the hash table internal node which stores the key-\/value pair (this is required for subsequent calls to get\+\_\+next\+\_\+key) (O\+U\+T) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L error code 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+get\+\_\+first(), and opal\+\_\+list\+\_\+get\+\_\+size().

\hypertarget{opal__hash__table_8h_a9d44f9c7c6f9d64096bcf59b37dfebf5}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint32 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint32\+\_\+t $\ast$}]{key, }
\item[{void $\ast$$\ast$}]{value, }
\item[{void $\ast$}]{in\+\_\+node, }
\item[{void $\ast$$\ast$}]{out\+\_\+node}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a9d44f9c7c6f9d64096bcf59b37dfebf5}


Get the next 32 bit key from the hash table, knowing the current key. 


\begin{DoxyParams}{Parameters}
{\em table} & The hash table pointer (I\+N) \\
\hline
{\em key} & The key (O\+U\+T) \\
\hline
{\em value} & The value corresponding to this key (O\+U\+T) \\
\hline
{\em in\+\_\+node} & The node pointer from previous call to either get\+\_\+first or get\+\_\+next (I\+N) \\
\hline
{\em out\+\_\+node} & The pointer to the hash table internal node which stores the key-\/value pair (this is required for subsequent calls to get\+\_\+next\+\_\+key) (O\+U\+T) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L error code 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+list\+\_\+get\+\_\+size().



Referenced by ompi\+\_\+attr\+\_\+copy\+\_\+all(), and ompi\+\_\+attr\+\_\+delete\+\_\+all().

\hypertarget{opal__hash__table_8h_a414d304648165d97d8d9c1fee2ddee65}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+next\+\_\+key\+\_\+uint64 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint64\+\_\+t $\ast$}]{key, }
\item[{void $\ast$$\ast$}]{value, }
\item[{void $\ast$}]{in\+\_\+node, }
\item[{void $\ast$$\ast$}]{out\+\_\+node}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a414d304648165d97d8d9c1fee2ddee65}


Get the next 64 bit key from the hash table, knowing the current key. 


\begin{DoxyParams}{Parameters}
{\em table} & The hash table pointer (I\+N) \\
\hline
{\em key} & The key (O\+U\+T) \\
\hline
{\em value} & The value corresponding to this key (O\+U\+T) \\
\hline
{\em in\+\_\+node} & The node pointer from previous call to either get\+\_\+first or get\+\_\+next (I\+N) \\
\hline
{\em out\+\_\+node} & The pointer to the hash table internal node which stores the key-\/value pair (this is required for subsequent calls to get\+\_\+next\+\_\+key) (O\+U\+T) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L error code 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+list\+\_\+get\+\_\+size().

\hypertarget{opal__hash__table_8h_a51b2154a3b332c1f1ec84f8eed571265}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size}]{\setlength{\rightskip}{0pt plus 5cm}static size\+\_\+t opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+size (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{ht}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{opal__hash__table_8h_a51b2154a3b332c1f1ec84f8eed571265}


Returns the number of elements currently stored in the table. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of elements in the table. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size.

\hypertarget{opal__hash__table_8h_ae28cf320a8b468ddda845ec370f86c77}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{const void $\ast$}]{key, }
\item[{size\+\_\+t}]{keylen, }
\item[{void $\ast$$\ast$}]{ptr}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_ae28cf320a8b468ddda845ec370f86c77}


Retrieve value via arbitrary length binary key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em ptr} & The value associated with the key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
integer return code\+:
\begin{DoxyItemize}
\item O\+P\+A\+L\+\_\+\+S\+U\+C\+C\+E\+S\+S if key was found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+N\+D if key was not found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+O\+R other error 
\end{DoxyItemize}
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+output().

\hypertarget{opal__hash__table_8h_aac8fd67d2bbfdb4d795ab3e87b1d13a0}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint32 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint32\+\_\+t}]{key, }
\item[{void $\ast$$\ast$}]{ptr}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_aac8fd67d2bbfdb4d795ab3e87b1d13a0}


Retrieve value via uint32\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em ptr} & The value associated with the key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
integer return code\+:
\begin{DoxyItemize}
\item O\+P\+A\+L\+\_\+\+S\+U\+C\+C\+E\+S\+S if key was found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+N\+D if key was not found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+O\+R other error 
\end{DoxyItemize}
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+output().



Referenced by ompi\+\_\+attr\+\_\+copy\+\_\+all(), ompi\+\_\+attr\+\_\+delete(), and ompi\+\_\+attr\+\_\+free\+\_\+keyval().

\hypertarget{opal__hash__table_8h_af92a0d557d7b674286d0ca5a54fd980c}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64}}
\index{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+get\+\_\+value\+\_\+uint64 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint64\+\_\+t}]{key, }
\item[{void $\ast$$\ast$}]{ptr}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_af92a0d557d7b674286d0ca5a54fd980c}


Retrieve value via uint64\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em ptr} & The value associated with the key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
integer return code\+:
\begin{DoxyItemize}
\item O\+P\+A\+L\+\_\+\+S\+U\+C\+C\+E\+S\+S if key was found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+N\+D if key was not found
\item O\+P\+A\+L\+\_\+\+E\+R\+R\+O\+R other error 
\end{DoxyItemize}
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+output().



Referenced by mca\+\_\+oob\+\_\+tcp\+\_\+peer\+\_\+lookup(), mca\+\_\+oob\+\_\+tcp\+\_\+resolve(), and mca\+\_\+oob\+\_\+tcp\+\_\+set\+\_\+addr().

\hypertarget{opal__hash__table_8h_aee1e7f2f595ea703280b67f73d57edb8}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+init@{opal\+\_\+hash\+\_\+table\+\_\+init}}
\index{opal\+\_\+hash\+\_\+table\+\_\+init@{opal\+\_\+hash\+\_\+table\+\_\+init}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+init (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{ht, }
\item[{size\+\_\+t}]{table\+\_\+size}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_aee1e7f2f595ea703280b67f73d57edb8}


Initializes the table size, must be called before using the table. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em size} & The size of the table, which will be rounded up (if required) to the next highest power of two (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L error code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, and O\+B\+J\+\_\+\+C\+O\+N\+S\+T\+R\+U\+C\+T.



Referenced by mca\+\_\+btl\+\_\+ud\+\_\+add\+\_\+procs(), ompi\+\_\+attr\+\_\+hash\+\_\+init(), ompi\+\_\+attr\+\_\+init(), and ompi\+\_\+mpi\+\_\+init().

\hypertarget{opal__hash__table_8h_a7688ccb4867357602e1cd5e075548346}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all}}
\index{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+all (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{ht}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a7688ccb4867357602e1cd5e075548346}


Remove all elements from the table. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, O\+B\+J\+\_\+\+R\+E\+L\+E\+A\+S\+E, opal\+\_\+list\+\_\+get\+\_\+size(), and opal\+\_\+list\+\_\+remove\+\_\+first().

\hypertarget{opal__hash__table_8h_a12ee8c1cc92701f72c747e7cd2fc063c}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr}}
\index{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{const void $\ast$}]{key, }
\item[{size\+\_\+t}]{keylen}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a12ee8c1cc92701f72c747e7cd2fc063c}


Remove value based on arbitrary length binary key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+item(), and opal\+\_\+output().

\hypertarget{opal__hash__table_8h_adc9343d2f515abc1d70e53aeb564eca4}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32}}
\index{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint32 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint32\+\_\+t}]{key}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_adc9343d2f515abc1d70e53aeb564eca4}


Remove value based on uint32\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+item(), and opal\+\_\+output().



Referenced by ompi\+\_\+attr\+\_\+delete().

\hypertarget{opal__hash__table_8h_a0ca4857d7d10aacf22a1dfcba6156b35}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64}}
\index{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+remove\+\_\+value\+\_\+uint64 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint64\+\_\+t}]{key}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a0ca4857d7d10aacf22a1dfcba6156b35}


Remove value based on uint64\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+item(), and opal\+\_\+output().



Referenced by mca\+\_\+btl\+\_\+ud\+\_\+del\+\_\+procs().

\hypertarget{opal__hash__table_8h_a3a3022efa156b811debd37a0fc3b4608}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr}}
\index{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{const void $\ast$}]{key, }
\item[{size\+\_\+t}]{keylen, }
\item[{void $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a3a3022efa156b811debd37a0fc3b4608}


Set value based on arbitrary length binary key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em value} & The value to be associated with the key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+first(), and opal\+\_\+output().

\hypertarget{opal__hash__table_8h_a71702d942e459c569bb9a567b1868af2}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32}}
\index{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint32 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint32\+\_\+t}]{key, }
\item[{void $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a71702d942e459c569bb9a567b1868af2}


Set value based on uint32\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em value} & The value to be associated with the key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+first(), and opal\+\_\+output().

\hypertarget{opal__hash__table_8h_a452a0b84c48d0aefddb8b4decba8fbf7}{\index{opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}!opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64}}
\index{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64@{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64}!opal\+\_\+hash\+\_\+table.\+h@{opal\+\_\+hash\+\_\+table.\+h}}
\subsubsection[{opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int opal\+\_\+hash\+\_\+table\+\_\+set\+\_\+value\+\_\+uint64 (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+hash\+\_\+table\+\_\+t} $\ast$}]{table, }
\item[{uint64\+\_\+t}]{key, }
\item[{void $\ast$}]{value}
\end{DoxyParamCaption}
)}}\label{opal__hash__table_8h_a452a0b84c48d0aefddb8b4decba8fbf7}


Set value based on uint64\+\_\+t key. 


\begin{DoxyParams}{Parameters}
{\em table} & The input hash table (I\+N). \\
\hline
{\em key} & The input key (I\+N). \\
\hline
{\em value} & The value to be associated with the key (I\+N). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
O\+P\+A\+L return code. 
\end{DoxyReturn}


References opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+nodes, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+size, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table, opal\+\_\+hash\+\_\+table\+\_\+t\+::ht\+\_\+table\+\_\+size, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+remove\+\_\+first(), and opal\+\_\+output().



Referenced by mca\+\_\+btl\+\_\+ud\+\_\+add\+\_\+procs(), mca\+\_\+oob\+\_\+tcp\+\_\+peer\+\_\+lookup(), and mca\+\_\+oob\+\_\+tcp\+\_\+set\+\_\+addr().

