/dports/biology/abyss/abyss-2.3.1/Unittest/Common/ |
H A D | BitUtilTest.cpp | 25 size_t bitSize, bitOffset; in TEST() local 36 bitSize = 3; in TEST() 57 bitSize = 11; in TEST() 78 bitSize = 15; in TEST() 98 size_t bitSize, bitOffset; in TEST() local 109 bitSize = 3; in TEST() 131 bitSize = 11; in TEST() 154 bitSize = 15; in TEST() 187 bitSize = 3; in TEST() 209 bitSize = 11; in TEST() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/kNet/include/kNet/ |
H A D | BasicSerializedDataTypes.h | 75 …aits<bit> { static const BasicSerializedDataType type = SerialBit; static const int bitSize = 1; }; 76 …raits<u8> { static const BasicSerializedDataType type = SerialU8; static const int bitSize = 8; }; 77 …raits<s8> { static const BasicSerializedDataType type = SerialS8; static const int bitSize = 8; }; 78 …its<u16> { static const BasicSerializedDataType type = SerialU16; static const int bitSize = 16; }; 79 …its<s16> { static const BasicSerializedDataType type = SerialS16; static const int bitSize = 16; }; 80 …its<u32> { static const BasicSerializedDataType type = SerialU32; static const int bitSize = 32; }; 81 …its<s32> { static const BasicSerializedDataType type = SerialS32; static const int bitSize = 32; }; 82 …its<u64> { static const BasicSerializedDataType type = SerialU64; static const int bitSize = 64; }; 83 …its<s64> { static const BasicSerializedDataType type = SerialS64; static const int bitSize = 64; }; 84 …float> { static const BasicSerializedDataType type = SerialFloat; static const int bitSize = 32; }; [all …]
|
/dports/security/helib/HElib-1.3.1/tests/ |
H A D | GTestBinaryArith.cpp | 40 long bitSize, in Parameters() 47 bitSize(bitSize), in Parameters() 154 (outSize > 0 && outSize < 2 * bitSize) ? outSize : (2 * bitSize); in calculateLevels() 202 const long bitSize; member in __anon63819ccc0111::GTestBinaryArith 223 bitSize(correctBitSize(5, std::get<0>(GetParam()).bitSize)), in GTestBinaryArith() 675 long mask = ((1L << bitSize) - 1); in TEST_P() 718 long mask = ((1L << bitSize) - 1); in TEST_P() 905 secKey.Encrypt(lhs[bitSize], NTL::ZZX((lhs_number >> bitSize) & 1)); in TEST_P() 998 amt = ((amt % bitSize) + bitSize) % bitSize; in TEST_P() 1009 for (long rotamt = -bitSize - 1; rotamt <= bitSize + 1; ++rotamt) { in TEST_P() [all …]
|
H A D | GTestTableLookup.cpp | 27 long bitSize, in Parameters() 34 bitSize(bitSize), in Parameters() 106 if (bitSize > 7) in validateBitSize() 108 else if (bitSize <= 0) in validateBitSize() 110 return bitSize; in validateBitSize() 152 L = 30 * (5 + bitSize); in calculateLevels() 222 bitSize(validateBitSize(GetParam().bitSize)), in GTestTableLookup() 244 const long bitSize; member in __anonb16697110111::GTestTableLookup 292 bitSize, in TEST_P() 319 long tSize = 1L << bitSize; // table size in TEST_P() [all …]
|
H A D | GTestBinaryCompare.cpp | 41 bitSize(bitSize), in Parameters() 178 const long bitSize; member in __anoneda7207b0111::GTestBinaryCompare 195 bitSize(correctBitSize(5, std::get<0>(GetParam()).bitSize)), in GTestBinaryCompare() 258 resize(enca, bitSize, mu); in TEST_P() 261 if (i < bitSize) in TEST_P() 265 if (i < bitSize) in TEST_P() 365 resize(enca, bitSize, mu); in TEST_P() 366 resize(encb, bitSize, ni); in TEST_P() 371 if (i < bitSize) in TEST_P() 449 if (i < bitSize) in TEST_P() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/aerospike/aerospike-client-go/ |
H A D | cdt_bitwise.go | 199 func BitNotOp(policy *BitPolicy, binName string, bitOffset int, bitSize int, ctx ...*CDTContext) *O… 263 bitSize int, 300 bitSize int, 354 func BitGetOp(binName string, bitOffset int, bitSize int, ctx ...*CDTContext) *Operation { 359 binValue: ListValue{_CDT_BITWISE_GET, IntegerValue(bitOffset), IntegerValue(bitSize)}, 371 func BitCountOp(binName string, bitOffset int, bitSize int, ctx ...*CDTContext) *Operation { 376 binValue: ListValue{_CDT_BITWISE_COUNT, IntegerValue(bitOffset), IntegerValue(bitSize)}, 390 func BitLScanOp(binName string, bitOffset int, bitSize int, value bool, ctx ...*CDTContext) *Operat… 409 func BitRScanOp(binName string, bitOffset int, bitSize int, value bool, ctx ...*CDTContext) *Operat… 428 func BitGetIntOp(binName string, bitOffset int, bitSize int, signed bool, ctx ...*CDTContext) *Oper… [all …]
|
/dports/graphics/jogamp-jogl/gluegen/src/junit/com/jogamp/common/util/ |
H A D | TestBitfield00.java | 159 final int bitSize; field in TestBitfield00.TestDataBF 163 this.bitSize = bitSize; in TestDataBF() 262 bf1.put32( 0, d.bitSize, d.val); in test_Aligned32bit() 267 bf2.put32( 0, d.bitSize, d.val); in test_Aligned32bit() 271 bf2.put32(64, d.bitSize, d.val); in test_Aligned32bit() 320 for(int i=0; i<d.bitSize; i++) { in test_Unaligned() 348 for(int i=0; i<d.bitSize; i++) { in test_Unaligned() 352 for(int i=0; i<d.bitSize; i++) { in test_Unaligned() 370 for(int i=0; i<d.bitSize; i++) { in test_Unaligned() 381 for(int i=0; i<d.bitSize; i++) { in test_Unaligned() [all …]
|
/dports/devel/spark/spark-2.1.1/common/sketch/src/main/java/org/apache/spark/util/sketch/ |
H A D | BloomFilterImpl.java | 65 public long bitSize() { in bitSize() method in BloomFilterImpl 66 return bits.bitSize(); in bitSize() 90 long bitSize = bits.bitSize(); in putBinary() local 98 bitsChanged |= bits.set(combinedHash % bitSize); in putBinary() 113 long bitSize = bits.bitSize(); in mightContainBinary() local 120 if (!bits.get(combinedHash % bitSize)) { in mightContainBinary() 137 long bitSize = bits.bitSize(); in putLong() local 155 long bitSize = bits.bitSize(); in mightContainLong() local 162 if (!bits.get(combinedHash % bitSize)) { in mightContainLong() 191 return this.bitSize() == that.bitSize() && this.numHashFunctions == that.numHashFunctions; in isCompatible() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/ |
H A D | PlatformLayouts.java | 53 private static ValueLayout ofChar(ByteOrder order, long bitSize) { in ofChar() argument 54 return MemoryLayout.ofValueBits(bitSize, order) in ofChar() 59 return MemoryLayout.ofValueBits(bitSize, order) in ofShort() 63 private static ValueLayout ofInt(ByteOrder order, long bitSize) { in ofInt() argument 64 return MemoryLayout.ofValueBits(bitSize, order) in ofInt() 68 private static ValueLayout ofLong(ByteOrder order, long bitSize) { in ofLong() argument 69 return MemoryLayout.ofValueBits(bitSize, order) in ofLong() 74 return MemoryLayout.ofValueBits(bitSize, order) in ofLongLong() 79 return MemoryLayout.ofValueBits(bitSize, order) in ofFloat() 84 return MemoryLayout.ofValueBits(bitSize, order) in ofDouble() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/ |
H A D | PlatformLayouts.java | 53 private static ValueLayout ofChar(ByteOrder order, long bitSize) { 54 return MemoryLayout.valueLayout(bitSize, order) 59 return MemoryLayout.valueLayout(bitSize, order) 63 private static ValueLayout ofInt(ByteOrder order, long bitSize) { 64 return MemoryLayout.valueLayout(bitSize, order) 68 private static ValueLayout ofLong(ByteOrder order, long bitSize) { 69 return MemoryLayout.valueLayout(bitSize, order) 74 return MemoryLayout.valueLayout(bitSize, order) 79 return MemoryLayout.valueLayout(bitSize, order) 84 return MemoryLayout.valueLayout(bitSize, order) [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/lang/gcc9/gcc-9.4.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/strconv/ |
H A D | atoi.go | 38 func bitSizeError(fn, str string, bitSize int) *NumError { 50 func ParseUint(s string, base int, bitSize int) (uint64, error) { 82 if bitSize == 0 { 83 bitSize = int(IntSize) 84 } else if bitSize < 0 || bitSize > 64 { 85 return 0, bitSizeError(fnParseUint, s0, bitSize) 100 maxVal := uint64(1)<<uint(bitSize) - 1 176 un, err = ParseUint(s, base, bitSize) 183 if bitSize == 0 { 184 bitSize = int(IntSize) [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/iga/GEDLibrary/GED_external/Source/common/ |
H A D | ged_compact_mapping_table.cpp | 110 uint32_t bitSize = 0; in MappingSourceBitSize() local 111 …for (uint32_t bitMask = data._fromMask; 0 != bitMask; bitMask >>= 1, ++bitSize) { /* empty loop */… in MappingSourceBitSize() 112 return bitSize; in MappingSourceBitSize() 118 … unsigned int bitSize = data._fragments[0]._from._highBit - data._fragments[0]._from._lowBit + 1; in MappingSourceBitSize() local 121 bitSize += (data._fragments[i]._from._highBit - data._fragments[i]._from._lowBit + 1); in MappingSourceBitSize() 123 return bitSize; in MappingSourceBitSize() 148 unsigned int bitSize = data._to._highBit - data._to._lowBit + 1; in MappingTargetBitSize() local 149 return bitSize; in MappingTargetBitSize() 155 unsigned int bitSize = data._fragments[0]._to._highBit - data._fragments[0]._to._lowBit + 1; in MappingTargetBitSize() local 158 bitSize += (data._fragments[i]._to._highBit - data._fragments[i]._to._lowBit + 1); in MappingTargetBitSize() [all …]
|
/dports/x11/dxpc/dxpc-3.9.2/ |
H A D | unittest.C | 24 unsigned **bitSize, in readDump() argument 100 *bitSize = b; in readDump() 109 unsigned *bitSize, in writeDump() argument 139 tmp = htonl(bitSize[i]); in writeDump() 182 unsigned *values, *bitSize, *blockSize; in main() local 248 bitSize = new unsigned[NUM_ENTRIES]; in main() 253 bitSize[i] = (rand() % 32) + 1; in main() 254 blockSize[i] = (rand() % bitSize[i]) + 1; in main() 278 valueMask = ~0U >> (32 - bitSize[i]); in main() 283 i, bitSize[i], values[i], value); in main() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/strconv/ |
H A D | atoi.go | 48 func bitSizeError(fn, str string, bitSize int) *NumError { 62 func ParseUint(s string, base int, bitSize int) (uint64, error) { 100 if bitSize == 0 { 101 bitSize = IntSize 102 } else if bitSize < 0 || bitSize > 64 { 103 return 0, bitSizeError(fnParseUint, s0, bitSize) 118 maxVal := uint64(1)<<uint(bitSize) - 1 203 un, err = ParseUint(s, base, bitSize) 210 if bitSize == 0 { 211 bitSize = IntSize [all …]
|
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/strconv/ |
H A D | atoi.go | 48 func bitSizeError(fn, str string, bitSize int) *NumError { 60 func ParseUint(s string, base int, bitSize int) (uint64, error) { 98 if bitSize == 0 { 99 bitSize = int(IntSize) 100 } else if bitSize < 0 || bitSize > 64 { 101 return 0, bitSizeError(fnParseUint, s0, bitSize) 116 maxVal := uint64(1)<<uint(bitSize) - 1 198 un, err = ParseUint(s, base, bitSize) 205 if bitSize == 0 { 206 bitSize = int(IntSize) [all …]
|
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/strconv/ |
H A D | atoi.go | 48 func bitSizeError(fn, str string, bitSize int) *NumError { 62 func ParseUint(s string, base int, bitSize int) (uint64, error) { 100 if bitSize == 0 { 101 bitSize = IntSize 102 } else if bitSize < 0 || bitSize > 64 { 103 return 0, bitSizeError(fnParseUint, s0, bitSize) 118 maxVal := uint64(1)<<uint(bitSize) - 1 203 un, err = ParseUint(s, base, bitSize) 210 if bitSize == 0 { 211 bitSize = IntSize [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libgo/go/strconv/ |
H A D | atoi.go | 48 func bitSizeError(fn, str string, bitSize int) *NumError { 60 func ParseUint(s string, base int, bitSize int) (uint64, error) { 98 if bitSize == 0 { 99 bitSize = IntSize 100 } else if bitSize < 0 || bitSize > 64 { 101 return 0, bitSizeError(fnParseUint, s0, bitSize) 116 maxVal := uint64(1)<<uint(bitSize) - 1 198 un, err = ParseUint(s, base, bitSize) 205 if bitSize == 0 { 206 bitSize = IntSize [all …]
|