| 1988 | |
| 1989 | template <TypeKind Kind> |
| 1990 | void serializeConstantVector( |
| 1991 | const BaseVector* vector, |
| 1992 | const folly::Range<const IndexRange*>& ranges, |
| 1993 | VectorStream* stream) { |
| 1994 | if (stream->isConstantStream()) { |
| 1995 | for (const auto& range : ranges) { |
| 1996 | stream->appendNonNull(range.size); |
| 1997 | } |
| 1998 | |
| 1999 | std::vector<IndexRange> newRanges; |
| 2000 | newRanges.push_back({0, 1}); |
| 2001 | serializeConstantVectorImpl<Kind>(vector, newRanges, stream->childAt(0)); |
| 2002 | } else { |
| 2003 | serializeConstantVectorImpl<Kind>(vector, ranges, stream); |
| 2004 | } |
| 2005 | } |
| 2006 | |
| 2007 | template <typename T> |
| 2008 | void serializeBiasVector( |
nothing calls this directly
no test coverage detected