Definition at line 33 of file hash_test.cpp.
◆ allocator_with_state()
void HashTest::allocator_with_state |
( |
| ) |
|
|
protected |
Definition at line 377 of file hash_test.cpp.
378{
379#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
380 char buf1[2048];
382
383 char buf2[2048];
385
386 {
389
391 for (
i = 0;
i < 5; ++
i)
393 HashSetInt hint1Cpy(hint1);
394
398 HashSetInt hint2Cpy(hint2);
399
400 hint1.swap(hint2);
401
404
407 }
410#endif
411}
#define CPPUNIT_ASSERT(X)
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
◆ CPPUNIT_TEST() [1/7]
◆ CPPUNIT_TEST() [2/7]
HashTest::CPPUNIT_TEST |
( |
hmap1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [3/7]
HashTest::CPPUNIT_TEST |
( |
hmmap1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [4/7]
HashTest::CPPUNIT_TEST |
( |
hmmap2 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [5/7]
HashTest::CPPUNIT_TEST |
( |
hmset1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [6/7]
HashTest::CPPUNIT_TEST |
( |
hset2 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [7/7]
◆ CPPUNIT_TEST_SUITE()
HashTest::CPPUNIT_TEST_SUITE |
( |
HashTest |
| ) |
|
|
private |
◆ CPPUNIT_TEST_SUITE_END()
HashTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ hmap1()
Definition at line 76 of file hash_test.cpp.
77{
78#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
81
89
91
94
96
99
100
101 maptype::iterator ite(
m.begin());
102 maptype::const_iterator cite(
m.begin());
104 maptype
const& cm =
m;
105 cite = cm.begin();
110#endif
111}
rope< char, allocator< char > > crope
int strcmp(const char *String1, const char *String2)
◆ hmmap1()
void HashTest::hmmap1 |
( |
| ) |
|
|
protected |
Definition at line 113 of file hash_test.cpp.
114{
115#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
121
124
126 mmap::iterator
i =
m.find(
'X');
127
138
139 size_t count =
m.erase(
'X');
141
142
143 mmap::iterator ite(
m.begin());
144 mmap::const_iterator cite(
m.begin());
149
151 HMapType hmap;
152
153
156
157 hmap.insert(HMapType::value_type(12325, 1));
158 hmap.insert(HMapType::value_type(12325, 2));
159
161
162
163 hmap.insert(HMapType::value_type(23, 0));
164
166#endif
167}
iterator insert(const value_type &__obj)
GLuint GLuint GLsizei count
◆ hmmap2()
void HashTest::hmmap2 |
( |
| ) |
|
|
protected |
Definition at line 248 of file hash_test.cpp.
249{
250#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
253
254
255
256
257
258
259
260
261
262
263
264
265
266 for ( int id = 400; id != 1; id-- ) {
267
268 int key = (
id % 3 == 0 ? 3 :
id);
269
270
273
274
276 }
277#endif
278}
pair< _T1, _T2 > _STLP_CALL make_pair(_T1 __x, _T2 __y)
GLfloat GLfloat GLfloat GLfloat h
◆ hmset1()
void HashTest::hmset1 |
( |
| ) |
|
|
protected |
Definition at line 280 of file hash_test.cpp.
281{
282#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
289 hmset::iterator
i =
s.find(
char(40));
291
296#endif
297}
◆ hset2()
Definition at line 298 of file hash_test.cpp.
299{
300#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
305
308#endif
309}
◆ insert_erase()
void HashTest::insert_erase |
( |
| ) |
|
|
protected |
Definition at line 311 of file hash_test.cpp.
312{
313#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
315 typedef hmap::value_type val_type;
316 {
318# if !defined (__BORLANDC__) || (__BORLANDC__ >= 0x564)
322# else
326# endif
327
331 }
332
333 {
335# if !defined (__BORLANDC__) || (__BORLANDC__ >= 0x564)
339# else
343# endif
344
348 }
349#endif
350}
GLboolean GLenum GLenum GLvoid * values
◆ CPPUNIT_IGNORE
The documentation for this class was generated from the following file: