in internal/utils/transpose_ints_def.go [71:227]
func TransposeInts(src, dest interface{}, mapping []int32) error {
switch s := src.(type) {
case []int8:
switch d := dest.(type) {
case []int8:
TransposeInt8Int8(s, d, mapping)
case []int16:
TransposeInt8Int16(s, d, mapping)
case []int32:
TransposeInt8Int32(s, d, mapping)
case []int64:
TransposeInt8Int64(s, d, mapping)
case []uint8:
TransposeInt8Uint8(s, d, mapping)
case []uint16:
TransposeInt8Uint16(s, d, mapping)
case []uint32:
TransposeInt8Uint32(s, d, mapping)
case []uint64:
TransposeInt8Uint64(s, d, mapping)
}
case []int16:
switch d := dest.(type) {
case []int8:
TransposeInt16Int8(s, d, mapping)
case []int16:
TransposeInt16Int16(s, d, mapping)
case []int32:
TransposeInt16Int32(s, d, mapping)
case []int64:
TransposeInt16Int64(s, d, mapping)
case []uint8:
TransposeInt16Uint8(s, d, mapping)
case []uint16:
TransposeInt16Uint16(s, d, mapping)
case []uint32:
TransposeInt16Uint32(s, d, mapping)
case []uint64:
TransposeInt16Uint64(s, d, mapping)
}
case []int32:
switch d := dest.(type) {
case []int8:
TransposeInt32Int8(s, d, mapping)
case []int16:
TransposeInt32Int16(s, d, mapping)
case []int32:
TransposeInt32Int32(s, d, mapping)
case []int64:
TransposeInt32Int64(s, d, mapping)
case []uint8:
TransposeInt32Uint8(s, d, mapping)
case []uint16:
TransposeInt32Uint16(s, d, mapping)
case []uint32:
TransposeInt32Uint32(s, d, mapping)
case []uint64:
TransposeInt32Uint64(s, d, mapping)
}
case []int64:
switch d := dest.(type) {
case []int8:
TransposeInt64Int8(s, d, mapping)
case []int16:
TransposeInt64Int16(s, d, mapping)
case []int32:
TransposeInt64Int32(s, d, mapping)
case []int64:
TransposeInt64Int64(s, d, mapping)
case []uint8:
TransposeInt64Uint8(s, d, mapping)
case []uint16:
TransposeInt64Uint16(s, d, mapping)
case []uint32:
TransposeInt64Uint32(s, d, mapping)
case []uint64:
TransposeInt64Uint64(s, d, mapping)
}
case []uint8:
switch d := dest.(type) {
case []int8:
TransposeUint8Int8(s, d, mapping)
case []int16:
TransposeUint8Int16(s, d, mapping)
case []int32:
TransposeUint8Int32(s, d, mapping)
case []int64:
TransposeUint8Int64(s, d, mapping)
case []uint8:
TransposeUint8Uint8(s, d, mapping)
case []uint16:
TransposeUint8Uint16(s, d, mapping)
case []uint32:
TransposeUint8Uint32(s, d, mapping)
case []uint64:
TransposeUint8Uint64(s, d, mapping)
}
case []uint16:
switch d := dest.(type) {
case []int8:
TransposeUint16Int8(s, d, mapping)
case []int16:
TransposeUint16Int16(s, d, mapping)
case []int32:
TransposeUint16Int32(s, d, mapping)
case []int64:
TransposeUint16Int64(s, d, mapping)
case []uint8:
TransposeUint16Uint8(s, d, mapping)
case []uint16:
TransposeUint16Uint16(s, d, mapping)
case []uint32:
TransposeUint16Uint32(s, d, mapping)
case []uint64:
TransposeUint16Uint64(s, d, mapping)
}
case []uint32:
switch d := dest.(type) {
case []int8:
TransposeUint32Int8(s, d, mapping)
case []int16:
TransposeUint32Int16(s, d, mapping)
case []int32:
TransposeUint32Int32(s, d, mapping)
case []int64:
TransposeUint32Int64(s, d, mapping)
case []uint8:
TransposeUint32Uint8(s, d, mapping)
case []uint16:
TransposeUint32Uint16(s, d, mapping)
case []uint32:
TransposeUint32Uint32(s, d, mapping)
case []uint64:
TransposeUint32Uint64(s, d, mapping)
}
case []uint64:
switch d := dest.(type) {
case []int8:
TransposeUint64Int8(s, d, mapping)
case []int16:
TransposeUint64Int16(s, d, mapping)
case []int32:
TransposeUint64Int32(s, d, mapping)
case []int64:
TransposeUint64Int64(s, d, mapping)
case []uint8:
TransposeUint64Uint8(s, d, mapping)
case []uint16:
TransposeUint64Uint16(s, d, mapping)
case []uint32:
TransposeUint64Uint32(s, d, mapping)
case []uint64:
TransposeUint64Uint64(s, d, mapping)
}
}
return nil
}