• Home
  • Raw
  • Download

Lines Matching refs:Partial

90     SameType<int32_t, decltype(L::Partial())::ElementType<0>>();  in TEST()
91 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
97 SameType<int32_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
98 SameType<int32_t, decltype(L::Partial())::ElementType<1>>(); in TEST()
99 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
100 SameType<int32_t, decltype(L::Partial(0))::ElementType<1>>(); in TEST()
107 SameType<int8_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
108 SameType<int8_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
109 SameType<int32_t, decltype(L::Partial(0))::ElementType<1>>(); in TEST()
110 SameType<int8_t, decltype(L::Partial(0, 0))::ElementType<0>>(); in TEST()
111 SameType<int32_t, decltype(L::Partial(0, 0))::ElementType<1>>(); in TEST()
112 SameType<Int128, decltype(L::Partial(0, 0))::ElementType<2>>(); in TEST()
113 SameType<int8_t, decltype(L::Partial(0, 0, 0))::ElementType<0>>(); in TEST()
114 SameType<int32_t, decltype(L::Partial(0, 0, 0))::ElementType<1>>(); in TEST()
115 SameType<Int128, decltype(L::Partial(0, 0, 0))::ElementType<2>>(); in TEST()
123 SameType<std::tuple<int32_t>, decltype(L::Partial())::ElementTypes>(); in TEST()
124 SameType<std::tuple<int32_t>, decltype(L::Partial(0))::ElementTypes>(); in TEST()
129 SameType<std::tuple<int32_t, int32_t>, decltype(L::Partial())::ElementTypes>(); in TEST()
130 SameType<std::tuple<int32_t, int32_t>, decltype(L::Partial(0))::ElementTypes>(); in TEST()
136 decltype(L::Partial())::ElementTypes>(); in TEST()
138 decltype(L::Partial(0))::ElementTypes>(); in TEST()
140 decltype(L::Partial(0, 0))::ElementTypes>(); in TEST()
142 decltype(L::Partial(0, 0, 0))::ElementTypes>(); in TEST()
149 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
150 EXPECT_EQ(0, L::Partial(3).Offset<0>()); in TEST()
155 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
156 EXPECT_EQ(0, L::Partial(3).Offset<0>()); in TEST()
157 EXPECT_EQ(12, L::Partial(3).Offset<1>()); in TEST()
158 EXPECT_EQ(0, L::Partial(3, 5).Offset<0>()); in TEST()
159 EXPECT_EQ(12, L::Partial(3, 5).Offset<1>()); in TEST()
165 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
166 EXPECT_EQ(0, L::Partial(0).Offset<0>()); in TEST()
167 EXPECT_EQ(0, L::Partial(0).Offset<1>()); in TEST()
168 EXPECT_EQ(0, L::Partial(1).Offset<0>()); in TEST()
169 EXPECT_EQ(4, L::Partial(1).Offset<1>()); in TEST()
170 EXPECT_EQ(0, L::Partial(5).Offset<0>()); in TEST()
171 EXPECT_EQ(8, L::Partial(5).Offset<1>()); in TEST()
172 EXPECT_EQ(0, L::Partial(0, 0).Offset<0>()); in TEST()
173 EXPECT_EQ(0, L::Partial(0, 0).Offset<1>()); in TEST()
174 EXPECT_EQ(0, L::Partial(0, 0).Offset<2>()); in TEST()
175 EXPECT_EQ(0, L::Partial(1, 0).Offset<0>()); in TEST()
176 EXPECT_EQ(4, L::Partial(1, 0).Offset<1>()); in TEST()
177 EXPECT_EQ(8, L::Partial(1, 0).Offset<2>()); in TEST()
178 EXPECT_EQ(0, L::Partial(5, 3).Offset<0>()); in TEST()
179 EXPECT_EQ(8, L::Partial(5, 3).Offset<1>()); in TEST()
180 EXPECT_EQ(24, L::Partial(5, 3).Offset<2>()); in TEST()
181 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<0>()); in TEST()
182 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<1>()); in TEST()
183 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<2>()); in TEST()
184 EXPECT_EQ(0, L::Partial(1, 0, 0).Offset<0>()); in TEST()
185 EXPECT_EQ(4, L::Partial(1, 0, 0).Offset<1>()); in TEST()
186 EXPECT_EQ(8, L::Partial(1, 0, 0).Offset<2>()); in TEST()
187 EXPECT_EQ(0, L::Partial(5, 3, 1).Offset<0>()); in TEST()
188 EXPECT_EQ(24, L::Partial(5, 3, 1).Offset<2>()); in TEST()
189 EXPECT_EQ(8, L::Partial(5, 3, 1).Offset<1>()); in TEST()
199 EXPECT_EQ(0, L::Partial().Offset<int32_t>()); in TEST()
200 EXPECT_EQ(0, L::Partial(3).Offset<int32_t>()); in TEST()
205 EXPECT_EQ(0, L::Partial().Offset<int8_t>()); in TEST()
206 EXPECT_EQ(0, L::Partial(0).Offset<int8_t>()); in TEST()
207 EXPECT_EQ(0, L::Partial(0).Offset<int32_t>()); in TEST()
208 EXPECT_EQ(0, L::Partial(1).Offset<int8_t>()); in TEST()
209 EXPECT_EQ(4, L::Partial(1).Offset<int32_t>()); in TEST()
210 EXPECT_EQ(0, L::Partial(5).Offset<int8_t>()); in TEST()
211 EXPECT_EQ(8, L::Partial(5).Offset<int32_t>()); in TEST()
212 EXPECT_EQ(0, L::Partial(0, 0).Offset<int8_t>()); in TEST()
213 EXPECT_EQ(0, L::Partial(0, 0).Offset<int32_t>()); in TEST()
214 EXPECT_EQ(0, L::Partial(0, 0).Offset<Int128>()); in TEST()
215 EXPECT_EQ(0, L::Partial(1, 0).Offset<int8_t>()); in TEST()
216 EXPECT_EQ(4, L::Partial(1, 0).Offset<int32_t>()); in TEST()
217 EXPECT_EQ(8, L::Partial(1, 0).Offset<Int128>()); in TEST()
218 EXPECT_EQ(0, L::Partial(5, 3).Offset<int8_t>()); in TEST()
219 EXPECT_EQ(8, L::Partial(5, 3).Offset<int32_t>()); in TEST()
220 EXPECT_EQ(24, L::Partial(5, 3).Offset<Int128>()); in TEST()
221 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<int8_t>()); in TEST()
222 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<int32_t>()); in TEST()
223 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<Int128>()); in TEST()
224 EXPECT_EQ(0, L::Partial(1, 0, 0).Offset<int8_t>()); in TEST()
225 EXPECT_EQ(4, L::Partial(1, 0, 0).Offset<int32_t>()); in TEST()
226 EXPECT_EQ(8, L::Partial(1, 0, 0).Offset<Int128>()); in TEST()
227 EXPECT_EQ(0, L::Partial(5, 3, 1).Offset<int8_t>()); in TEST()
228 EXPECT_EQ(24, L::Partial(5, 3, 1).Offset<Int128>()); in TEST()
229 EXPECT_EQ(8, L::Partial(5, 3, 1).Offset<int32_t>()); in TEST()
239 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
240 EXPECT_THAT(L::Partial(3).Offsets(), ElementsAre(0)); in TEST()
245 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
246 EXPECT_THAT(L::Partial(3).Offsets(), ElementsAre(0, 12)); in TEST()
247 EXPECT_THAT(L::Partial(3, 5).Offsets(), ElementsAre(0, 12)); in TEST()
252 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
253 EXPECT_THAT(L::Partial(1).Offsets(), ElementsAre(0, 4)); in TEST()
254 EXPECT_THAT(L::Partial(5).Offsets(), ElementsAre(0, 8)); in TEST()
255 EXPECT_THAT(L::Partial(0, 0).Offsets(), ElementsAre(0, 0, 0)); in TEST()
256 EXPECT_THAT(L::Partial(1, 0).Offsets(), ElementsAre(0, 4, 8)); in TEST()
257 EXPECT_THAT(L::Partial(5, 3).Offsets(), ElementsAre(0, 8, 24)); in TEST()
258 EXPECT_THAT(L::Partial(0, 0, 0).Offsets(), ElementsAre(0, 0, 0)); in TEST()
259 EXPECT_THAT(L::Partial(1, 0, 0).Offsets(), ElementsAre(0, 4, 8)); in TEST()
260 EXPECT_THAT(L::Partial(5, 3, 1).Offsets(), ElementsAre(0, 8, 24)); in TEST()
268 EXPECT_EQ(0, L::Partial(0).AllocSize()); in TEST()
269 EXPECT_EQ(12, L::Partial(3).AllocSize()); in TEST()
274 EXPECT_EQ(32, L::Partial(3, 5).AllocSize()); in TEST()
279 EXPECT_EQ(0, L::Partial(0, 0, 0).AllocSize()); in TEST()
280 EXPECT_EQ(8, L::Partial(1, 0, 0).AllocSize()); in TEST()
281 EXPECT_EQ(8, L::Partial(0, 1, 0).AllocSize()); in TEST()
282 EXPECT_EQ(16, L::Partial(0, 0, 1).AllocSize()); in TEST()
283 EXPECT_EQ(24, L::Partial(1, 1, 1).AllocSize()); in TEST()
284 EXPECT_EQ(136, L::Partial(3, 5, 7).AllocSize()); in TEST()
292 EXPECT_EQ(0, L::Partial(0).Size<0>()); in TEST()
293 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
298 EXPECT_EQ(0, L::Partial(0).Size<0>()); in TEST()
299 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
300 EXPECT_EQ(3, L::Partial(3, 5).Size<0>()); in TEST()
301 EXPECT_EQ(5, L::Partial(3, 5).Size<1>()); in TEST()
307 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
308 EXPECT_EQ(3, L::Partial(3, 5).Size<0>()); in TEST()
309 EXPECT_EQ(5, L::Partial(3, 5).Size<1>()); in TEST()
310 EXPECT_EQ(3, L::Partial(3, 5, 7).Size<0>()); in TEST()
311 EXPECT_EQ(5, L::Partial(3, 5, 7).Size<1>()); in TEST()
312 EXPECT_EQ(7, L::Partial(3, 5, 7).Size<2>()); in TEST()
322 EXPECT_EQ(0, L::Partial(0).Size<int32_t>()); in TEST()
323 EXPECT_EQ(3, L::Partial(3).Size<int32_t>()); in TEST()
328 EXPECT_EQ(3, L::Partial(3).Size<int8_t>()); in TEST()
329 EXPECT_EQ(3, L::Partial(3, 5).Size<int8_t>()); in TEST()
330 EXPECT_EQ(5, L::Partial(3, 5).Size<int32_t>()); in TEST()
331 EXPECT_EQ(3, L::Partial(3, 5, 7).Size<int8_t>()); in TEST()
332 EXPECT_EQ(5, L::Partial(3, 5, 7).Size<int32_t>()); in TEST()
333 EXPECT_EQ(7, L::Partial(3, 5, 7).Size<Int128>()); in TEST()
343 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
344 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
349 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
350 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
351 EXPECT_THAT(L::Partial(3, 5).Sizes(), ElementsAre(3, 5)); in TEST()
356 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
357 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
358 EXPECT_THAT(L::Partial(3, 5).Sizes(), ElementsAre(3, 5)); in TEST()
359 EXPECT_THAT(L::Partial(3, 5, 7).Sizes(), ElementsAre(3, 5, 7)); in TEST()
368 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
369 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
374 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
375 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
376 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
378 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
380 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
386 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial().Pointer<0>(p)))); in TEST()
387 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(0).Pointer<0>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(0).Pointer<1>(p)))); in TEST()
389 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(1).Pointer<0>(p)))); in TEST()
390 EXPECT_EQ(4, Distance(p, Type<const int32_t*>(L::Partial(1).Pointer<1>(p)))); in TEST()
391 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(5).Pointer<0>(p)))); in TEST()
392 EXPECT_EQ(8, Distance(p, Type<const int32_t*>(L::Partial(5).Pointer<1>(p)))); in TEST()
394 Distance(p, Type<const int8_t*>(L::Partial(0, 0).Pointer<0>(p)))); in TEST()
396 Distance(p, Type<const int32_t*>(L::Partial(0, 0).Pointer<1>(p)))); in TEST()
398 Distance(p, Type<const Int128*>(L::Partial(0, 0).Pointer<2>(p)))); in TEST()
400 Distance(p, Type<const int8_t*>(L::Partial(1, 0).Pointer<0>(p)))); in TEST()
402 Distance(p, Type<const int32_t*>(L::Partial(1, 0).Pointer<1>(p)))); in TEST()
404 Distance(p, Type<const Int128*>(L::Partial(1, 0).Pointer<2>(p)))); in TEST()
406 Distance(p, Type<const int8_t*>(L::Partial(5, 3).Pointer<0>(p)))); in TEST()
408 Distance(p, Type<const int32_t*>(L::Partial(5, 3).Pointer<1>(p)))); in TEST()
410 Distance(p, Type<const Int128*>(L::Partial(5, 3).Pointer<2>(p)))); in TEST()
412 0, Distance(p, Type<const int8_t*>(L::Partial(0, 0, 0).Pointer<0>(p)))); in TEST()
414 0, Distance(p, Type<const int32_t*>(L::Partial(0, 0, 0).Pointer<1>(p)))); in TEST()
416 0, Distance(p, Type<const Int128*>(L::Partial(0, 0, 0).Pointer<2>(p)))); in TEST()
418 0, Distance(p, Type<const int8_t*>(L::Partial(1, 0, 0).Pointer<0>(p)))); in TEST()
420 4, Distance(p, Type<const int32_t*>(L::Partial(1, 0, 0).Pointer<1>(p)))); in TEST()
422 8, Distance(p, Type<const Int128*>(L::Partial(1, 0, 0).Pointer<2>(p)))); in TEST()
424 0, Distance(p, Type<const int8_t*>(L::Partial(5, 3, 1).Pointer<0>(p)))); in TEST()
427 Distance(p, Type<const Int128*>(L::Partial(5, 3, 1).Pointer<2>(p)))); in TEST()
429 8, Distance(p, Type<const int32_t*>(L::Partial(5, 3, 1).Pointer<1>(p)))); in TEST()
441 Distance(p, Type<const int32_t*>(L::Partial().Pointer<int32_t>(p)))); in TEST()
443 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<int32_t>(p)))); in TEST()
448 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial().Pointer<int8_t>(p)))); in TEST()
450 Distance(p, Type<const int8_t*>(L::Partial(0).Pointer<int8_t>(p)))); in TEST()
452 Distance(p, Type<const int32_t*>(L::Partial(0).Pointer<int32_t>(p)))); in TEST()
454 Distance(p, Type<const int8_t*>(L::Partial(1).Pointer<int8_t>(p)))); in TEST()
456 Distance(p, Type<const int32_t*>(L::Partial(1).Pointer<int32_t>(p)))); in TEST()
458 Distance(p, Type<const int8_t*>(L::Partial(5).Pointer<int8_t>(p)))); in TEST()
460 Distance(p, Type<const int32_t*>(L::Partial(5).Pointer<int32_t>(p)))); in TEST()
462 0, Distance(p, Type<const int8_t*>(L::Partial(0, 0).Pointer<int8_t>(p)))); in TEST()
464 0, Distance(p, Type<const int32_t*>(L::Partial(0, 0).Pointer<int32_t>(p)))); in TEST()
467 Distance(p, Type<const Int128*>(L::Partial(0, 0).Pointer<Int128>(p)))); in TEST()
469 0, Distance(p, Type<const int8_t*>(L::Partial(1, 0).Pointer<int8_t>(p)))); in TEST()
471 4, Distance(p, Type<const int32_t*>(L::Partial(1, 0).Pointer<int32_t>(p)))); in TEST()
474 Distance(p, Type<const Int128*>(L::Partial(1, 0).Pointer<Int128>(p)))); in TEST()
476 0, Distance(p, Type<const int8_t*>(L::Partial(5, 3).Pointer<int8_t>(p)))); in TEST()
478 8, Distance(p, Type<const int32_t*>(L::Partial(5, 3).Pointer<int32_t>(p)))); in TEST()
481 Distance(p, Type<const Int128*>(L::Partial(5, 3).Pointer<Int128>(p)))); in TEST()
484 Distance(p, Type<const int8_t*>(L::Partial(0, 0, 0).Pointer<int8_t>(p)))); in TEST()
487 Distance(p, Type<const int32_t*>(L::Partial(0, 0, 0).Pointer<int32_t>(p)))); in TEST()
489 L::Partial(0, 0, 0).Pointer<Int128>(p)))); in TEST()
492 Distance(p, Type<const int8_t*>(L::Partial(1, 0, 0).Pointer<int8_t>(p)))); in TEST()
495 Distance(p, Type<const int32_t*>(L::Partial(1, 0, 0).Pointer<int32_t>(p)))); in TEST()
497 L::Partial(1, 0, 0).Pointer<Int128>(p)))); in TEST()
500 Distance(p, Type<const int8_t*>(L::Partial(5, 3, 1).Pointer<int8_t>(p)))); in TEST()
502 L::Partial(5, 3, 1).Pointer<Int128>(p)))); in TEST()
505 Distance(p, Type<const int32_t*>(L::Partial(5, 3, 1).Pointer<int32_t>(p)))); in TEST()
516 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
517 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
522 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
523 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
524 EXPECT_EQ(12, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
525 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
526 EXPECT_EQ(12, Distance(p, Type<int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
532 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial().Pointer<0>(p)))); in TEST()
533 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0).Pointer<0>(p)))); in TEST()
534 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0).Pointer<1>(p)))); in TEST()
535 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1).Pointer<0>(p)))); in TEST()
536 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1).Pointer<1>(p)))); in TEST()
537 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5).Pointer<0>(p)))); in TEST()
538 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5).Pointer<1>(p)))); in TEST()
539 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0).Pointer<0>(p)))); in TEST()
540 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0).Pointer<1>(p)))); in TEST()
541 EXPECT_EQ(0, Distance(p, Type<Int128*>(L::Partial(0, 0).Pointer<2>(p)))); in TEST()
542 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0).Pointer<0>(p)))); in TEST()
543 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0).Pointer<1>(p)))); in TEST()
544 EXPECT_EQ(8, Distance(p, Type<Int128*>(L::Partial(1, 0).Pointer<2>(p)))); in TEST()
545 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3).Pointer<0>(p)))); in TEST()
546 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3).Pointer<1>(p)))); in TEST()
547 EXPECT_EQ(24, Distance(p, Type<Int128*>(L::Partial(5, 3).Pointer<2>(p)))); in TEST()
548 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0, 0).Pointer<0>(p)))); in TEST()
549 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0, 0).Pointer<1>(p)))); in TEST()
550 EXPECT_EQ(0, Distance(p, Type<Int128*>(L::Partial(0, 0, 0).Pointer<2>(p)))); in TEST()
551 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0, 0).Pointer<0>(p)))); in TEST()
552 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0, 0).Pointer<1>(p)))); in TEST()
553 EXPECT_EQ(8, Distance(p, Type<Int128*>(L::Partial(1, 0, 0).Pointer<2>(p)))); in TEST()
554 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3, 1).Pointer<0>(p)))); in TEST()
556 Distance(p, Type<Int128*>(L::Partial(5, 3, 1).Pointer<2>(p)))); in TEST()
557 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3, 1).Pointer<1>(p)))); in TEST()
568 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<int32_t>(p)))); in TEST()
569 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<int32_t>(p)))); in TEST()
574 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial().Pointer<int8_t>(p)))); in TEST()
575 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0).Pointer<int8_t>(p)))); in TEST()
576 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0).Pointer<int32_t>(p)))); in TEST()
577 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1).Pointer<int8_t>(p)))); in TEST()
578 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1).Pointer<int32_t>(p)))); in TEST()
579 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5).Pointer<int8_t>(p)))); in TEST()
580 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5).Pointer<int32_t>(p)))); in TEST()
581 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0).Pointer<int8_t>(p)))); in TEST()
582 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0).Pointer<int32_t>(p)))); in TEST()
584 Distance(p, Type<Int128*>(L::Partial(0, 0).Pointer<Int128>(p)))); in TEST()
585 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0).Pointer<int8_t>(p)))); in TEST()
586 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0).Pointer<int32_t>(p)))); in TEST()
588 Distance(p, Type<Int128*>(L::Partial(1, 0).Pointer<Int128>(p)))); in TEST()
589 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3).Pointer<int8_t>(p)))); in TEST()
590 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3).Pointer<int32_t>(p)))); in TEST()
592 Distance(p, Type<Int128*>(L::Partial(5, 3).Pointer<Int128>(p)))); in TEST()
594 Distance(p, Type<int8_t*>(L::Partial(0, 0, 0).Pointer<int8_t>(p)))); in TEST()
596 Distance(p, Type<int32_t*>(L::Partial(0, 0, 0).Pointer<int32_t>(p)))); in TEST()
598 0, Distance(p, Type<Int128*>(L::Partial(0, 0, 0).Pointer<Int128>(p)))); in TEST()
600 Distance(p, Type<int8_t*>(L::Partial(1, 0, 0).Pointer<int8_t>(p)))); in TEST()
602 Distance(p, Type<int32_t*>(L::Partial(1, 0, 0).Pointer<int32_t>(p)))); in TEST()
604 8, Distance(p, Type<Int128*>(L::Partial(1, 0, 0).Pointer<Int128>(p)))); in TEST()
606 Distance(p, Type<int8_t*>(L::Partial(5, 3, 1).Pointer<int8_t>(p)))); in TEST()
608 24, Distance(p, Type<Int128*>(L::Partial(5, 3, 1).Pointer<Int128>(p)))); in TEST()
610 Distance(p, Type<int32_t*>(L::Partial(5, 3, 1).Pointer<int32_t>(p)))); in TEST()
621 const auto x = L::Partial(); in TEST()
626 const auto x = L::Partial(1); in TEST()
631 const auto x = L::Partial(1, 2); in TEST()
638 const auto x = L::Partial(1, 2, 3); in TEST()
657 const auto x = L::Partial(); in TEST()
662 const auto x = L::Partial(1); in TEST()
667 const auto x = L::Partial(1, 2); in TEST()
673 const auto x = L::Partial(1, 2, 3); in TEST()
690 EXPECT_EQ(0, L::Partial(0).Slice<0>(p).size()); in TEST()
691 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
696 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
697 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
702 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
703 EXPECT_EQ(3, L::Partial(3, 5).Slice<0>(p).size()); in TEST()
704 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
705 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<0>(p).size()); in TEST()
706 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<1>(p).size()); in TEST()
707 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<2>(p).size()); in TEST()
718 EXPECT_EQ(0, L::Partial(0).Slice<int32_t>(p).size()); in TEST()
719 EXPECT_EQ(3, L::Partial(3).Slice<int32_t>(p).size()); in TEST()
724 EXPECT_EQ(3, L::Partial(3).Slice<int8_t>(p).size()); in TEST()
725 EXPECT_EQ(3, L::Partial(3, 5).Slice<int8_t>(p).size()); in TEST()
726 EXPECT_EQ(5, L::Partial(3, 5).Slice<int32_t>(p).size()); in TEST()
727 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<int8_t>(p).size()); in TEST()
728 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<int32_t>(p).size()); in TEST()
729 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<Int128>(p).size()); in TEST()
740 EXPECT_EQ(0, L::Partial(0).Slice<0>(p).size()); in TEST()
741 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
746 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
747 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
752 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
753 EXPECT_EQ(3, L::Partial(3, 5).Slice<0>(p).size()); in TEST()
754 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
755 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<0>(p).size()); in TEST()
756 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<1>(p).size()); in TEST()
757 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<2>(p).size()); in TEST()
768 EXPECT_EQ(0, L::Partial(0).Slice<int32_t>(p).size()); in TEST()
769 EXPECT_EQ(3, L::Partial(3).Slice<int32_t>(p).size()); in TEST()
774 EXPECT_EQ(3, L::Partial(3).Slice<int8_t>(p).size()); in TEST()
775 EXPECT_EQ(3, L::Partial(3, 5).Slice<int8_t>(p).size()); in TEST()
776 EXPECT_EQ(5, L::Partial(3, 5).Slice<int32_t>(p).size()); in TEST()
777 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<int8_t>(p).size()); in TEST()
778 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<int32_t>(p).size()); in TEST()
779 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<Int128>(p).size()); in TEST()
792 Distance(p, Type<Span<const int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
795 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
802 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
806 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST()
810 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST()
820 Distance(p, Type<Span<const int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
823 Distance(p, Type<Span<const int8_t>>(L::Partial(1).Slice<0>(p)).data())); in TEST()
826 Distance(p, Type<Span<const int8_t>>(L::Partial(5).Slice<0>(p)).data())); in TEST()
829 p, Type<Span<const int8_t>>(L::Partial(0, 0).Slice<0>(p)).data())); in TEST()
833 Type<Span<const int32_t>>(L::Partial(0, 0).Slice<1>(p)).data())); in TEST()
836 p, Type<Span<const int8_t>>(L::Partial(1, 0).Slice<0>(p)).data())); in TEST()
840 Type<Span<const int32_t>>(L::Partial(1, 0).Slice<1>(p)).data())); in TEST()
843 p, Type<Span<const int8_t>>(L::Partial(5, 3).Slice<0>(p)).data())); in TEST()
847 Type<Span<const int32_t>>(L::Partial(5, 3).Slice<1>(p)).data())); in TEST()
851 p, Type<Span<const int8_t>>(L::Partial(0, 0, 0).Slice<0>(p)).data())); in TEST()
856 Type<Span<const int32_t>>(L::Partial(0, 0, 0).Slice<1>(p)).data())); in TEST()
861 Type<Span<const Int128>>(L::Partial(0, 0, 0).Slice<2>(p)).data())); in TEST()
865 p, Type<Span<const int8_t>>(L::Partial(1, 0, 0).Slice<0>(p)).data())); in TEST()
870 Type<Span<const int32_t>>(L::Partial(1, 0, 0).Slice<1>(p)).data())); in TEST()
875 Type<Span<const Int128>>(L::Partial(1, 0, 0).Slice<2>(p)).data())); in TEST()
879 p, Type<Span<const int8_t>>(L::Partial(5, 3, 1).Slice<0>(p)).data())); in TEST()
884 Type<Span<const Int128>>(L::Partial(5, 3, 1).Slice<2>(p)).data())); in TEST()
889 Type<Span<const int32_t>>(L::Partial(5, 3, 1).Slice<1>(p)).data())); in TEST()
907 p, Type<Span<const int32_t>>(L::Partial(0).Slice<int32_t>(p)).data())); in TEST()
911 p, Type<Span<const int32_t>>(L::Partial(3).Slice<int32_t>(p)).data())); in TEST()
919 p, Type<Span<const int8_t>>(L::Partial(0).Slice<int8_t>(p)).data())); in TEST()
922 p, Type<Span<const int8_t>>(L::Partial(1).Slice<int8_t>(p)).data())); in TEST()
925 p, Type<Span<const int8_t>>(L::Partial(5).Slice<int8_t>(p)).data())); in TEST()
929 p, Type<Span<const int8_t>>(L::Partial(0, 0).Slice<int8_t>(p)).data())); in TEST()
934 Type<Span<const int32_t>>(L::Partial(0, 0).Slice<int32_t>(p)).data())); in TEST()
938 p, Type<Span<const int8_t>>(L::Partial(1, 0).Slice<int8_t>(p)).data())); in TEST()
943 Type<Span<const int32_t>>(L::Partial(1, 0).Slice<int32_t>(p)).data())); in TEST()
947 p, Type<Span<const int8_t>>(L::Partial(5, 3).Slice<int8_t>(p)).data())); in TEST()
952 Type<Span<const int32_t>>(L::Partial(5, 3).Slice<int32_t>(p)).data())); in TEST()
957 Type<Span<const int8_t>>(L::Partial(0, 0, 0).Slice<int8_t>(p)).data())); in TEST()
960 Distance(p, Type<Span<const int32_t>>(L::Partial(0, 0, 0).Slice<int32_t>(p)) in TEST()
963 L::Partial(0, 0, 0).Slice<Int128>(p)) in TEST()
969 Type<Span<const int8_t>>(L::Partial(1, 0, 0).Slice<int8_t>(p)).data())); in TEST()
972 Distance(p, Type<Span<const int32_t>>(L::Partial(1, 0, 0).Slice<int32_t>(p)) in TEST()
975 L::Partial(1, 0, 0).Slice<Int128>(p)) in TEST()
981 Type<Span<const int8_t>>(L::Partial(5, 3, 1).Slice<int8_t>(p)).data())); in TEST()
983 L::Partial(5, 3, 1).Slice<Int128>(p)) in TEST()
987 Distance(p, Type<Span<const int32_t>>(L::Partial(5, 3, 1).Slice<int32_t>(p)) in TEST()
1007 Distance(p, Type<Span<int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
1009 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
1015 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
1017 0, Distance(p, Type<Span<int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST()
1020 Distance(p, Type<Span<int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST()
1027 Distance(p, Type<Span<int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
1029 Distance(p, Type<Span<int8_t>>(L::Partial(1).Slice<0>(p)).data())); in TEST()
1031 Distance(p, Type<Span<int8_t>>(L::Partial(5).Slice<0>(p)).data())); in TEST()
1033 0, Distance(p, Type<Span<int8_t>>(L::Partial(0, 0).Slice<0>(p)).data())); in TEST()
1035 0, Distance(p, Type<Span<int32_t>>(L::Partial(0, 0).Slice<1>(p)).data())); in TEST()
1037 0, Distance(p, Type<Span<int8_t>>(L::Partial(1, 0).Slice<0>(p)).data())); in TEST()
1039 4, Distance(p, Type<Span<int32_t>>(L::Partial(1, 0).Slice<1>(p)).data())); in TEST()
1041 0, Distance(p, Type<Span<int8_t>>(L::Partial(5, 3).Slice<0>(p)).data())); in TEST()
1043 8, Distance(p, Type<Span<int32_t>>(L::Partial(5, 3).Slice<1>(p)).data())); in TEST()
1046 Distance(p, Type<Span<int8_t>>(L::Partial(0, 0, 0).Slice<0>(p)).data())); in TEST()
1049 Distance(p, Type<Span<int32_t>>(L::Partial(0, 0, 0).Slice<1>(p)).data())); in TEST()
1052 p, Type<Span<Int128>>(L::Partial(0, 0, 0).Slice<2>(p)).data())); in TEST()
1055 Distance(p, Type<Span<int8_t>>(L::Partial(1, 0, 0).Slice<0>(p)).data())); in TEST()
1058 Distance(p, Type<Span<int32_t>>(L::Partial(1, 0, 0).Slice<1>(p)).data())); in TEST()
1061 p, Type<Span<Int128>>(L::Partial(1, 0, 0).Slice<2>(p)).data())); in TEST()
1064 Distance(p, Type<Span<int8_t>>(L::Partial(5, 3, 1).Slice<0>(p)).data())); in TEST()
1067 p, Type<Span<Int128>>(L::Partial(5, 3, 1).Slice<2>(p)).data())); in TEST()
1070 Distance(p, Type<Span<int32_t>>(L::Partial(5, 3, 1).Slice<1>(p)).data())); in TEST()
1084 Distance(p, Type<Span<int32_t>>(L::Partial(0).Slice<int32_t>(p)).data())); in TEST()
1087 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<int32_t>(p)).data())); in TEST()
1093 0, Distance(p, Type<Span<int8_t>>(L::Partial(0).Slice<int8_t>(p)).data())); in TEST()
1095 0, Distance(p, Type<Span<int8_t>>(L::Partial(1).Slice<int8_t>(p)).data())); in TEST()
1097 0, Distance(p, Type<Span<int8_t>>(L::Partial(5).Slice<int8_t>(p)).data())); in TEST()
1100 Distance(p, Type<Span<int8_t>>(L::Partial(0, 0).Slice<int8_t>(p)).data())); in TEST()
1103 p, Type<Span<int32_t>>(L::Partial(0, 0).Slice<int32_t>(p)).data())); in TEST()
1106 Distance(p, Type<Span<int8_t>>(L::Partial(1, 0).Slice<int8_t>(p)).data())); in TEST()
1109 p, Type<Span<int32_t>>(L::Partial(1, 0).Slice<int32_t>(p)).data())); in TEST()
1112 Distance(p, Type<Span<int8_t>>(L::Partial(5, 3).Slice<int8_t>(p)).data())); in TEST()
1115 p, Type<Span<int32_t>>(L::Partial(5, 3).Slice<int32_t>(p)).data())); in TEST()
1118 p, Type<Span<int8_t>>(L::Partial(0, 0, 0).Slice<int8_t>(p)).data())); in TEST()
1122 p, Type<Span<int32_t>>(L::Partial(0, 0, 0).Slice<int32_t>(p)).data())); in TEST()
1127 Type<Span<Int128>>(L::Partial(0, 0, 0).Slice<Int128>(p)).data())); in TEST()
1130 p, Type<Span<int8_t>>(L::Partial(1, 0, 0).Slice<int8_t>(p)).data())); in TEST()
1134 p, Type<Span<int32_t>>(L::Partial(1, 0, 0).Slice<int32_t>(p)).data())); in TEST()
1139 Type<Span<Int128>>(L::Partial(1, 0, 0).Slice<Int128>(p)).data())); in TEST()
1142 p, Type<Span<int8_t>>(L::Partial(5, 3, 1).Slice<int8_t>(p)).data())); in TEST()
1147 Type<Span<Int128>>(L::Partial(5, 3, 1).Slice<Int128>(p)).data())); in TEST()
1151 p, Type<Span<int32_t>>(L::Partial(5, 3, 1).Slice<int32_t>(p)).data())); in TEST()
1208 const auto x = L::Partial(); in TEST()
1212 const auto x = L::Partial(1); in TEST()
1217 const auto x = L::Partial(1, 2); in TEST()
1223 const auto x = L::Partial(1, 2, 3); in TEST()
1242 const auto x = L::Partial(); in TEST()
1246 const auto x = L::Partial(1); in TEST()
1251 const auto x = L::Partial(1, 2); in TEST()
1256 const auto x = L::Partial(1, 2, 3); in TEST()
1308 static_assert(x.Partial(1).template Offset<1>() == 2 * M, ""); in TEST()
1339 constexpr size_t n = L::Partial(1, 2, 3, 4).AllocSize(); in TEST()
1341 constexpr auto x = L::Partial(); in TEST()
1348 constexpr auto x = L::Partial(1); in TEST()
1355 constexpr auto x = L::Partial(1, 2); in TEST()
1362 constexpr auto x = L::Partial(1, 2, 3); in TEST()
1369 constexpr auto x = L::Partial(1, 2, 3, 4); in TEST()
1386 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(); in TEST()
1390 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1); in TEST()
1394 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2); in TEST()
1399 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2, 3); in TEST()
1407 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2, 3, 4); in TEST()
1540 return *L::Partial().Pointer<size_t>(p_.get()); in size()
1547 return L::Partial(1).Pointer<char>(p_.get()); in c_str()