/dports/security/snort3/snort3-3.1.19.0/src/framework/ |
H A D | packet_constraints.cc | 36 using SetBits = snort::PacketConstraints::SetBits; in match_constraints() typedef 65 …if ( set_bits & (SetBits::IP_PROTO|SetBits::SRC_PORT|SetBits::DST_PORT|SetBits::SRC_IP|SetBits::DS… in packet_match() 88 if ( (set_bits & SetBits::IP_PROTO) and in flow_match() 117 (uint8_t)~PacketConstraints::SetBits::DST_IP }; 120 (uint8_t)~PacketConstraints::SetBits::DST_IP }; 165 cs.set_bits |= PacketConstraints::SetBits::SRC_IP; 166 cs.set_bits |= PacketConstraints::SetBits::DST_IP; 182 cs.set_bits |= PacketConstraints::SetBits::SRC_IP; 183 cs.set_bits |= PacketConstraints::SetBits::DST_IP; 210 cs.set_bits |= PacketConstraints::SetBits::SRC_IP; [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/deps/glslang/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/glslang/src/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glslang/src/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/graphics/glslang/glslang-11.7.1/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/glslang/SPIRV/ |
H A D | bitutils.h | 39 struct SetBits { struct 42 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 46 struct SetBits<T, Last, 0> { 51 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 53 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 55 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 57 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 59 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 61 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 63 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/src/machine/ |
H A D | machine_atmega328p.go | 27 avr.TCCR0A.SetBits(avr.TCCR0A_WGM00) 33 avr.TCCR1B.SetBits(avr.TCCR1B_CS11) 36 avr.TCCR1A.SetBits(avr.TCCR1A_WGM10) 39 avr.TCCR2B.SetBits(avr.TCCR2B_CS22) 42 avr.TCCR2A.SetBits(avr.TCCR2A_WGM20) 49 avr.DDRB.SetBits(1 << uint8(pwm.Pin)) 63 avr.TCCR2A.SetBits(avr.TCCR2A_COM2B1) 67 avr.TCCR0A.SetBits(avr.TCCR0A_COM0B1) 71 avr.TCCR0A.SetBits(avr.TCCR0A_COM0A1) 75 avr.TCCR1A.SetBits(avr.TCCR1A_COM1A1) [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/ |
H A D | BinaryEncoding.cpp | 510 mybin->SetBits(bits3SrcDstChanEn_0, in SetDstChanEn() 513 mybin->SetBits(bitsDstChanEn_0, in SetDstChanEn() 820 mybin->SetBits(bitsSrcRegNumByte_0, in SetSrc0RegNumByte() 827 mybin->SetBits(bits3SrcChanSel_0_0, in SetSrc0ChanSel_0() 830 mybin->SetBits(bitsSrcChanSel_0_0, in SetSrc0ChanSel_0() 838 mybin->SetBits(bits3SrcChanSel_1_0, in SetSrc0ChanSel_1() 841 mybin->SetBits(bitsSrcChanSel_1_0, in SetSrc0ChanSel_1() 851 mybin->SetBits(bitsSrcChanSel_2_0, in SetSrc0ChanSel_2() 861 mybin->SetBits(bitsSrcChanSel_3_0, in SetSrc0ChanSel_3() 1622 mybin->SetBits(bits3SrcSrcMod[2], in SetSrc1SrcMod() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/src/runtime/ |
H A D | runtime_stm32f103xx.go | 29 stm32.RCC.CR.SetBits(stm32.RCC_CR_HSEON) // enable HSE clock 35 stm32.RCC.CR.SetBits(stm32.RCC_CR_HSION) // enable HSI clock 42 stm32.RCC.CFGR.SetBits(stm32.RCC_CFGR_PLLMUL_9) // multiply by 9 43 stm32.RCC.CR.SetBits(stm32.RCC_CR_PLLON) // enable the PLL 68 stm32.PWR.CR.SetBits(stm32.PWR_CR_DBP) 71 stm32.RCC.BDCR.SetBits(stm32.RCC_BDCR_LSEON) 78 stm32.RCC.BDCR.SetBits(stm32.RCC_RTCCLKSource_LSE) 89 stm32.RCC.BDCR.SetBits(stm32.RCC_BDCR_RTCEN) 101 stm32.RCC.APB1ENR.SetBits(stm32.RCC_APB1ENR_TIM3EN) 186 stm32.TIM3.DIER.SetBits(stm32.TIM_DIER_UIE) [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/cpu/i386/ |
H A D | cache.h | 38 template<int TagBits, int SetBits, int WayBits, int LineBits> 63 static const int Sets = 1 << SetBits; 65 static const u32 SetMask = ((1 << SetBits) - 1) << LineBits; 67 static const int TagShift = LineBits + SetBits; 88 template<int TagBits, int SetBits, int WayBits, int LineBits> 89 cpucache<TagBits, SetBits, WayBits, LineBits>::cpucache() in cpucache() 94 template<int TagBits, int SetBits, int WayBits, int LineBits> 95 void cpucache<TagBits, SetBits, WayBits, LineBits>::reset() in reset() 109 template<int TagBits, int SetBits, int WayBits, int LineBits> 126 template<int TagBits, int SetBits, int WayBits, int LineBits> [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/i386/ |
H A D | cache.h | 38 template<int TagBits, int SetBits, int WayBits, int LineBits> 63 static const int Sets = 1 << SetBits; 65 static const u32 SetMask = ((1 << SetBits) - 1) << LineBits; 67 static const int TagShift = LineBits + SetBits; 88 template<int TagBits, int SetBits, int WayBits, int LineBits> 89 cpucache<TagBits, SetBits, WayBits, LineBits>::cpucache() in cpucache() 94 template<int TagBits, int SetBits, int WayBits, int LineBits> 95 void cpucache<TagBits, SetBits, WayBits, LineBits>::reset() in reset() 109 template<int TagBits, int SetBits, int WayBits, int LineBits> 126 template<int TagBits, int SetBits, int WayBits, int LineBits> [all …]
|
/dports/games/gnubg/gnubg-1.06.002/ |
H A D | matchid.c | 156 SetBits(auchKey, 0, 4, LogCube(nCube)); in MatchID() 157 SetBits(auchKey, 4, 2, fCubeOwner & 0x3); in MatchID() 158 SetBits(auchKey, 6, 1, fMove); in MatchID() 159 SetBits(auchKey, 7, 1, fCrawford); in MatchID() 160 SetBits(auchKey, 8, 3, (int) gs); in MatchID() 161 SetBits(auchKey, 11, 1, fTurn); in MatchID() 162 SetBits(auchKey, 12, 1, fDoubled); in MatchID() 163 SetBits(auchKey, 13, 2, fResigned); in MatchID() 165 SetBits(auchKey, 15, 3, anDice[0] & 0x7); in MatchID() 171 SetBits(auchKey, 21, 15, nMatchTo & 0x7FFF); in MatchID() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/source/util/ |
H A D | bitutils.h | 50 struct SetBits { struct 53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 57 struct SetBits<T, Last, 0> { 67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/util/ |
H A D | bitutils.h | 50 struct SetBits { struct 53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 57 struct SetBits<T, Last, 0> { 67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | bitutils.h | 50 struct SetBits { struct 53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 57 struct SetBits<T, Last, 0> { 67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/util/ |
H A D | bitutils.h | 50 struct SetBits { struct 53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 57 struct SetBits<T, Last, 0> { 67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/util/ |
H A D | bitutils.h | 50 struct SetBits { struct 53 const static T get = (T(1) << First) | SetBits<T, First + 1, Num - 1>::get; argument 57 struct SetBits<T, Last, 0> { 67 static_assert(SetBits<uint32_t, 0, 0>::get == uint32_t(0x00000000), 69 static_assert(SetBits<uint32_t, 0, 1>::get == uint32_t(0x00000001), 71 static_assert(SetBits<uint32_t, 31, 1>::get == uint32_t(0x80000000), 73 static_assert(SetBits<uint32_t, 1, 2>::get == uint32_t(0x00000006), 75 static_assert(SetBits<uint32_t, 30, 2>::get == uint32_t(0xc0000000), 77 static_assert(SetBits<uint32_t, 0, 31>::get == uint32_t(0x7FFFFFFF), 79 static_assert(SetBits<uint32_t, 0, 32>::get == uint32_t(0xFFFFFFFF), [all …]
|