Searched refs:spBytes (Results 1 – 2 of 2) sorted by relevance
33 auto spBytes = std::as_writeable_bytes(sp); in testRuntimeSpan() local34 using SB = decltype(spBytes); in testRuntimeSpan()38 assert(spBytes.extent == std::dynamic_extent); in testRuntimeSpan()40 …assert(spBytes.extent == static_cast<std::ptrdiff_t>(sizeof(typename Span::element_type)) * sp.ext… in testRuntimeSpan()42 assert(static_cast<void*>(spBytes.data()) == static_cast<void*>(sp.data())); in testRuntimeSpan()43 assert(spBytes.size() == sp.size_bytes()); in testRuntimeSpan()
33 auto spBytes = std::as_bytes(sp); in testRuntimeSpan() local34 using SB = decltype(spBytes); in testRuntimeSpan()38 assert(spBytes.extent == std::dynamic_extent); in testRuntimeSpan()40 …assert(spBytes.extent == static_cast<std::ptrdiff_t>(sizeof(typename Span::element_type)) * sp.ext… in testRuntimeSpan()42 assert((void *) spBytes.data() == (void *) sp.data()); in testRuntimeSpan()43 assert(spBytes.size() == sp.size_bytes()); in testRuntimeSpan()