OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SortClass
(Results
1 - 2
of
2
) sorted by null
/external/stlport/test/eh/
SortClass.h
2
SortClass
.h
16
comparisons on
SortClass
may fail. Also records its own address for
26
class
SortClass
: public TestClass
31
SortClass
( int v ) : TestClass( v ), addr(0) {
35
SortClass
() : TestClass( (int)get_random(kRange) ), addr(0) {
51
SortClass
* GetAddress() const { return addr; }
55
SortClass
* addr;
58
inline bool operator>( const
SortClass
& lhs, const
SortClass
& rhs ) {
62
inline bool operator<=( const
SortClass
& lhs, const SortClass& rhs )
[
all
...]
test_algo.cpp
18
#include "
SortClass
.h"
35
// SortBuffer -- a buffer of
SortClass
objects that can be used to test sorting.
41
SortClass
* begin() { return items; }
42
const
SortClass
* begin() const { return items; }
43
SortClass
* end() { return items + kBufferSize; }
44
const
SortClass
* end() const { return items + kBufferSize; }
52
for (
SortClass
* p = begin(); p != end(); p++ )
63
SortClass
* q = begin();
64
for ( const
SortClass
* p = rhs.begin() ; p != rhs.end(); p++,q++ )
69
SortClass
items[kBufferSize]
[
all
...]
Completed in 41 milliseconds