47 enum { theStringSize = 43 };
48 enum { theBinarySize = 16 };
49 bool setString(
const char *str);
58 void writeBinary(std::ostream &os)
const;
63 size_t hash()
const {
return SYSwang_inthash(myUniqueCount); }
66 int64 sessionId()
const;
72 static void initializeValues();
79 static int theRandomBase;
81 static int theStartTime;
82 static bool theValuesInitialized;
83 static UT_Lock theValuesInitializeLock;
107 d = myGuid.myUniqueCount - b.myGuid.myUniqueCount;
108 if( d )
return ((d < 0) ? -1 : 1);
109 d = myGuid.myTime - b.myGuid.myTime;
110 if( d )
return ((d < 0) ? -1 : 1);
111 d = myGuid.myPid - b.myGuid.myPid;
112 if( d )
return ((d < 0) ? -1 : 1);
113 d = myGuid.myRandom - b.myGuid.myRandom;
114 if( d )
return ((d < 0) ? -1 : 1);
118 void copy(
const UT_Hash &
a)
override
124 return SYSwang_inthash(myGuid.myUniqueCount);
132 return inclusive ?
sizeof(*this) : 0;
UT_Hash * copy() const override
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
unsigned hash() const override
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
GLboolean GLboolean GLboolean GLboolean a
void copy(const UT_Hash &a) override
IMATH_HOSTDEVICE constexpr int cmp(T a, T b) IMATH_NOEXCEPT
#define SYS_DEPRECATED_REPLACE(__V__, __R__)
std::ostream & operator<<(std::ostream &ostr, const DataType &a)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
size_t hash_value(const UT_Guid &guid)
size_t hash() const
This hash only is unique within this session.
int compare(const UT_Hash &a) const override
GLboolean GLboolean GLboolean b
UT_GuidHash(const UT_Guid &uniqueid)
int64 getMemoryUsage(bool inclusive) const override
LeafData & operator=(const LeafData &)=delete
bool operator!=(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)