~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/ut0rnd.h

  • Committer: Monty Taylor
  • Date: 2010-06-02 22:35:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1586.
  • Revision ID: mordred@inaugust.com-20100602223545-q8ekf9b40a85nwuf
Rearragned unittests into a single exe because of how we need to link it
(thanks lifeless)
Link with server symbols without needing to build a library.
Added an additional atomics test which tests whatever version of the atomics
lib the running platform would actually use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
97
97
        ulint   n2)     /*!< in: ulint */
98
98
        __attribute__((const));
99
99
/*************************************************************//**
100
 
Folds a 64-bit integer.
 
100
Folds a dulint.
101
101
@return folded value */
102
102
UNIV_INLINE
103
103
ulint
104
 
ut_fold_ull(
105
 
/*========*/
106
 
        ib_uint64_t     d)      /*!< in: 64-bit integer */
 
104
ut_fold_dulint(
 
105
/*===========*/
 
106
        dulint  d)      /*!< in: dulint */
107
107
        __attribute__((const));
108
108
/*************************************************************//**
109
109
Folds a character string ending in the null character.