• Home
  • Raw
  • Download

Lines Matching refs:Partial

92     SameType<int32_t, decltype(L::Partial())::ElementType<0>>();  in TEST()
93 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
99 SameType<int32_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
100 SameType<int32_t, decltype(L::Partial())::ElementType<1>>(); in TEST()
101 SameType<int32_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
102 SameType<int32_t, decltype(L::Partial(0))::ElementType<1>>(); in TEST()
109 SameType<int8_t, decltype(L::Partial())::ElementType<0>>(); in TEST()
110 SameType<int8_t, decltype(L::Partial(0))::ElementType<0>>(); in TEST()
111 SameType<int32_t, decltype(L::Partial(0))::ElementType<1>>(); in TEST()
112 SameType<int8_t, decltype(L::Partial(0, 0))::ElementType<0>>(); in TEST()
113 SameType<int32_t, decltype(L::Partial(0, 0))::ElementType<1>>(); in TEST()
114 SameType<Int128, decltype(L::Partial(0, 0))::ElementType<2>>(); in TEST()
115 SameType<int8_t, decltype(L::Partial(0, 0, 0))::ElementType<0>>(); in TEST()
116 SameType<int32_t, decltype(L::Partial(0, 0, 0))::ElementType<1>>(); in TEST()
117 SameType<Int128, decltype(L::Partial(0, 0, 0))::ElementType<2>>(); in TEST()
125 SameType<std::tuple<int32_t>, decltype(L::Partial())::ElementTypes>(); in TEST()
126 SameType<std::tuple<int32_t>, decltype(L::Partial(0))::ElementTypes>(); in TEST()
131 SameType<std::tuple<int32_t, int32_t>, decltype(L::Partial())::ElementTypes>(); in TEST()
132 SameType<std::tuple<int32_t, int32_t>, decltype(L::Partial(0))::ElementTypes>(); in TEST()
138 decltype(L::Partial())::ElementTypes>(); in TEST()
140 decltype(L::Partial(0))::ElementTypes>(); in TEST()
142 decltype(L::Partial(0, 0))::ElementTypes>(); in TEST()
144 decltype(L::Partial(0, 0, 0))::ElementTypes>(); in TEST()
151 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
152 EXPECT_EQ(0, L::Partial(3).Offset<0>()); in TEST()
157 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
158 EXPECT_EQ(0, L::Partial(3).Offset<0>()); in TEST()
159 EXPECT_EQ(12, L::Partial(3).Offset<1>()); in TEST()
160 EXPECT_EQ(0, L::Partial(3, 5).Offset<0>()); in TEST()
161 EXPECT_EQ(12, L::Partial(3, 5).Offset<1>()); in TEST()
167 EXPECT_EQ(0, L::Partial().Offset<0>()); in TEST()
168 EXPECT_EQ(0, L::Partial(0).Offset<0>()); in TEST()
169 EXPECT_EQ(0, L::Partial(0).Offset<1>()); in TEST()
170 EXPECT_EQ(0, L::Partial(1).Offset<0>()); in TEST()
171 EXPECT_EQ(4, L::Partial(1).Offset<1>()); in TEST()
172 EXPECT_EQ(0, L::Partial(5).Offset<0>()); in TEST()
173 EXPECT_EQ(8, L::Partial(5).Offset<1>()); in TEST()
174 EXPECT_EQ(0, L::Partial(0, 0).Offset<0>()); in TEST()
175 EXPECT_EQ(0, L::Partial(0, 0).Offset<1>()); in TEST()
176 EXPECT_EQ(0, L::Partial(0, 0).Offset<2>()); in TEST()
177 EXPECT_EQ(0, L::Partial(1, 0).Offset<0>()); in TEST()
178 EXPECT_EQ(4, L::Partial(1, 0).Offset<1>()); in TEST()
179 EXPECT_EQ(8, L::Partial(1, 0).Offset<2>()); in TEST()
180 EXPECT_EQ(0, L::Partial(5, 3).Offset<0>()); in TEST()
181 EXPECT_EQ(8, L::Partial(5, 3).Offset<1>()); in TEST()
182 EXPECT_EQ(24, L::Partial(5, 3).Offset<2>()); in TEST()
183 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<0>()); in TEST()
184 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<1>()); in TEST()
185 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<2>()); in TEST()
186 EXPECT_EQ(0, L::Partial(1, 0, 0).Offset<0>()); in TEST()
187 EXPECT_EQ(4, L::Partial(1, 0, 0).Offset<1>()); in TEST()
188 EXPECT_EQ(8, L::Partial(1, 0, 0).Offset<2>()); in TEST()
189 EXPECT_EQ(0, L::Partial(5, 3, 1).Offset<0>()); in TEST()
190 EXPECT_EQ(24, L::Partial(5, 3, 1).Offset<2>()); in TEST()
191 EXPECT_EQ(8, L::Partial(5, 3, 1).Offset<1>()); in TEST()
201 EXPECT_EQ(0, L::Partial().Offset<int32_t>()); in TEST()
202 EXPECT_EQ(0, L::Partial(3).Offset<int32_t>()); in TEST()
207 EXPECT_EQ(0, L::Partial().Offset<int8_t>()); in TEST()
208 EXPECT_EQ(0, L::Partial(0).Offset<int8_t>()); in TEST()
209 EXPECT_EQ(0, L::Partial(0).Offset<int32_t>()); in TEST()
210 EXPECT_EQ(0, L::Partial(1).Offset<int8_t>()); in TEST()
211 EXPECT_EQ(4, L::Partial(1).Offset<int32_t>()); in TEST()
212 EXPECT_EQ(0, L::Partial(5).Offset<int8_t>()); in TEST()
213 EXPECT_EQ(8, L::Partial(5).Offset<int32_t>()); in TEST()
214 EXPECT_EQ(0, L::Partial(0, 0).Offset<int8_t>()); in TEST()
215 EXPECT_EQ(0, L::Partial(0, 0).Offset<int32_t>()); in TEST()
216 EXPECT_EQ(0, L::Partial(0, 0).Offset<Int128>()); in TEST()
217 EXPECT_EQ(0, L::Partial(1, 0).Offset<int8_t>()); in TEST()
218 EXPECT_EQ(4, L::Partial(1, 0).Offset<int32_t>()); in TEST()
219 EXPECT_EQ(8, L::Partial(1, 0).Offset<Int128>()); in TEST()
220 EXPECT_EQ(0, L::Partial(5, 3).Offset<int8_t>()); in TEST()
221 EXPECT_EQ(8, L::Partial(5, 3).Offset<int32_t>()); in TEST()
222 EXPECT_EQ(24, L::Partial(5, 3).Offset<Int128>()); in TEST()
223 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<int8_t>()); in TEST()
224 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<int32_t>()); in TEST()
225 EXPECT_EQ(0, L::Partial(0, 0, 0).Offset<Int128>()); in TEST()
226 EXPECT_EQ(0, L::Partial(1, 0, 0).Offset<int8_t>()); in TEST()
227 EXPECT_EQ(4, L::Partial(1, 0, 0).Offset<int32_t>()); in TEST()
228 EXPECT_EQ(8, L::Partial(1, 0, 0).Offset<Int128>()); in TEST()
229 EXPECT_EQ(0, L::Partial(5, 3, 1).Offset<int8_t>()); in TEST()
230 EXPECT_EQ(24, L::Partial(5, 3, 1).Offset<Int128>()); in TEST()
231 EXPECT_EQ(8, L::Partial(5, 3, 1).Offset<int32_t>()); in TEST()
241 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
242 EXPECT_THAT(L::Partial(3).Offsets(), ElementsAre(0)); in TEST()
247 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
248 EXPECT_THAT(L::Partial(3).Offsets(), ElementsAre(0, 12)); in TEST()
249 EXPECT_THAT(L::Partial(3, 5).Offsets(), ElementsAre(0, 12)); in TEST()
254 EXPECT_THAT(L::Partial().Offsets(), ElementsAre(0)); in TEST()
255 EXPECT_THAT(L::Partial(1).Offsets(), ElementsAre(0, 4)); in TEST()
256 EXPECT_THAT(L::Partial(5).Offsets(), ElementsAre(0, 8)); in TEST()
257 EXPECT_THAT(L::Partial(0, 0).Offsets(), ElementsAre(0, 0, 0)); in TEST()
258 EXPECT_THAT(L::Partial(1, 0).Offsets(), ElementsAre(0, 4, 8)); in TEST()
259 EXPECT_THAT(L::Partial(5, 3).Offsets(), ElementsAre(0, 8, 24)); in TEST()
260 EXPECT_THAT(L::Partial(0, 0, 0).Offsets(), ElementsAre(0, 0, 0)); in TEST()
261 EXPECT_THAT(L::Partial(1, 0, 0).Offsets(), ElementsAre(0, 4, 8)); in TEST()
262 EXPECT_THAT(L::Partial(5, 3, 1).Offsets(), ElementsAre(0, 8, 24)); in TEST()
270 EXPECT_EQ(0, L::Partial(0).AllocSize()); in TEST()
271 EXPECT_EQ(12, L::Partial(3).AllocSize()); in TEST()
276 EXPECT_EQ(32, L::Partial(3, 5).AllocSize()); in TEST()
281 EXPECT_EQ(0, L::Partial(0, 0, 0).AllocSize()); in TEST()
282 EXPECT_EQ(8, L::Partial(1, 0, 0).AllocSize()); in TEST()
283 EXPECT_EQ(8, L::Partial(0, 1, 0).AllocSize()); in TEST()
284 EXPECT_EQ(16, L::Partial(0, 0, 1).AllocSize()); in TEST()
285 EXPECT_EQ(24, L::Partial(1, 1, 1).AllocSize()); in TEST()
286 EXPECT_EQ(136, L::Partial(3, 5, 7).AllocSize()); in TEST()
294 EXPECT_EQ(0, L::Partial(0).Size<0>()); in TEST()
295 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
300 EXPECT_EQ(0, L::Partial(0).Size<0>()); in TEST()
301 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
302 EXPECT_EQ(3, L::Partial(3, 5).Size<0>()); in TEST()
303 EXPECT_EQ(5, L::Partial(3, 5).Size<1>()); in TEST()
309 EXPECT_EQ(3, L::Partial(3).Size<0>()); in TEST()
310 EXPECT_EQ(3, L::Partial(3, 5).Size<0>()); in TEST()
311 EXPECT_EQ(5, L::Partial(3, 5).Size<1>()); in TEST()
312 EXPECT_EQ(3, L::Partial(3, 5, 7).Size<0>()); in TEST()
313 EXPECT_EQ(5, L::Partial(3, 5, 7).Size<1>()); in TEST()
314 EXPECT_EQ(7, L::Partial(3, 5, 7).Size<2>()); in TEST()
324 EXPECT_EQ(0, L::Partial(0).Size<int32_t>()); in TEST()
325 EXPECT_EQ(3, L::Partial(3).Size<int32_t>()); in TEST()
330 EXPECT_EQ(3, L::Partial(3).Size<int8_t>()); in TEST()
331 EXPECT_EQ(3, L::Partial(3, 5).Size<int8_t>()); in TEST()
332 EXPECT_EQ(5, L::Partial(3, 5).Size<int32_t>()); in TEST()
333 EXPECT_EQ(3, L::Partial(3, 5, 7).Size<int8_t>()); in TEST()
334 EXPECT_EQ(5, L::Partial(3, 5, 7).Size<int32_t>()); in TEST()
335 EXPECT_EQ(7, L::Partial(3, 5, 7).Size<Int128>()); in TEST()
345 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
346 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
351 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
352 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
353 EXPECT_THAT(L::Partial(3, 5).Sizes(), ElementsAre(3, 5)); in TEST()
358 EXPECT_THAT(L::Partial().Sizes(), ElementsAre()); in TEST()
359 EXPECT_THAT(L::Partial(3).Sizes(), ElementsAre(3)); in TEST()
360 EXPECT_THAT(L::Partial(3, 5).Sizes(), ElementsAre(3, 5)); in TEST()
361 EXPECT_THAT(L::Partial(3, 5, 7).Sizes(), ElementsAre(3, 5, 7)); in TEST()
370 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
371 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
376 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
377 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
378 EXPECT_EQ(12, Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
380 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
382 Distance(p, Type<const int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
388 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial().Pointer<0>(p)))); in TEST()
389 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(0).Pointer<0>(p)))); in TEST()
390 EXPECT_EQ(0, Distance(p, Type<const int32_t*>(L::Partial(0).Pointer<1>(p)))); in TEST()
391 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(1).Pointer<0>(p)))); in TEST()
392 EXPECT_EQ(4, Distance(p, Type<const int32_t*>(L::Partial(1).Pointer<1>(p)))); in TEST()
393 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial(5).Pointer<0>(p)))); in TEST()
394 EXPECT_EQ(8, Distance(p, Type<const int32_t*>(L::Partial(5).Pointer<1>(p)))); in TEST()
396 Distance(p, Type<const int8_t*>(L::Partial(0, 0).Pointer<0>(p)))); in TEST()
398 Distance(p, Type<const int32_t*>(L::Partial(0, 0).Pointer<1>(p)))); in TEST()
400 Distance(p, Type<const Int128*>(L::Partial(0, 0).Pointer<2>(p)))); in TEST()
402 Distance(p, Type<const int8_t*>(L::Partial(1, 0).Pointer<0>(p)))); in TEST()
404 Distance(p, Type<const int32_t*>(L::Partial(1, 0).Pointer<1>(p)))); in TEST()
406 Distance(p, Type<const Int128*>(L::Partial(1, 0).Pointer<2>(p)))); in TEST()
408 Distance(p, Type<const int8_t*>(L::Partial(5, 3).Pointer<0>(p)))); in TEST()
410 Distance(p, Type<const int32_t*>(L::Partial(5, 3).Pointer<1>(p)))); in TEST()
412 Distance(p, Type<const Int128*>(L::Partial(5, 3).Pointer<2>(p)))); in TEST()
414 0, Distance(p, Type<const int8_t*>(L::Partial(0, 0, 0).Pointer<0>(p)))); in TEST()
416 0, Distance(p, Type<const int32_t*>(L::Partial(0, 0, 0).Pointer<1>(p)))); in TEST()
418 0, Distance(p, Type<const Int128*>(L::Partial(0, 0, 0).Pointer<2>(p)))); in TEST()
420 0, Distance(p, Type<const int8_t*>(L::Partial(1, 0, 0).Pointer<0>(p)))); in TEST()
422 4, Distance(p, Type<const int32_t*>(L::Partial(1, 0, 0).Pointer<1>(p)))); in TEST()
424 8, Distance(p, Type<const Int128*>(L::Partial(1, 0, 0).Pointer<2>(p)))); in TEST()
426 0, Distance(p, Type<const int8_t*>(L::Partial(5, 3, 1).Pointer<0>(p)))); in TEST()
429 Distance(p, Type<const Int128*>(L::Partial(5, 3, 1).Pointer<2>(p)))); in TEST()
431 8, Distance(p, Type<const int32_t*>(L::Partial(5, 3, 1).Pointer<1>(p)))); in TEST()
443 Distance(p, Type<const int32_t*>(L::Partial().Pointer<int32_t>(p)))); in TEST()
445 Distance(p, Type<const int32_t*>(L::Partial(3).Pointer<int32_t>(p)))); in TEST()
450 EXPECT_EQ(0, Distance(p, Type<const int8_t*>(L::Partial().Pointer<int8_t>(p)))); in TEST()
452 Distance(p, Type<const int8_t*>(L::Partial(0).Pointer<int8_t>(p)))); in TEST()
454 Distance(p, Type<const int32_t*>(L::Partial(0).Pointer<int32_t>(p)))); in TEST()
456 Distance(p, Type<const int8_t*>(L::Partial(1).Pointer<int8_t>(p)))); in TEST()
458 Distance(p, Type<const int32_t*>(L::Partial(1).Pointer<int32_t>(p)))); in TEST()
460 Distance(p, Type<const int8_t*>(L::Partial(5).Pointer<int8_t>(p)))); in TEST()
462 Distance(p, Type<const int32_t*>(L::Partial(5).Pointer<int32_t>(p)))); in TEST()
464 0, Distance(p, Type<const int8_t*>(L::Partial(0, 0).Pointer<int8_t>(p)))); in TEST()
466 0, Distance(p, Type<const int32_t*>(L::Partial(0, 0).Pointer<int32_t>(p)))); in TEST()
469 Distance(p, Type<const Int128*>(L::Partial(0, 0).Pointer<Int128>(p)))); in TEST()
471 0, Distance(p, Type<const int8_t*>(L::Partial(1, 0).Pointer<int8_t>(p)))); in TEST()
473 4, Distance(p, Type<const int32_t*>(L::Partial(1, 0).Pointer<int32_t>(p)))); in TEST()
476 Distance(p, Type<const Int128*>(L::Partial(1, 0).Pointer<Int128>(p)))); in TEST()
478 0, Distance(p, Type<const int8_t*>(L::Partial(5, 3).Pointer<int8_t>(p)))); in TEST()
480 8, Distance(p, Type<const int32_t*>(L::Partial(5, 3).Pointer<int32_t>(p)))); in TEST()
483 Distance(p, Type<const Int128*>(L::Partial(5, 3).Pointer<Int128>(p)))); in TEST()
486 Distance(p, Type<const int8_t*>(L::Partial(0, 0, 0).Pointer<int8_t>(p)))); in TEST()
489 Distance(p, Type<const int32_t*>(L::Partial(0, 0, 0).Pointer<int32_t>(p)))); in TEST()
491 L::Partial(0, 0, 0).Pointer<Int128>(p)))); in TEST()
494 Distance(p, Type<const int8_t*>(L::Partial(1, 0, 0).Pointer<int8_t>(p)))); in TEST()
497 Distance(p, Type<const int32_t*>(L::Partial(1, 0, 0).Pointer<int32_t>(p)))); in TEST()
499 L::Partial(1, 0, 0).Pointer<Int128>(p)))); in TEST()
502 Distance(p, Type<const int8_t*>(L::Partial(5, 3, 1).Pointer<int8_t>(p)))); in TEST()
504 L::Partial(5, 3, 1).Pointer<Int128>(p)))); in TEST()
507 Distance(p, Type<const int32_t*>(L::Partial(5, 3, 1).Pointer<int32_t>(p)))); in TEST()
518 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
519 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
524 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<0>(p)))); in TEST()
525 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<0>(p)))); in TEST()
526 EXPECT_EQ(12, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<1>(p)))); in TEST()
527 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3, 5).Pointer<0>(p)))); in TEST()
528 EXPECT_EQ(12, Distance(p, Type<int32_t*>(L::Partial(3, 5).Pointer<1>(p)))); in TEST()
534 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial().Pointer<0>(p)))); in TEST()
535 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0).Pointer<0>(p)))); in TEST()
536 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0).Pointer<1>(p)))); in TEST()
537 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1).Pointer<0>(p)))); in TEST()
538 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1).Pointer<1>(p)))); in TEST()
539 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5).Pointer<0>(p)))); in TEST()
540 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5).Pointer<1>(p)))); in TEST()
541 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0).Pointer<0>(p)))); in TEST()
542 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0).Pointer<1>(p)))); in TEST()
543 EXPECT_EQ(0, Distance(p, Type<Int128*>(L::Partial(0, 0).Pointer<2>(p)))); in TEST()
544 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0).Pointer<0>(p)))); in TEST()
545 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0).Pointer<1>(p)))); in TEST()
546 EXPECT_EQ(8, Distance(p, Type<Int128*>(L::Partial(1, 0).Pointer<2>(p)))); in TEST()
547 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3).Pointer<0>(p)))); in TEST()
548 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3).Pointer<1>(p)))); in TEST()
549 EXPECT_EQ(24, Distance(p, Type<Int128*>(L::Partial(5, 3).Pointer<2>(p)))); in TEST()
550 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0, 0).Pointer<0>(p)))); in TEST()
551 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0, 0).Pointer<1>(p)))); in TEST()
552 EXPECT_EQ(0, Distance(p, Type<Int128*>(L::Partial(0, 0, 0).Pointer<2>(p)))); in TEST()
553 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0, 0).Pointer<0>(p)))); in TEST()
554 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0, 0).Pointer<1>(p)))); in TEST()
555 EXPECT_EQ(8, Distance(p, Type<Int128*>(L::Partial(1, 0, 0).Pointer<2>(p)))); in TEST()
556 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3, 1).Pointer<0>(p)))); in TEST()
558 Distance(p, Type<Int128*>(L::Partial(5, 3, 1).Pointer<2>(p)))); in TEST()
559 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3, 1).Pointer<1>(p)))); in TEST()
570 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial().Pointer<int32_t>(p)))); in TEST()
571 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(3).Pointer<int32_t>(p)))); in TEST()
576 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial().Pointer<int8_t>(p)))); in TEST()
577 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0).Pointer<int8_t>(p)))); in TEST()
578 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0).Pointer<int32_t>(p)))); in TEST()
579 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1).Pointer<int8_t>(p)))); in TEST()
580 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1).Pointer<int32_t>(p)))); in TEST()
581 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5).Pointer<int8_t>(p)))); in TEST()
582 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5).Pointer<int32_t>(p)))); in TEST()
583 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(0, 0).Pointer<int8_t>(p)))); in TEST()
584 EXPECT_EQ(0, Distance(p, Type<int32_t*>(L::Partial(0, 0).Pointer<int32_t>(p)))); in TEST()
586 Distance(p, Type<Int128*>(L::Partial(0, 0).Pointer<Int128>(p)))); in TEST()
587 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(1, 0).Pointer<int8_t>(p)))); in TEST()
588 EXPECT_EQ(4, Distance(p, Type<int32_t*>(L::Partial(1, 0).Pointer<int32_t>(p)))); in TEST()
590 Distance(p, Type<Int128*>(L::Partial(1, 0).Pointer<Int128>(p)))); in TEST()
591 EXPECT_EQ(0, Distance(p, Type<int8_t*>(L::Partial(5, 3).Pointer<int8_t>(p)))); in TEST()
592 EXPECT_EQ(8, Distance(p, Type<int32_t*>(L::Partial(5, 3).Pointer<int32_t>(p)))); in TEST()
594 Distance(p, Type<Int128*>(L::Partial(5, 3).Pointer<Int128>(p)))); in TEST()
596 Distance(p, Type<int8_t*>(L::Partial(0, 0, 0).Pointer<int8_t>(p)))); in TEST()
598 Distance(p, Type<int32_t*>(L::Partial(0, 0, 0).Pointer<int32_t>(p)))); in TEST()
600 0, Distance(p, Type<Int128*>(L::Partial(0, 0, 0).Pointer<Int128>(p)))); in TEST()
602 Distance(p, Type<int8_t*>(L::Partial(1, 0, 0).Pointer<int8_t>(p)))); in TEST()
604 Distance(p, Type<int32_t*>(L::Partial(1, 0, 0).Pointer<int32_t>(p)))); in TEST()
606 8, Distance(p, Type<Int128*>(L::Partial(1, 0, 0).Pointer<Int128>(p)))); in TEST()
608 Distance(p, Type<int8_t*>(L::Partial(5, 3, 1).Pointer<int8_t>(p)))); in TEST()
610 24, Distance(p, Type<Int128*>(L::Partial(5, 3, 1).Pointer<Int128>(p)))); in TEST()
612 Distance(p, Type<int32_t*>(L::Partial(5, 3, 1).Pointer<int32_t>(p)))); in TEST()
623 const auto x = L::Partial(); in TEST()
628 const auto x = L::Partial(1); in TEST()
633 const auto x = L::Partial(1, 2); in TEST()
640 const auto x = L::Partial(1, 2, 3); in TEST()
659 const auto x = L::Partial(); in TEST()
664 const auto x = L::Partial(1); in TEST()
669 const auto x = L::Partial(1, 2); in TEST()
675 const auto x = L::Partial(1, 2, 3); in TEST()
692 EXPECT_EQ(0, L::Partial(0).Slice<0>(p).size()); in TEST()
693 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
698 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
699 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
704 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
705 EXPECT_EQ(3, L::Partial(3, 5).Slice<0>(p).size()); in TEST()
706 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
707 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<0>(p).size()); in TEST()
708 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<1>(p).size()); in TEST()
709 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<2>(p).size()); in TEST()
720 EXPECT_EQ(0, L::Partial(0).Slice<int32_t>(p).size()); in TEST()
721 EXPECT_EQ(3, L::Partial(3).Slice<int32_t>(p).size()); in TEST()
726 EXPECT_EQ(3, L::Partial(3).Slice<int8_t>(p).size()); in TEST()
727 EXPECT_EQ(3, L::Partial(3, 5).Slice<int8_t>(p).size()); in TEST()
728 EXPECT_EQ(5, L::Partial(3, 5).Slice<int32_t>(p).size()); in TEST()
729 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<int8_t>(p).size()); in TEST()
730 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<int32_t>(p).size()); in TEST()
731 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<Int128>(p).size()); in TEST()
742 EXPECT_EQ(0, L::Partial(0).Slice<0>(p).size()); in TEST()
743 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
748 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
749 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
754 EXPECT_EQ(3, L::Partial(3).Slice<0>(p).size()); in TEST()
755 EXPECT_EQ(3, L::Partial(3, 5).Slice<0>(p).size()); in TEST()
756 EXPECT_EQ(5, L::Partial(3, 5).Slice<1>(p).size()); in TEST()
757 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<0>(p).size()); in TEST()
758 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<1>(p).size()); in TEST()
759 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<2>(p).size()); in TEST()
770 EXPECT_EQ(0, L::Partial(0).Slice<int32_t>(p).size()); in TEST()
771 EXPECT_EQ(3, L::Partial(3).Slice<int32_t>(p).size()); in TEST()
776 EXPECT_EQ(3, L::Partial(3).Slice<int8_t>(p).size()); in TEST()
777 EXPECT_EQ(3, L::Partial(3, 5).Slice<int8_t>(p).size()); in TEST()
778 EXPECT_EQ(5, L::Partial(3, 5).Slice<int32_t>(p).size()); in TEST()
779 EXPECT_EQ(3, L::Partial(3, 5, 7).Slice<int8_t>(p).size()); in TEST()
780 EXPECT_EQ(5, L::Partial(3, 5, 7).Slice<int32_t>(p).size()); in TEST()
781 EXPECT_EQ(7, L::Partial(3, 5, 7).Slice<Int128>(p).size()); in TEST()
794 Distance(p, Type<Span<const int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
797 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
804 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
808 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST()
812 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST()
822 Distance(p, Type<Span<const int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
825 Distance(p, Type<Span<const int8_t>>(L::Partial(1).Slice<0>(p)).data())); in TEST()
828 Distance(p, Type<Span<const int8_t>>(L::Partial(5).Slice<0>(p)).data())); in TEST()
831 p, Type<Span<const int8_t>>(L::Partial(0, 0).Slice<0>(p)).data())); in TEST()
835 Type<Span<const int32_t>>(L::Partial(0, 0).Slice<1>(p)).data())); in TEST()
838 p, Type<Span<const int8_t>>(L::Partial(1, 0).Slice<0>(p)).data())); in TEST()
842 Type<Span<const int32_t>>(L::Partial(1, 0).Slice<1>(p)).data())); in TEST()
845 p, Type<Span<const int8_t>>(L::Partial(5, 3).Slice<0>(p)).data())); in TEST()
849 Type<Span<const int32_t>>(L::Partial(5, 3).Slice<1>(p)).data())); in TEST()
853 p, Type<Span<const int8_t>>(L::Partial(0, 0, 0).Slice<0>(p)).data())); in TEST()
858 Type<Span<const int32_t>>(L::Partial(0, 0, 0).Slice<1>(p)).data())); in TEST()
863 Type<Span<const Int128>>(L::Partial(0, 0, 0).Slice<2>(p)).data())); in TEST()
867 p, Type<Span<const int8_t>>(L::Partial(1, 0, 0).Slice<0>(p)).data())); in TEST()
872 Type<Span<const int32_t>>(L::Partial(1, 0, 0).Slice<1>(p)).data())); in TEST()
877 Type<Span<const Int128>>(L::Partial(1, 0, 0).Slice<2>(p)).data())); in TEST()
881 p, Type<Span<const int8_t>>(L::Partial(5, 3, 1).Slice<0>(p)).data())); in TEST()
886 Type<Span<const Int128>>(L::Partial(5, 3, 1).Slice<2>(p)).data())); in TEST()
891 Type<Span<const int32_t>>(L::Partial(5, 3, 1).Slice<1>(p)).data())); in TEST()
909 p, Type<Span<const int32_t>>(L::Partial(0).Slice<int32_t>(p)).data())); in TEST()
913 p, Type<Span<const int32_t>>(L::Partial(3).Slice<int32_t>(p)).data())); in TEST()
921 p, Type<Span<const int8_t>>(L::Partial(0).Slice<int8_t>(p)).data())); in TEST()
924 p, Type<Span<const int8_t>>(L::Partial(1).Slice<int8_t>(p)).data())); in TEST()
927 p, Type<Span<const int8_t>>(L::Partial(5).Slice<int8_t>(p)).data())); in TEST()
931 p, Type<Span<const int8_t>>(L::Partial(0, 0).Slice<int8_t>(p)).data())); in TEST()
936 Type<Span<const int32_t>>(L::Partial(0, 0).Slice<int32_t>(p)).data())); in TEST()
940 p, Type<Span<const int8_t>>(L::Partial(1, 0).Slice<int8_t>(p)).data())); in TEST()
945 Type<Span<const int32_t>>(L::Partial(1, 0).Slice<int32_t>(p)).data())); in TEST()
949 p, Type<Span<const int8_t>>(L::Partial(5, 3).Slice<int8_t>(p)).data())); in TEST()
954 Type<Span<const int32_t>>(L::Partial(5, 3).Slice<int32_t>(p)).data())); in TEST()
959 Type<Span<const int8_t>>(L::Partial(0, 0, 0).Slice<int8_t>(p)).data())); in TEST()
962 Distance(p, Type<Span<const int32_t>>(L::Partial(0, 0, 0).Slice<int32_t>(p)) in TEST()
965 L::Partial(0, 0, 0).Slice<Int128>(p)) in TEST()
971 Type<Span<const int8_t>>(L::Partial(1, 0, 0).Slice<int8_t>(p)).data())); in TEST()
974 Distance(p, Type<Span<const int32_t>>(L::Partial(1, 0, 0).Slice<int32_t>(p)) in TEST()
977 L::Partial(1, 0, 0).Slice<Int128>(p)) in TEST()
983 Type<Span<const int8_t>>(L::Partial(5, 3, 1).Slice<int8_t>(p)).data())); in TEST()
985 L::Partial(5, 3, 1).Slice<Int128>(p)) in TEST()
989 Distance(p, Type<Span<const int32_t>>(L::Partial(5, 3, 1).Slice<int32_t>(p)) in TEST()
1009 Distance(p, Type<Span<int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
1011 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
1017 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST()
1019 0, Distance(p, Type<Span<int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST()
1022 Distance(p, Type<Span<int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST()
1029 Distance(p, Type<Span<int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST()
1031 Distance(p, Type<Span<int8_t>>(L::Partial(1).Slice<0>(p)).data())); in TEST()
1033 Distance(p, Type<Span<int8_t>>(L::Partial(5).Slice<0>(p)).data())); in TEST()
1035 0, Distance(p, Type<Span<int8_t>>(L::Partial(0, 0).Slice<0>(p)).data())); in TEST()
1037 0, Distance(p, Type<Span<int32_t>>(L::Partial(0, 0).Slice<1>(p)).data())); in TEST()
1039 0, Distance(p, Type<Span<int8_t>>(L::Partial(1, 0).Slice<0>(p)).data())); in TEST()
1041 4, Distance(p, Type<Span<int32_t>>(L::Partial(1, 0).Slice<1>(p)).data())); in TEST()
1043 0, Distance(p, Type<Span<int8_t>>(L::Partial(5, 3).Slice<0>(p)).data())); in TEST()
1045 8, Distance(p, Type<Span<int32_t>>(L::Partial(5, 3).Slice<1>(p)).data())); in TEST()
1048 Distance(p, Type<Span<int8_t>>(L::Partial(0, 0, 0).Slice<0>(p)).data())); in TEST()
1051 Distance(p, Type<Span<int32_t>>(L::Partial(0, 0, 0).Slice<1>(p)).data())); in TEST()
1054 p, Type<Span<Int128>>(L::Partial(0, 0, 0).Slice<2>(p)).data())); in TEST()
1057 Distance(p, Type<Span<int8_t>>(L::Partial(1, 0, 0).Slice<0>(p)).data())); in TEST()
1060 Distance(p, Type<Span<int32_t>>(L::Partial(1, 0, 0).Slice<1>(p)).data())); in TEST()
1063 p, Type<Span<Int128>>(L::Partial(1, 0, 0).Slice<2>(p)).data())); in TEST()
1066 Distance(p, Type<Span<int8_t>>(L::Partial(5, 3, 1).Slice<0>(p)).data())); in TEST()
1069 p, Type<Span<Int128>>(L::Partial(5, 3, 1).Slice<2>(p)).data())); in TEST()
1072 Distance(p, Type<Span<int32_t>>(L::Partial(5, 3, 1).Slice<1>(p)).data())); in TEST()
1086 Distance(p, Type<Span<int32_t>>(L::Partial(0).Slice<int32_t>(p)).data())); in TEST()
1089 Distance(p, Type<Span<int32_t>>(L::Partial(3).Slice<int32_t>(p)).data())); in TEST()
1095 0, Distance(p, Type<Span<int8_t>>(L::Partial(0).Slice<int8_t>(p)).data())); in TEST()
1097 0, Distance(p, Type<Span<int8_t>>(L::Partial(1).Slice<int8_t>(p)).data())); in TEST()
1099 0, Distance(p, Type<Span<int8_t>>(L::Partial(5).Slice<int8_t>(p)).data())); in TEST()
1102 Distance(p, Type<Span<int8_t>>(L::Partial(0, 0).Slice<int8_t>(p)).data())); in TEST()
1105 p, Type<Span<int32_t>>(L::Partial(0, 0).Slice<int32_t>(p)).data())); in TEST()
1108 Distance(p, Type<Span<int8_t>>(L::Partial(1, 0).Slice<int8_t>(p)).data())); in TEST()
1111 p, Type<Span<int32_t>>(L::Partial(1, 0).Slice<int32_t>(p)).data())); in TEST()
1114 Distance(p, Type<Span<int8_t>>(L::Partial(5, 3).Slice<int8_t>(p)).data())); in TEST()
1117 p, Type<Span<int32_t>>(L::Partial(5, 3).Slice<int32_t>(p)).data())); in TEST()
1120 p, Type<Span<int8_t>>(L::Partial(0, 0, 0).Slice<int8_t>(p)).data())); in TEST()
1124 p, Type<Span<int32_t>>(L::Partial(0, 0, 0).Slice<int32_t>(p)).data())); in TEST()
1129 Type<Span<Int128>>(L::Partial(0, 0, 0).Slice<Int128>(p)).data())); in TEST()
1132 p, Type<Span<int8_t>>(L::Partial(1, 0, 0).Slice<int8_t>(p)).data())); in TEST()
1136 p, Type<Span<int32_t>>(L::Partial(1, 0, 0).Slice<int32_t>(p)).data())); in TEST()
1141 Type<Span<Int128>>(L::Partial(1, 0, 0).Slice<Int128>(p)).data())); in TEST()
1144 p, Type<Span<int8_t>>(L::Partial(5, 3, 1).Slice<int8_t>(p)).data())); in TEST()
1149 Type<Span<Int128>>(L::Partial(5, 3, 1).Slice<Int128>(p)).data())); in TEST()
1153 p, Type<Span<int32_t>>(L::Partial(5, 3, 1).Slice<int32_t>(p)).data())); in TEST()
1210 const auto x = L::Partial(); in TEST()
1214 const auto x = L::Partial(1); in TEST()
1219 const auto x = L::Partial(1, 2); in TEST()
1225 const auto x = L::Partial(1, 2, 3); in TEST()
1244 const auto x = L::Partial(); in TEST()
1248 const auto x = L::Partial(1); in TEST()
1253 const auto x = L::Partial(1, 2); in TEST()
1258 const auto x = L::Partial(1, 2, 3); in TEST()
1310 static_assert(x.Partial(1).template Offset<1>() == 2 * M, ""); in TEST()
1341 constexpr size_t n = L::Partial(1, 2, 3, 4).AllocSize(); in TEST()
1343 constexpr auto x = L::Partial(); in TEST()
1350 constexpr auto x = L::Partial(1); in TEST()
1357 constexpr auto x = L::Partial(1, 2); in TEST()
1364 constexpr auto x = L::Partial(1, 2, 3); in TEST()
1371 constexpr auto x = L::Partial(1, 2, 3, 4); in TEST()
1388 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(); in TEST()
1392 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1); in TEST()
1396 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2); in TEST()
1401 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2, 3); in TEST()
1409 constexpr auto x = Layout<int8_t, int32_t, int8_t, Int128>::Partial(1, 2, 3, 4); in TEST()
1542 return *L::Partial().Pointer<size_t>(p_.get()); in size()
1549 return L::Partial(1).Pointer<char>(p_.get()); in c_str()