Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
Torque Namespace

define DEBUG_SPEW

Name 
Description 
FS 
This is namespace Torque::FS. 
Mem 
This is namespace Torque::Mem. 
This is namespace Torque::Posix. 
This is namespace Torque::TimeConstant. 
This is namespace Torque::Win32. 
Name 
Description 
The following table lists classes in this documentation. 
The following table lists functions in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists variables in this documentation. 
The following table lists macros in this documentation. 
 
Name 
Description 
 
This is class Torque::ByteBuffer. 
 
 
 
This is class Torque::FileSystemRedirectChangeNotifier. 
 
List 
A list template class. A classic list class similar to the STL list class. The list class supports fast insert and erase operations, but slow dynamic access. The list is circular and the iterator supports iterating past the end() or rend() in order to loop around. @ingroup UtilContainers 
 
Path 
FileSystem filename representation. Filenames has the following form: "root:path/file.ext" @ingroup UtilString 
 
This is class Torque::PrivateBBData. 
 
Time 
64 bit time representation with ten microsecond resolution. 
 
UUID 
A universally unique identifier. 
 
ZipDirectoryNode class (Internal) 
 
ZipFakeRootNode class (Internal) 
 
This is class Torque::ZipFileNode. 
 
This is class Torque::ZipFileSystem. 
 
Name 
Description 
 
hash 
hash() -- hash a variable-length key into a 32-bit value k : the key (the unaligned variable-length array of bytes) len : the length of the key, counting by bytes initval : can be any 4-byte value Returns a 32-bit value. Every bit of the key affects every bit of the return value. Every 1-bit and 2-bit delta achieves avalanche. About 6*len+35 instructions.
The best hash table sizes are powers of 2. There is no need to do mod a prime (mod is sooo slow!). If you need less than 32 bits, use a bitmask.... more 
 
hash64() -- hash a variable-length key into a 64-bit value k : the key (the unaligned variable-length array of bytes) len : the length of the key, counting by bytes level : can be any 8-byte value Returns a 64-bit value. Every bit of the key affects every bit of the return value. No funnels. Every 1-bit and 2-bit delta achieves avalanche. About 41+5len instructions.
The best hash table sizes are powers of 2. There is no need to do mod a prime (mod is sooo slow!). If you need less than 64 bits, use a... more 
 
Convert file/path name to use OS standard path separator @ingroup VolumeSystem 
 
Convert file/path name to use platform standard path separator @ingroup VolumeSystem
 
Name 
Description 
This is macro Torque::hashmask. 
This is macro Torque::hashsize. 
mix 
mix -- mix 3 32-bit values reversibly. For every delta with one or two bits set, and the deltas of all three high bits or all three low bits, whether the original value of a,b,c is almost all zero or is uniformly distributed,
  • If mix() is run forward or backward, at least 32 bits in a,b,c
have at least 1/4 probability of changing.
  • If mix() is run forward, every bit of c will change between 1/3 and
2/3 of the time. (Well, 22/100 and 78/100 for some 2-bit deltas.) mix() was built out of... more 
mix -- mix 3 64-bit values reversibly. mix() takes 48 machine instructions, but only 24 cycles on a superscalar machine (like Intel's new MMX architecture). It requires 4 64-bit registers for 4::2 parallelism. All 1-bit deltas, all 2-bit deltas, all deltas composed of top bits of (a,b,c), and all deltas of bottom bits were tested. All deltas were tested both on random keys and on keys that were nearly all zero. These deltas all cause every bit of c to change between 1/3 and 2/3 of the time (well, only 113/400 to 287/400 of the... more 
 
Name 
Description 
 
This is record Torque::GL_AttributeLocation. 
Name 
Description 
This is variable Torque::_DayNumber. 
This is variable Torque::_DayNumberLeap. 
Micro 0.000001 10-6 Milli 0.001 10-3 
This is variable Torque::_DaysInMonthLeap. 
Note that the Platform::FS::MountZips() must be called in platformVolume.cpp for zip support to work. 
This is variable Torque::UUID::smNull. 
Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!