(values unsafe.Pointer, nulls unsafe.Pointer, dataType C.enum_DataType)
| 283 | } |
| 284 | |
| 285 | func makeScratchSpaceOutput(values unsafe.Pointer, nulls unsafe.Pointer, dataType C.enum_DataType) C.OutputVector { |
| 286 | var scratchSpaceVector C.ScratchSpaceVector |
| 287 | scratchSpaceVector.Values = (*C.uint8_t)(values) |
| 288 | scratchSpaceVector.NullsOffset = (C.uint32_t)(utils.MemDist(nulls, values)) |
| 289 | scratchSpaceVector.DataType = dataType |
| 290 | |
| 291 | var vector C.OutputVector |
| 292 | *(*C.ScratchSpaceVector)(unsafe.Pointer(&vector.Vector)) = scratchSpaceVector |
| 293 | vector.Type = C.ScratchSpaceOutput |
| 294 | |
| 295 | return vector |
| 296 | } |
| 297 | |
| 298 | func makeDimensionVector(valueVector, hashVector, indexVector unsafe.Pointer, numDims common.DimCountsPerDimWidth, vectorCapacity int) C.DimensionVector { |
| 299 | var dimensionVector C.DimensionVector |
no test coverage detected