Home
last modified time | relevance | path

Searched refs:xors (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/dports/sysutils/lizardfs/lizardfs-3.12.0/src/unittests/
H A Dchunk_type_constants.cc24 const ChunkPartType xor_1_of_2{slice_traits::xors::ChunkPartType(2, 1)};
25 const ChunkPartType xor_2_of_2{slice_traits::xors::ChunkPartType(2, 2)};
26 const ChunkPartType xor_p_of_2{slice_traits::xors::ChunkPartType(2, slice_traits::xors::kXorParityP…
27 const ChunkPartType xor_1_of_3{slice_traits::xors::ChunkPartType(3, 1)};
28 const ChunkPartType xor_2_of_3{slice_traits::xors::ChunkPartType(3, 2)};
29 const ChunkPartType xor_3_of_3{slice_traits::xors::ChunkPartType(3, 3)};
30 const ChunkPartType xor_p_of_3{slice_traits::xors::ChunkPartType(3, slice_traits::xors::kXorParityP…
35 const ChunkPartType xor_p_of_4{slice_traits::xors::ChunkPartType(4, slice_traits::xors::kXorParityP…
42 const ChunkPartType xor_p_of_6{slice_traits::xors::ChunkPartType(6, slice_traits::xors::kXorParityP…
50 const ChunkPartType xor_p_of_7{slice_traits::xors::ChunkPartType(7, slice_traits::xors::kXorParityP…
[all …]
H A Dplan_tester.cc191 if (result.count(slice_traits::xors::ChunkPartType(level, part))) { in buildXorData()
196 slice_traits::xors::ChunkPartType(level, part), MFSBLOCKSINCHUNK); in buildXorData()
209 result.insert({slice_traits::xors::ChunkPartType(level, part), std::move(buffer)}); in buildXorData()
212 if (result.count(slice_traits::xors::ChunkPartType(level, 0))) { in buildXorData()
217 int block_count = slice_traits::getNumberOfBlocks(slice_traits::xors::ChunkPartType(level, 0), in buildXorData()
222 std::min(buffer.size(), result[slice_traits::xors::ChunkPartType(level, part)].size()); in buildXorData()
223 blockXor(buffer.data(), result[slice_traits::xors::ChunkPartType(level, part)].data(), in buildXorData()
226 result.insert(std::make_pair(slice_traits::xors::ChunkPartType(level, 0), std::move(buffer))); in buildXorData()
/dports/math/py-cryptominisat/cryptominisat-5.8.0/tests/
H A Dxorfinder_test.cpp403 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
410 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
417 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
424 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
459 finder->xors = str_to_xors( in TEST_F()
470 finder->xors = str_to_xors( in TEST_F()
482 finder->xors = str_to_xors( in TEST_F()
489 check_xors_eq(finder->xors, in TEST_F()
496 finder->xors = str_to_xors( in TEST_F()
502 check_xors_eq(finder->xors, in TEST_F()
[all …]
H A Dbasic_test.cpp966 EXPECT_EQ(xors.size(), 1); in TEST()
979 EXPECT_EQ(xors.size(), 1); in TEST()
994 EXPECT_EQ(xors.size(), 2); in TEST()
1011 EXPECT_EQ(xors.size(), 1); in TEST()
1026 EXPECT_EQ(xors.size(), 1); in TEST()
1041 EXPECT_EQ(xors.size(), 1); in TEST()
1055 EXPECT_EQ(xors.size(), 1); in TEST()
1056 std::sort(xors[0].first.begin(), xors[0].first.end()); in TEST()
1071 EXPECT_EQ(xors.size(), 1); in TEST()
1072 std::sort(xors[0].first.begin(), xors[0].first.end()); in TEST()
[all …]
/dports/math/cryptominisat/cryptominisat-5.8.0/tests/
H A Dxorfinder_test.cpp403 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
410 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
417 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
424 finder->xors = finder->remove_xors_without_connecting_vars(finder->xors); in TEST_F()
459 finder->xors = str_to_xors( in TEST_F()
470 finder->xors = str_to_xors( in TEST_F()
482 finder->xors = str_to_xors( in TEST_F()
489 check_xors_eq(finder->xors, in TEST_F()
496 finder->xors = str_to_xors( in TEST_F()
502 check_xors_eq(finder->xors, in TEST_F()
[all …]
H A Dbasic_test.cpp966 EXPECT_EQ(xors.size(), 1); in TEST()
979 EXPECT_EQ(xors.size(), 1); in TEST()
994 EXPECT_EQ(xors.size(), 2); in TEST()
1011 EXPECT_EQ(xors.size(), 1); in TEST()
1026 EXPECT_EQ(xors.size(), 1); in TEST()
1041 EXPECT_EQ(xors.size(), 1); in TEST()
1055 EXPECT_EQ(xors.size(), 1); in TEST()
1056 std::sort(xors[0].first.begin(), xors[0].first.end()); in TEST()
1071 EXPECT_EQ(xors.size(), 1); in TEST()
1072 std::sort(xors[0].first.begin(), xors[0].first.end()); in TEST()
[all …]
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/common/
H A Dchunk_copies_calculator_unittest.cc37 cccp.addPart(slice_traits::xors::ChunkPartType(3, 3), MediaLabel("C")); in TEST()
38 cccp.addPart(slice_traits::xors::ChunkPartType(3, 2), MediaLabel("B")); in TEST()
39 cccp.addPart(slice_traits::xors::ChunkPartType(3, 1), MediaLabel("B")); in TEST()
40 cccp.addPart(slice_traits::xors::ChunkPartType(3, 0), MediaLabel("A")); in TEST()
46 cccp.addPart(slice_traits::xors::ChunkPartType(3, 0), MediaLabel("A")); in TEST()
54 cccp.addPart(slice_traits::xors::ChunkPartType(3, 3), MediaLabel("C")); in TEST()
55 cccp.addPart(slice_traits::xors::ChunkPartType(3, 2), MediaLabel("B")); in TEST()
56 cccp.addPart(slice_traits::xors::ChunkPartType(3, 1), MediaLabel("B")); in TEST()
57 cccp.addPart(slice_traits::xors::ChunkPartType(3, 0), MediaLabel("A")); in TEST()
86 cccp.addPart(slice_traits::xors::ChunkPartType(4, 0), MediaLabel("C")); in TEST()
[all …]
H A Dchunk_part_type_unittest.cc32 …for (int level = slice_traits::xors::kMinXorLevel; level <= slice_traits::xors::kMaxXorLevel; ++le… in TEST()
34 allChunkTypes.push_back(slice_traits::xors::ChunkPartType(level, part)); in TEST()
36 …allChunkTypes.push_back(slice_traits::xors::ChunkPartType(level, slice_traits::xors::kXorParityPar… in TEST()
40 …ChunkPartType deserializedChunkType = slice_traits::xors::ChunkPartType(2, slice_traits::xors::kXo… in TEST()
53 for (int xorLevel = slice_traits::xors::kMinXorLevel; in TEST()
54 xorLevel <= slice_traits::xors::kMaxXorLevel; ++xorLevel) { in TEST()
55 chunkIDValidity[slice_traits::xors::ChunkPartType( in TEST()
56 xorLevel, slice_traits::xors::kXorParityPart).getId()] = in TEST()
59 chunkIDValidity[slice_traits::xors::ChunkPartType(xorLevel, xorPart) in TEST()
H A Dchunk_read_planner_unittest.cc28 return slice_traits::xors::ChunkPartType(level, part); in xor_part()
86 part_data, std::vector<ChunkPartType>{slice_traits::xors::ChunkPartType(5, 1)}); in TEST()
100 part_data, std::vector<ChunkPartType>{slice_traits::xors::ChunkPartType(5, 1)}); in TEST()
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/chunkserver/
H A Dchunk_unittest.cc29 chunk_1_of_2(1, slice_traits::xors::ChunkPartType(2, 1), CH_AVAIL), in ChunkTests()
30 chunk_2_of_2(1, slice_traits::xors::ChunkPartType(2, 2), CH_AVAIL), in ChunkTests()
31 …chunk_p_of_2(1, slice_traits::xors::ChunkPartType(2, slice_traits::xors::kXorParityPart), CH_AVAIL… in ChunkTests()
32 chunk_1_of_3(1, slice_traits::xors::ChunkPartType(3, 1), CH_AVAIL), in ChunkTests()
33 chunk_3_of_3(1, slice_traits::xors::ChunkPartType(3, 3), CH_AVAIL), in ChunkTests()
34 …chunk_p_of_3(1, slice_traits::xors::ChunkPartType(3, slice_traits::xors::kXorParityPart), CH_AVAIL… in ChunkTests()
H A Dchunk_filename_parser.cc114 if (xor_level < slice_traits::xors::kMinXorLevel || in parseXorChunkType()
115 xor_level > slice_traits::xors::kMaxXorLevel) { in parseXorChunkType()
122 slice_traits::xors::ChunkPartType(xor_level, slice_traits::xors::kXorParityPart); in parseXorChunkType()
154 if (xor_level < slice_traits::xors::kMinXorLevel || in parseXorChunkType()
155 xor_level > slice_traits::xors::kMaxXorLevel || xor_part > xor_level) { in parseXorChunkType()
161 chunkType_ = slice_traits::xors::ChunkPartType(xor_level, xor_part); in parseXorChunkType()
H A Dchunk_filename_parser_unittest.cc45 EXPECT_EQ(slice_traits::xors::ChunkPartType(3, 1), filenameParser.chunkType()); in TEST()
54 EXPECT_EQ(slice_traits::xors::ChunkPartType(9, 9), filenameParser.chunkType()); in TEST()
63 …EXPECT_EQ(slice_traits::xors::ChunkPartType(3, slice_traits::xors::kXorParityPart), filenameParser… in TEST()
72 …EXPECT_EQ(slice_traits::xors::ChunkPartType(9, slice_traits::xors::kXorParityPart), filenameParser… in TEST()
H A Dchunk_signature_unittest.cc37 const uint8_t chunkTypeId = legacy::ChunkPartType(slice_traits::xors::getSliceType(4), 1).getId(); in TEST()
67 ASSERT_EQ(slice_traits::xors::ChunkPartType(4, 1), chunkSignature.chunkType()); in TEST()
75 const uint16_t chunkTypeId = slice_traits::xors::ChunkPartType(3, 1).getId(); in TEST()
/dports/math/py-cryptominisat/cryptominisat-5.8.0/src/
H A Dmatrixfinder.cpp108 xors.clear();
114 xors.push_back(x);
117 xors.push_back(x);
129 xors = finder.remove_xors_without_connecting_vars(xors);
130 if (!finder.xor_together_xors(xors))
133 xors = finder.remove_xors_without_connecting_vars(xors);
135 finder.clean_equivalent_xors(xors);
178 for (const Xor& x : xors) {
272 for (const Xor& x : xors) {
282 xors.clear();
[all …]
H A Dtoplevelgauss.cpp49 xors = _xors; in toplevelgauss()
83 std::sort(xors.begin(), xors.end(), XorSorter()); in extractInfo()
88 for(const Xor& x: xors) { in extractInfo()
97 it = xors.begin(), end = xors.end() in extractInfo()
209 const Xor& thisXor = xors[*it]; in extractInfoFromBlock()
288 for(size_t i = 0; i < xors.size(); i++) { in move_xors_into_blocks()
289 const Xor& thisXor = xors[i]; in move_xors_into_blocks()
311 const Xor& thisXor = xors[i]; in cutIntoBlocks()
402 mem += xors.capacity()*sizeof(Xor); in mem_used()
H A Dclausecleaner.cpp363 bool ClauseCleaner::clean_xor_clauses(vector<Xor>& xors) in clean_xor_clauses() argument
367 for(Xor& x : xors) { in clean_xor_clauses()
377 for(size_t size = xors.size(); i < size; i++) { in clean_xor_clauses()
378 Xor& x = xors[i]; in clean_xor_clauses()
386 xors[j++] = x; in clean_xor_clauses()
396 xors.resize(j); in clean_xor_clauses()
399 for(Xor& x : xors) { in clean_xor_clauses()
/dports/math/cryptominisat/cryptominisat-5.8.0/src/
H A Dmatrixfinder.cpp108 xors.clear(); in findMatrixes()
114 xors.push_back(x); in findMatrixes()
117 xors.push_back(x); in findMatrixes()
129 xors = finder.remove_xors_without_connecting_vars(xors); in findMatrixes()
130 if (!finder.xor_together_xors(xors)) in findMatrixes()
133 xors = finder.remove_xors_without_connecting_vars(xors); in findMatrixes()
135 finder.clean_equivalent_xors(xors); in findMatrixes()
178 for (const Xor& x : xors) { in findMatrixes()
272 for (const Xor& x : xors) { in setMatrixes()
282 xors.clear(); in setMatrixes()
[all …]
H A Dtoplevelgauss.cpp49 xors = _xors; in toplevelgauss()
83 std::sort(xors.begin(), xors.end(), XorSorter()); in extractInfo()
88 for(const Xor& x: xors) { in extractInfo()
97 it = xors.begin(), end = xors.end() in extractInfo()
209 const Xor& thisXor = xors[*it]; in extractInfoFromBlock()
288 for(size_t i = 0; i < xors.size(); i++) { in move_xors_into_blocks()
289 const Xor& thisXor = xors[i]; in move_xors_into_blocks()
311 const Xor& thisXor = xors[i]; in cutIntoBlocks()
402 mem += xors.capacity()*sizeof(Xor); in mem_used()
H A Dclausecleaner.cpp363 bool ClauseCleaner::clean_xor_clauses(vector<Xor>& xors) in clean_xor_clauses() argument
367 for(Xor& x : xors) { in clean_xor_clauses()
377 for(size_t size = xors.size(); i < size; i++) { in clean_xor_clauses()
378 Xor& x = xors[i]; in clean_xor_clauses()
386 xors[j++] = x; in clean_xor_clauses()
396 xors.resize(j); in clean_xor_clauses()
399 for(Xor& x : xors) { in clean_xor_clauses()
/dports/math/miracl/miracl-5.6/
H A Dfindbase.cpp113 int xors,lshifts[5],rshifts[5]; in cost() local
133 xors=0; in cost()
136 if (rsh[i]==0 || rsh[i]==W) xors++; in cost()
139 xors+=2; in cost()
147 return xors; in cost()
178 int i,M,A,B,C,L,xors,shifts,price,bestprice; in main() local
208 xors=cost(WORDLENGTH,M,A,0,0,&shifts); in main()
209 price=xors+shifts; in main()
224 cout << " cost= " << xors << "+" << shifts << " = " << price << endl; in main()
242 xors=cost(WORDLENGTH,M,A,B,C,&shifts); in main()
[all …]
/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/compression/
H A Dgorilla.c58 BitArray xors; member
85 BitArray xors; member
108 BitArrayIterator xors; member
256 bit_array_init(&compressor->xors); in gorilla_compressor_alloc()
364 Size xors_size = bit_array_data_bytes_used(&input->xors); in compressed_gorilla_data_serialize()
404 &input->xors, in compressed_gorilla_data_serialize()
436 data.xors = compressor->xors; in gorilla_compressor_finish()
525 bit_array_iterator_init(&iterator->xors, &iterator->gorilla_data.xors); in gorilla_decompression_iterator_from_datum_forward()
681 bit_array_iterator_init_rev(&iter->xors, &iter->gorilla_data.xors); in gorilla_decompression_iterator_from_datum_reverse()
799 bit_array_send(buf, &data.xors); in gorilla_compressed_send()
[all …]
/dports/devel/sdl12/SDL-1.2.15/src/video/wincommon/
H A DSDL_sysmouse.c48 Uint8 *xors; member
99 if ( cursor->xors != NULL ) in WIN_FreeWMCursor()
100 SDL_free(cursor->xors); in WIN_FreeWMCursor()
141 cursor->xors = NULL; in WIN_CreateWMCursor()
147 xptr = cursor->xors = (Uint8 *)SDL_malloc((run+pad)*allowed_y); in WIN_CreateWMCursor()
177 cursor->ands, cursor->xors); in WIN_CreateWMCursor()
/dports/devel/p5-Data-Validator/Data-Validator-1.07/lib/Data/
H A DValidator.pm57 my @xors = Mouse::Util::TypeConstraints::ArrayRef($rule{xor})
60 $xor{$name} = $rule{xor} = \@xors;
183 my @xors;
187 push @xors, $other_name;
190 my $real_missing = @xors
192 $name, Mouse::Util::quoted_english_list(@xors) )
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/mupen64plus-rsp-hle/src/
H A Dalist_nead.c197 int16_t xors[4]; in ENVMIXER_MK() local
206 xors[2] = 0; /* unsupported by this ucode */ in ENVMIXER_MK()
208 xors[0] = 0 - (int16_t)((w1 & 0x2) >> 1); in ENVMIXER_MK()
209 xors[1] = 0 - (int16_t)((w1 & 0x1) ); in ENVMIXER_MK()
219 xors); in ENVMIXER_MK()
224 int16_t xors[4]; in ENVMIXER() local
234 xors[2] = 0 - (int16_t)((w1 & 0x8) >> 1); in ENVMIXER()
235 xors[3] = 0 - (int16_t)((w1 & 0x4) >> 1); in ENVMIXER()
236 xors[0] = 0 - (int16_t)((w1 & 0x2) >> 1); in ENVMIXER()
237 xors[1] = 0 - (int16_t)((w1 & 0x1) ); in ENVMIXER()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/test/java/org/bouncycastle/crypto/test/
H A DDigestRandomNumberTest.java90 byte[] xors = new byte[digest.getDigestSize()]; in doCountTest()
102 xors[j] ^= output[j]; in doCountTest()
121 if (xors[i] != expectedXors[i]) in doCountTest()

12345678910>>...12