#include <cstring>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <iostream>
#include <fstream>
#include "moab/TupleList.hpp"
Go to the source code of this file.
|
| moab |
| Class representing axis-aligned bounding box.
|
|
|
#define | umax_2(a, b) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) |
|
#define | DIGIT_BITS 8 |
|
#define | DIGIT_VALUES ( 1 << DIGIT_BITS ) |
|
#define | DIGIT_MASK ( (Value)( DIGIT_VALUES - 1 ) ) |
|
#define | CEILDIV(a, b) ( ( ( a ) + (b)-1 ) / ( b ) ) |
|
#define | DIGITS CEILDIV( CHAR_BIT * sizeof( Value ), DIGIT_BITS ) |
|
#define | VALUE_BITS ( DIGIT_BITS * DIGITS ) |
|
#define | COUNT_SIZE ( DIGITS * DIGIT_VALUES ) |
|
#define | COUNT_DIGIT_01(n, i) if( ( n ) > ( i ) ) count[i][val & DIGIT_MASK]++, val >>= DIGIT_BITS |
|
#define | COUNT_DIGIT_02(n, i) |
|
#define | COUNT_DIGIT_04(n, i) |
|
#define | COUNT_DIGIT_08(n, i) |
|
#define | COUNT_DIGIT_16(n, i) |
|
#define | COUNT_DIGIT_32(n, i) |
|
#define | COUNT_DIGIT_64(n, i) |
|
◆ CEILDIV
#define CEILDIV |
( |
|
a, |
|
|
|
b |
|
) |
| ( ( ( a ) + (b)-1 ) / ( b ) ) |
◆ COUNT_DIGIT_01
#define COUNT_DIGIT_01 |
( |
|
n, |
|
|
|
i |
|
) |
| if( ( n ) > ( i ) ) count[i][val & DIGIT_MASK]++, val >>= DIGIT_BITS |
◆ COUNT_DIGIT_02
#define COUNT_DIGIT_02 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_01( n, ( i ) + 1 )
Definition at line 594 of file TupleList.cpp.
◆ COUNT_DIGIT_04
#define COUNT_DIGIT_04 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_02( n, ( i ) + 2 )
Definition at line 597 of file TupleList.cpp.
◆ COUNT_DIGIT_08
#define COUNT_DIGIT_08 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_04( n, ( i ) + 4 )
Definition at line 600 of file TupleList.cpp.
◆ COUNT_DIGIT_16
#define COUNT_DIGIT_16 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_08( n, ( i ) + 8 )
Definition at line 603 of file TupleList.cpp.
◆ COUNT_DIGIT_32
#define COUNT_DIGIT_32 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_16( n, ( i ) + 16 )
Definition at line 606 of file TupleList.cpp.
◆ COUNT_DIGIT_64
#define COUNT_DIGIT_64 |
( |
|
n, |
|
|
|
i |
|
) |
| |
Value:
COUNT_DIGIT_32( n, ( i ) + 32 )
Definition at line 609 of file TupleList.cpp.
◆ COUNT_SIZE
◆ DIGIT_BITS
◆ DIGIT_MASK
◆ DIGIT_VALUES
◆ DIGITS
◆ umax_2
#define umax_2 |
( |
|
a, |
|
|
|
b |
|
) |
| ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) |
◆ VALUE_BITS