A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/bmdef_8h_source.html below:

NCBI C++ ToolKit: include/util/bitset/bmdef.h Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

31 # define BM_ASSERT _ASSERT 33 # ifdef HAVE_RESTRICT_CXX 34 # define BM_HASRESTRICT 35 # define BMRESTRICT NCBI_RESTRICT 38 # if defined(NCBI_FORCEINLINE) && \ 39  ( !defined(NCBI_COMPILER_GCC) || NCBI_COMPILER_VERSION >= 400 || \ 40  defined(__OPTIMIZE__)) 41 # define BM_HASFORCEINLINE 42 # define BMFORCEINLINE NCBI_FORCEINLINE 61 #if defined(__i386) || defined(__x86_64) || defined(__ppc__) || \ 62  defined(__ppc64__) || defined(_M_IX86) || defined(_M_AMD64) || \ 63  defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || \ 64  defined(_M_ARM) || defined(_M_ARM64) || \ 65  defined(__arm__) || defined(__aarch64__) || \ 66  (defined(_M_MPPC) && !defined(BM_FORBID_UNALIGNED_ACCESS)) 67 #define BM_UNALIGNED_ACCESS_OK 1 70 #if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || \ 71  defined(__i386) || defined(__x86_64) || defined(_M_AMD64) || \ 72  defined(BMSSE2OPT) || defined(BMSSE42OPT) 78 #if defined(BM_NO_CXX11) || (defined(_MSC_VER) && _MSC_VER < 1900) 83 # define BMNOEXCEPT noexcept 84 #if defined(__EMSCRIPTEN__) 93 #if defined(__EMSCRIPTEN__) 105 # define BM_USE_GCC_BUILD 106 # define BMNOEXCEPT2 noexcept 115 #if(_MSC_VER >= 1400) 116 # define BM_HASFORCEINLINE 118 # define BMRESTRICT __restrict 124 # define BMRESTRICT __restrict__ 140 # define BM_ASSERT assert 143 # define BM_ASSERT(x) 149 #if defined(__x86_64) || defined(_M_AMD64) || defined(_WIN64) || \ 150  defined(__LP64__) || defined(_LP64) || ( __WORDSIZE == 64 ) 158 #define FULL_BLOCK_REAL_ADDR bm::all_set<true>::_block._p 159 #define FULL_BLOCK_FAKE_ADDR bm::all_set<true>::_block._p_fullp 160 #define FULL_SUB_BLOCK_REAL_ADDR bm::all_set<true>::_block._s 161 #define BLOCK_ADDR_SAN(addr) (addr == FULL_BLOCK_FAKE_ADDR) ? FULL_BLOCK_REAL_ADDR : addr 162 #define IS_VALID_ADDR(addr) bm::all_set<true>::is_valid_block_addr(addr) 163 #define IS_FULL_BLOCK(addr) bm::all_set<true>::is_full_block(addr) 164 #define IS_EMPTY_BLOCK(addr) bool(addr == 0) 166 #define BM_BLOCK_TYPE(addr) bm::all_set<true>::block_type(addr) 176 # if ULONG_MAX != 0xffffffff || defined(_WIN64) 178 # define BMPTR_SETBIT0(ptr) ( ((bm::id64_t)ptr) | 1 ) 179 # define BMPTR_CLEARBIT0(ptr) ( ((bm::id64_t)ptr) & ~(bm::id64_t)1 ) 180 # define BMPTR_TESTBIT0(ptr) ( ((bm::id64_t)ptr) & 1 ) 184 # define BMPTR_SETBIT0(ptr) ( ((bm::id_t)ptr) | 1 ) 185 # define BMPTR_CLEARBIT0(ptr) ( ((bm::id_t)ptr) & ~(bm::id_t)1 ) 186 # define BMPTR_TESTBIT0(ptr) ( ((bm::id_t)ptr) & 1 ) 190 # define BMGAP_PTR(ptr) ((bm::gap_word_t*)BMPTR_CLEARBIT0(ptr)) 191 # define BMSET_PTRGAP(ptr) ptr = (bm::word_t*)BMPTR_SETBIT0(ptr) 192 # define BM_IS_GAP(ptr) (BMPTR_TESTBIT0(ptr)) 198 #ifdef BM_HASRESTRICT 200 # define BMRESTRICT restrict 208 #ifndef BMFORCEINLINE 209 #ifdef BM_HASFORCEINLINE 210 # ifndef BMFORCEINLINE 211 # define BMFORCEINLINE __forceinline 214 # define BMFORCEINLINE inline 224 # if defined(BM64OPT) || defined(__x86_64) || defined(_M_AMD64) || defined(_WIN64) || \ 225  defined(__LP64__) || defined(_LP64) || ( __WORDSIZE == 64 ) 233 # if defined(BM64OPT) || defined(__x86_64) || defined(_M_AMD64) || defined(_WIN64) || \ 234  defined(__LP64__) || defined(_LP64) 244 # if defined(BM64OPT) || defined(__x86_64) || defined(_M_AMD64) || defined(_WIN64) || \ 245  defined(__LP64__) || defined(_LP64) 257 # ifndef BM_SET_MMX_GUARD 258 # define BM_SET_MMX_GUARD 262 #if (defined(BMSSE2OPT) || defined(BMSSE42OPT) || defined(BMAVX2OPT) || defined(BMAVX512OPT)) 264  # ifndef BM_SET_MMX_GUARD 265  # define BM_SET_MMX_GUARD sse_empty_guard bm_mmx_guard_; 271  # define BM_ALIGN16 __declspec(align(16)) 272  # define BM_ALIGN16ATTR 276  # define BM_ALIGN32 __declspec(align(32)) 277  # define BM_ALIGN32ATTR 281  # define BM_ALIGN64 __declspec(align(64)) 282  # define BM_ALIGN64ATTR 289  # define BM_ALIGN16ATTR __attribute__((aligned(16))) 294  # define BM_ALIGN32ATTR __attribute__((aligned(32))) 299  # define BM_ALIGN64ATTR __attribute__((aligned(64))) 306  #define BM_ALIGN16ATTR 308  #define BM_ALIGN32ATTR 310  #define BM_ALIGN64ATTR 316 #if (defined(BMSSE2OPT) || defined(BMSSE42OPT) || defined(BMWASMSIMDOPT) || defined(BMNEONOPT)) 317 # define BM_VECT_ALIGN BM_ALIGN16 318 # define BM_VECT_ALIGN_ATTR BM_ALIGN16ATTR 320 # if defined(BMAVX2OPT) 321 # define BM_VECT_ALIGN BM_ALIGN32 322 # define BM_VECT_ALIGN_ATTR BM_ALIGN32ATTR 324 # if defined(BMAVX512OPT) 325 # define BM_VECT_ALIGN BM_ALIGN64 326 # define BM_VECT_ALIGN_ATTR BM_ALIGN64ATTR 328 # define BM_VECT_ALIGN 329 # define BM_VECT_ALIGN_ATTR 338 #ifndef BM_ASSERT_THROW 339 #define BM_ASSERT_THROW(x, xerrcode) 343 #ifndef __has_cpp_attribute 344 # define __has_cpp_attribute(x) 0 346 #ifndef __has_attribute 347 # define __has_attribute(x) 0 349 #if __has_cpp_attribute(fallthrough) && \ 350  (!defined(__clang__) || (__clang_major__ > 7 && __cplusplus >= 201703L)) 351 # define BM_FALLTHROUGH [[fallthrough]] 352 #elif __has_cpp_attribute(gcc::fallthrough) 353 # define BM_FALLTHROUGH [[gcc::fallthrough]] 354 #elif __has_cpp_attribute(clang::fallthrough) 355 # define BM_FALLTHROUGH [[clang::fallthrough]] 356 #elif __has_attribute(fallthrough) 357 # define BM_FALLTHROUGH __attribute__ ((fallthrough)) 359 # define BM_FALLTHROUGH

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4