10#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
26#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
36#if !defined (STLPORT) || defined (_STLP_NO_EXTENSIONS)
49#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
63#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
67 void check_keys( hashType&
h, mapType&
m );
78#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
101 maptype::iterator ite(
m.begin());
102 maptype::const_iterator cite(
m.begin());
104 maptype
const& cm =
m;
115#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
126 mmap::iterator
i =
m.find(
'X');
139 size_t count =
m.erase(
'X');
143 mmap::iterator ite(
m.begin());
144 mmap::const_iterator cite(
m.begin());
157 hmap.insert(HMapType::value_type(12325, 1));
158 hmap.insert(HMapType::value_type(12325, 2));
163 hmap.insert(HMapType::value_type(23, 0));
169#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
199void HashTest::check_keys( HashTest::hashType&
h, HashTest::mapType&
m )
207 for ( mapType::iterator
i =
m.begin();
i !=
m.end(); ++
i ) {
210 for ( hashType::iterator
j =
range.first;
j !=
range.second; ++
j ) {
222 for (mapType::iterator mIter =
m.begin(); mIter !=
m.end(); mIter++) {
224 if (mIter->first != lastKey) {
226 lastKey = mIter->first;
229 cout <<
" data in hash: ";
232 for (hashType::iterator
h =
range.first;
h !=
range.second;
h++) {
234 cerr <<
h->second <<
", ";
239 cout << mIter->second <<
", " ;
250#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
266 for (
int id = 400;
id != 1;
id-- ) {
268 int key = (
id % 3 == 0 ? 3 :
id);
282#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
289 hmset::iterator
i =
s.find(
char(40));
300#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
313#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
315 typedef hmap::value_type val_type;
318# if !defined (__BORLANDC__) || (__BORLANDC__ >= 0x564)
335# if !defined (__BORLANDC__) || (__BORLANDC__ >= 0x564)
379#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
391 for (
i = 0;
i < 5; ++
i)
393 HashSetInt hint1Cpy(hint1);
398 HashSetInt hint2Cpy(hint2);
413#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS) && \
414 (!defined (_STLP_USE_PTR_SPECIALIZATIONS) || defined (_STLP_CLASS_PARTIAL_SPECIALIZATION))
415# if !defined (__DMC__)
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
pair< _T1, _T2 > _STLP_CALL make_pair(_T1 __x, _T2 __y)
rope< char, allocator< char > > crope
int strcmp(const char *String1, const char *String2)
CPPUNIT_TEST(allocator_with_state)
CPPUNIT_TEST_SUITE(HashTest)
CPPUNIT_TEST(insert_erase)
void allocator_with_state()
iterator insert(const value_type &__obj)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
GLuint GLuint GLsizei count
GLboolean GLenum GLenum GLvoid * values
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
static ICollection collection