├── examples ├── sort │ ├── go.mod │ ├── rgo.json │ └── NAMESPACE ├── ioutil │ ├── go.mod │ ├── NAMESPACE │ └── rgo.json ├── .gitignore ├── floats │ ├── go.mod │ ├── NAMESPACE │ └── rgo.json ├── cca │ ├── NAMESPACE │ ├── go.mod │ └── rgo.json └── wordcount │ ├── go.mod │ ├── rgo.json │ └── go.sum ├── internal ├── rgo │ └── testdata │ │ ├── mixed_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── bool_in.go │ │ ├── bool_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── byte_in.go │ │ ├── byte_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── int16_in.go │ │ ├── int32_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── int32_in.go │ │ ├── int8_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── int8_in.go │ │ ├── int8_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── int_in.go │ │ ├── int_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── rune_in.go │ │ ├── rune_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── uint8_in.go │ │ ├── uint_in_0 │ │ ├── go.mod │ │ ├── rgo.json │ │ └── uint_in.go │ │ ├── uint_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── map_of_slices_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── slice_of_slices_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_bool_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_bool_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_byte_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_byte_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int16_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int32_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int8_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int8_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_rune_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_rune_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint8_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_bool_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_byte_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int8_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_rune_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float32_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float64_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float64_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int16_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_string_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_string_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint16_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint16_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint32_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint32_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint8_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── bool_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── byte_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_array_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_slice_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_array_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_slice_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int8_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── rune_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_bool_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_byte_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int16_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int16_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int32_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int32_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int8_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_rune_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_string_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint16_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint32_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint8_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint8_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex128_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex64_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex64_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float32_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── float64_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int16_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── int32_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_complex64_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float32_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float32_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float64_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float64_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_string_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint16_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint32_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_bool_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_byte_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex128_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int16_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_int8_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_rune_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_string_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint16_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint8_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_uint_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint16_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint32_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── uint8_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex64_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_bool_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_byte_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_complex128_map_in_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_complex128_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_complex64_map_out_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int8_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_rune_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float32_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_float64_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_array_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── complex128_slice_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float32_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_float64_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int16_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_int32_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_string_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint16_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint32_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_uint8_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex128_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── struct_complex64_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ ├── string_complex64_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json │ │ └── string_complex128_map_out_named_0 │ │ ├── go.mod │ │ └── rgo.json ├── codegen │ └── testdata │ │ ├── unpackSEXP_types_Basic_bool.golden │ │ ├── unpackSEXP_types_Basic_byte.golden │ │ ├── packSEXP_types_Basic_byte.golden │ │ ├── unpackSEXP_types_Basic_rune.golden │ │ ├── unpackSEXP_types_Basic_uint8.golden │ │ ├── packSEXP_types_Basic_int32.golden │ │ ├── packSEXP_types_Basic_rune.golden │ │ ├── packSEXP_types_Basic_uint8.golden │ │ ├── unpackSEXP_types_Basic_int32.golden │ │ ├── unpackSEXP_types_Basic_string.golden │ │ ├── packSEXP_types_Basic_float64.golden │ │ ├── unpackSEXP_types_Basic_float64.golden │ │ ├── packSEXP_types_Array__10_bool.golden │ │ ├── packSEXP_types_Array__10_byte.golden │ │ ├── packSEXP_types_Array__10_int32.golden │ │ ├── packSEXP_types_Array__10_rune.golden │ │ ├── packSEXP_types_Array__10_uint8.golden │ │ ├── packSEXP_types_Slice___bool-named.golden │ │ ├── packSEXP_types_Slice___byte-named.golden │ │ ├── packSEXP_types_Slice___rune-named.golden │ │ ├── packSEXP_types_Array__10_bool-named.golden │ │ ├── packSEXP_types_Array__10_byte-named.golden │ │ ├── packSEXP_types_Array__10_int32-named.golden │ │ ├── packSEXP_types_Array__10_rune-named.golden │ │ ├── packSEXP_types_Array__10_string.golden │ │ ├── packSEXP_types_Array__10_uint8-named.golden │ │ ├── packSEXP_types_Basic_bool-named.golden │ │ ├── packSEXP_types_Basic_byte-named.golden │ │ ├── packSEXP_types_Basic_int32-named.golden │ │ ├── packSEXP_types_Basic_rune-named.golden │ │ ├── packSEXP_types_Basic_uint8-named.golden │ │ ├── packSEXP_types_Pointer__bool-named.golden │ │ ├── packSEXP_types_Pointer__byte-named.golden │ │ ├── packSEXP_types_Pointer__int32-named.golden │ │ ├── packSEXP_types_Pointer__rune-named.golden │ │ ├── packSEXP_types_Pointer__string-named.golden │ │ ├── packSEXP_types_Pointer__uint8-named.golden │ │ ├── packSEXP_types_Slice___float64-named.golden │ │ ├── packSEXP_types_Slice___int32-named.golden │ │ ├── packSEXP_types_Slice___string-named.golden │ │ ├── packSEXP_types_Slice___uint8-named.golden │ │ ├── unpackSEXP_types_Slice___bool-named.golden │ │ ├── unpackSEXP_types_Slice___byte-named.golden │ │ ├── unpackSEXP_types_Slice___rune-named.golden │ │ ├── packSEXP_types_Array__10_float64-named.golden │ │ ├── packSEXP_types_Array__10_float64.golden │ │ ├── packSEXP_types_Array__10_string-named.golden │ │ ├── packSEXP_types_Basic_float64-named.golden │ │ ├── packSEXP_types_Basic_string-named.golden │ │ ├── packSEXP_types_Pointer__float64-named.golden │ │ ├── unpackSEXP_types_Array__10_bool-named.golden │ │ ├── unpackSEXP_types_Array__10_byte-named.golden │ │ ├── unpackSEXP_types_Array__10_rune-named.golden │ │ ├── unpackSEXP_types_Basic_bool-named.golden │ │ ├── unpackSEXP_types_Basic_byte-named.golden │ │ ├── unpackSEXP_types_Basic_int32-named.golden │ │ ├── unpackSEXP_types_Basic_rune-named.golden │ │ ├── unpackSEXP_types_Basic_uint8-named.golden │ │ ├── unpackSEXP_types_Pointer__bool-named.golden │ │ ├── unpackSEXP_types_Pointer__byte-named.golden │ │ ├── unpackSEXP_types_Pointer__int32-named.golden │ │ ├── unpackSEXP_types_Pointer__rune-named.golden │ │ ├── unpackSEXP_types_Pointer__uint8-named.golden │ │ ├── unpackSEXP_types_Slice___int32-named.golden │ │ ├── unpackSEXP_types_Slice___string-named.golden │ │ ├── unpackSEXP_types_Slice___uint8-named.golden │ │ ├── packSEXP_types_Array__10_complex128-named.golden │ │ ├── packSEXP_types_Map_map_string_bool-named.golden │ │ ├── packSEXP_types_Map_map_string_byte-named.golden │ │ ├── packSEXP_types_Map_map_string_int32-named.golden │ │ ├── packSEXP_types_Map_map_string_rune-named.golden │ │ ├── packSEXP_types_Map_map_string_uint8-named.golden │ │ ├── packSEXP_types_Pointer__complex128-named.golden │ │ ├── packSEXP_types_Slice___complex128-named.golden │ │ ├── unpackSEXP_types_Array__10_float64-named.golden │ │ ├── unpackSEXP_types_Array__10_int32-named.golden │ │ ├── unpackSEXP_types_Array__10_string-named.golden │ │ ├── unpackSEXP_types_Array__10_uint8-named.golden │ │ ├── unpackSEXP_types_Basic_float64-named.golden │ │ ├── unpackSEXP_types_Basic_string-named.golden │ │ ├── unpackSEXP_types_Pointer__float64-named.golden │ │ ├── unpackSEXP_types_Pointer__string-named.golden │ │ ├── unpackSEXP_types_Slice___float64-named.golden │ │ ├── packSEXP_types_Array__10_complex128.golden │ │ ├── packSEXP_types_Basic_bool.golden │ │ ├── packSEXP_types_Basic_complex128-named.golden │ │ ├── packSEXP_types_Map_map_string_float64-named.golden │ │ ├── packSEXP_types_Map_map_string_string-named.golden │ │ ├── unpackSEXP_types_Basic_complex128-named.golden │ │ ├── unpackSEXP_types_Map_map_string_bool-named.golden │ │ ├── unpackSEXP_types_Map_map_string_byte-named.golden │ │ ├── unpackSEXP_types_Map_map_string_rune-named.golden │ │ ├── unpackSEXP_types_Pointer__complex128-named.golden │ │ ├── unpackSEXP_types_Slice___complex128-named.golden │ │ ├── packSEXP_types_Map_map_string_complex128-named.golden │ │ ├── unpackSEXP_types_Array__10_complex128-named.golden │ │ ├── unpackSEXP_types_Map_map_string_float64-named.golden │ │ ├── unpackSEXP_types_Map_map_string_int32-named.golden │ │ ├── unpackSEXP_types_Map_map_string_string-named.golden │ │ ├── unpackSEXP_types_Map_map_string_uint8-named.golden │ │ ├── unpackSEXP_types_Basic_complex128.golden │ │ ├── unpackSEXP_types_Map_map_string_complex128-named.golden │ │ ├── packSEXP_types_Pointer__bool.golden │ │ ├── packSEXP_types_Pointer__byte.golden │ │ ├── packSEXP_types_Pointer__rune.golden │ │ ├── unpackSEXP_types_Array__10_bool.golden │ │ ├── unpackSEXP_types_Array__10_byte.golden │ │ ├── unpackSEXP_types_Array__10_rune.golden │ │ ├── packSEXP_types_Pointer__int32.golden │ │ ├── packSEXP_types_Pointer__uint8.golden │ │ ├── unpackSEXP_types_Array__10_int32.golden │ │ ├── unpackSEXP_types_Array__10_uint8.golden │ │ ├── packSEXP_types_Basic_complex128.golden │ │ ├── packSEXP_types_Basic_string.golden │ │ ├── packSEXP_types_Pointer__string.golden │ │ ├── unpackSEXP_types_Array__10_string.golden │ │ ├── unpackSEXP_types_Named_path_to_pkg_T.golden │ │ ├── packSEXP_types_Pointer__float64.golden │ │ ├── unpackSEXP_types_Array__10_float64.golden │ │ ├── unpackSEXP_types_Pointer__bool.golden │ │ ├── unpackSEXP_types_Pointer__byte.golden │ │ ├── unpackSEXP_types_Pointer__rune.golden │ │ ├── packSEXP_types_Pointer__complex128.golden │ │ ├── unpackSEXP_types_Pointer__int32.golden │ │ ├── unpackSEXP_types_Pointer__uint8.golden │ │ ├── packSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_-named.golden │ │ ├── packSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_-named.golden │ │ ├── packSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_-named.golden │ │ ├── unpackSEXP_types_Array__10_complex128.golden │ │ ├── unpackSEXP_types_Pointer__string.golden │ │ ├── packSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_-named.golden │ │ ├── packSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_-named.golden │ │ ├── unpackSEXP_types_Pointer__float64.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_-named.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_-named.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_-named.golden │ │ ├── packSEXP_types_Named_path_to_pkg_T.golden │ │ ├── packSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_-named.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_-named.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_-named.golden │ │ ├── packSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_-named.golden │ │ ├── unpackSEXP_types_Pointer__complex128.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_-named.golden │ │ ├── unpackSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_-named.golden │ │ ├── packSEXP_types_Struct_struct_F1_complex128__rgo___Rname_____F2_complex128_-named.golden │ │ ├── unpackSEXP_types_Slice___byte.golden │ │ ├── unpackSEXP_types_Slice___rune.golden │ │ └── unpackSEXP_types_Slice___uint8.golden └── pkg │ └── testdata │ ├── int_in_0 │ └── int_in.go │ ├── bool_in_0 │ └── bool_in.go │ ├── byte_in_0 │ └── byte_in.go │ ├── int8_in_0 │ └── int8_in.go │ ├── rune_in_0 │ └── rune_in.go │ ├── uint_in_0 │ └── uint_in.go │ ├── int16_in_0 │ └── int16_in.go │ ├── int32_in_0 │ └── int32_in.go │ ├── uint8_in_0 │ └── uint8_in.go │ ├── string_in_0 │ └── string_in.go │ ├── uint16_in_0 │ └── uint16_in.go │ ├── uint32_in_0 │ └── uint32_in.go │ ├── float32_in_0 │ └── float32_in.go │ ├── float64_in_0 │ └── float64_in.go │ ├── int_slice_in_0 │ └── int_slice_in.go │ ├── uintptr_in_0 │ └── uintptr_in.go │ ├── bool_slice_in_0 │ └── bool_slice_in.go │ ├── byte_slice_in_0 │ └── byte_slice_in.go │ ├── int8_slice_in_0 │ └── int8_slice_in.go │ ├── rune_slice_in_0 │ └── rune_slice_in.go │ ├── uint_slice_in_0 │ └── uint_slice_in.go │ ├── int16_slice_in_0 │ └── int16_slice_in.go │ ├── int32_slice_in_0 │ └── int32_slice_in.go │ ├── int_array_in_0 │ └── int_array_in.go │ ├── uint8_slice_in_0 │ └── uint8_slice_in.go │ ├── bool_array_in_0 │ └── bool_array_in.go │ ├── complex128_in_0 │ └── complex128_in.go │ ├── int8_array_in_0 │ └── int8_array_in.go │ ├── string_slice_in_0 │ └── string_slice_in.go │ ├── uint16_slice_in_0 │ └── uint16_slice_in.go │ ├── uint32_slice_in_0 │ └── uint32_slice_in.go │ ├── uint_array_in_0 │ └── uint_array_in.go │ ├── byte_array_in_0 │ └── byte_array_in.go │ ├── complex64_in_0 │ └── complex64_in.go │ ├── float32_slice_in_0 │ └── float32_slice_in.go │ ├── float64_slice_in_0 │ └── float64_slice_in.go │ ├── int16_array_in_0 │ └── int16_array_in.go │ ├── int32_array_in_0 │ └── int32_array_in.go │ ├── int_out_named_0 │ └── int_out_named.go │ ├── rune_array_in_0 │ └── rune_array_in.go │ ├── uint8_array_in_0 │ └── uint8_array_in.go │ └── uintptr_slice_in_0 │ └── uintptr_slice_in.go ├── Argonauta_argo.png ├── .github └── ISSUE_TEMPLATE │ └── question.md ├── 1280px-Argonauta_argo_Merculiano.jpg ├── 1280px-Argonauta_argo_Merculiano.png └── .travis └── test-r-example-packages.sh /examples/sort/go.mod: -------------------------------------------------------------------------------- 1 | module sort 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /examples/ioutil/go.mod: -------------------------------------------------------------------------------- 1 | module ioutil 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | *.so 2 | *.h 3 | *.Rcheck 4 | *.tar.gz 5 | *.rds 6 | -------------------------------------------------------------------------------- /internal/rgo/testdata/mixed_0/go.mod: -------------------------------------------------------------------------------- 1 | module mixed_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /Argonauta_argo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgonomic/rgo/HEAD/Argonauta_argo.png -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/map_of_slices_0/go.mod: -------------------------------------------------------------------------------- 1 | module map_of_slices_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/slice_of_slices_0/go.mod: -------------------------------------------------------------------------------- 1 | module slice_of_slices_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_bool_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_bool_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_byte_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_byte_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int16_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int8_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int8_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_rune_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_rune_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint8_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_bool_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_byte_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int8_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_rune_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float64_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float64_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int16_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_string_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_string_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint16_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint16_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint32_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint32_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint8_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /examples/floats/go.mod: -------------------------------------------------------------------------------- 1 | module floats 2 | 3 | go 1.15 4 | 5 | require gonum.org/v1/gonum v0.8.1 6 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module bool_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module byte_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_array_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_slice_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_array_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_slice_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int8_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module rune_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_bool_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_byte_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int16_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int16_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int32_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int32_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int8_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_rune_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_string_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint16_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint32_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint8_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint8_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex128_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex64_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex64_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float32_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module float64_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int16_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module int32_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex64_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float32_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float32_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float64_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float64_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_string_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint16_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint32_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_bool_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_byte_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex128_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int16_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_int8_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_rune_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_string_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint16_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint8_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_uint_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint16_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint32_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module uint8_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: Ask a question about rgo 4 | 5 | --- 6 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex64_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_bool_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_byte_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_in_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex128_map_in_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex128_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_out_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex64_map_out_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int8_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_rune_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float32_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_float64_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /examples/cca/NAMESPACE: -------------------------------------------------------------------------------- 1 | # Code generated by rgnonomic/rgo; DO NOT EDIT. 2 | 3 | useDynLib(cca) 4 | export(cca) 5 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_array_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module complex128_slice_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float32_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_float64_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int16_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_int32_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_string_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint16_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint32_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_uint8_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex128_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module struct_complex64_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /1280px-Argonauta_argo_Merculiano.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgonomic/rgo/HEAD/1280px-Argonauta_argo_Merculiano.jpg -------------------------------------------------------------------------------- /1280px-Argonauta_argo_Merculiano.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgonomic/rgo/HEAD/1280px-Argonauta_argo_Merculiano.png -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex64_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /examples/cca/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rgonomic/rgo/examples/cca 2 | 3 | go 1.15 4 | 5 | require gonum.org/v1/gonum v0.8.1 6 | -------------------------------------------------------------------------------- /examples/ioutil/NAMESPACE: -------------------------------------------------------------------------------- 1 | # Code generated by rgnonomic/rgo; DO NOT EDIT. 2 | 3 | useDynLib(ioutil) 4 | export(read_file) 5 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_out_named_0/go.mod: -------------------------------------------------------------------------------- 1 | module string_complex128_map_out_named_0 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_bool.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_bool(p C.SEXP) bool { 2 | return *C.RAW(p) == 1 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_byte.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_byte(p C.SEXP) byte { 2 | return byte(*C.RAW(p)) 3 | } -------------------------------------------------------------------------------- /examples/floats/NAMESPACE: -------------------------------------------------------------------------------- 1 | # Code generated by rgnonomic/rgo; DO NOT EDIT. 2 | 3 | useDynLib(floats) 4 | export(cum_prod) 5 | export(cum_sum) 6 | -------------------------------------------------------------------------------- /examples/wordcount/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rgonomic/rgo/examples/wordcount 2 | 3 | go 1.15 4 | 5 | require github.com/kortschak/utter v1.0.1 6 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_byte.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_byte(p byte) C.SEXP { 2 | return C.ScalarRaw(C.Rbyte(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_rune.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_rune(p C.SEXP) rune { 2 | return rune(*C.INTEGER(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_uint8.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_uint8(p C.SEXP) uint8 { 2 | return uint8(*C.RAW(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_int32.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_int32(p int32) C.SEXP { 2 | return C.ScalarInteger(C.int(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_rune.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_rune(p rune) C.SEXP { 2 | return C.ScalarInteger(C.int(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_uint8.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_uint8(p uint8) C.SEXP { 2 | return C.ScalarRaw(C.Rbyte(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_int32.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_int32(p C.SEXP) int32 { 2 | return int32(*C.INTEGER(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_string.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_string(p C.SEXP) string { 2 | return C.R_gostring(p, 0) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_float64.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_float64(p float64) C.SEXP { 2 | return C.ScalarReal(C.double(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_float64.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_float64(p C.SEXP) float64 { 2 | return float64(*C.REAL(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_bool.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_bool(p [10]bool) C.SEXP { 2 | return packSEXP_types_Slice___bool(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_byte.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_byte(p [10]byte) C.SEXP { 2 | return packSEXP_types_Slice___byte(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_int32.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_int32(p [10]int32) C.SEXP { 2 | return packSEXP_types_Slice___int32(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_rune.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_rune(p [10]rune) C.SEXP { 2 | return packSEXP_types_Slice___rune(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_uint8.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_uint8(p [10]uint8) C.SEXP { 2 | return packSEXP_types_Slice___uint8(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___bool-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___byte-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___rune-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_bool-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_byte-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_int32-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_rune-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_string.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_string(p [10]string) C.SEXP { 2 | return packSEXP_types_Slice___string(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_bool-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_bool(bool(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_byte-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_byte(byte(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_int32-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_int32(int32(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_rune-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_rune(rune(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_uint8(uint8(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__bool-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__byte-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__int32-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__rune-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__string-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__uint8-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___float64-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___int32-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___string-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___uint8-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___bool-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___byte-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___rune-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_float64-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_float64.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_float64(p [10]float64) C.SEXP { 2 | return packSEXP_types_Slice___float64(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_string-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_float64-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_float64(float64(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_string-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_string(string(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__float64-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_bool-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_byte-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_rune-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_bool-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_bool(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_byte-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_byte(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_int32-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_int32(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_rune-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_rune(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_uint8(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__bool-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__byte-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__int32-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__rune-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__uint8-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___int32-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___string-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___uint8-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Array__10_complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_bool-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_byte-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_int32-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_rune-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__complex128-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Pointer__complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Slice___complex128-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Slice___complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_float64-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_int32-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_string-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_float64-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_float64(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_string-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_string(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__float64-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__string-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___float64-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___float64(p) 3 | } -------------------------------------------------------------------------------- /examples/cca/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Words": null, 5 | "LicenseDir": "LICENSE", 6 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Array__10_complex128.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Array__10_complex128(p [10]complex128) C.SEXP { 2 | return packSEXP_types_Slice___complex128(p[:]) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_bool.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_bool(p bool) C.SEXP { 2 | b := C.int(0) 3 | if p { 4 | b = 1 5 | } 6 | return C.ScalarLogical(b) 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Basic_complex128(complex128(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_float64-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_string-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Basic_complex128(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_bool-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_bool(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_byte-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_byte(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_rune-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_rune(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__complex128-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Pointer__complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___complex128-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Slice___complex128(p) 3 | } -------------------------------------------------------------------------------- /examples/wordcount/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Words": null, 5 | "LicenseDir": "LICENSE", 6 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Map_map_string_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Map_map_string_complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Array__10_complex128(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_float64-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_float64(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_int32-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_int32(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_string-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_string(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_uint8-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_uint8(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Basic_complex128.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Basic_complex128(p C.SEXP) complex128 { 2 | return complex128(*(*complex128)(unsafe.Pointer(C.COMPLEX(p)))) 3 | } -------------------------------------------------------------------------------- /examples/wordcount/go.sum: -------------------------------------------------------------------------------- 1 | github.com/kortschak/utter v1.0.1 h1:AJVccwLrdrikvkH0aI5JKlzZIORLpfMeGBQ5tHfIXis= 2 | github.com/kortschak/utter v1.0.1/go.mod h1:vSmSjbyrlKjjsL71193LmzBOKgwePk9DH6uFaWHIInc= 3 | -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Map_map_string_complex128-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Map_map_string_complex128(p) 3 | } -------------------------------------------------------------------------------- /examples/ioutil/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": "io/ioutil", 3 | "AllowedFuncs": "^ReadFile$", 4 | "Words": null, 5 | "LicenseDir": "LICENSE", 6 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__bool.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__bool(p *bool) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_bool(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__byte.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__byte(p *byte) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_byte(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__rune.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__rune(p *rune) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_rune(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_bool.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_bool(p C.SEXP) [10]bool { 2 | var a [10]bool 3 | copy(a[:], unpackSEXP_types_Slice___bool(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_byte.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_byte(p C.SEXP) [10]byte { 2 | var a [10]byte 3 | copy(a[:], unpackSEXP_types_Slice___byte(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_rune.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_rune(p C.SEXP) [10]rune { 2 | var a [10]rune 3 | copy(a[:], unpackSEXP_types_Slice___rune(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__int32.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__int32(p *int32) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_int32(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__uint8.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__uint8(p *uint8) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_uint8(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_int32.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_int32(p C.SEXP) [10]int32 { 2 | var a [10]int32 3 | copy(a[:], unpackSEXP_types_Slice___int32(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_uint8.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_uint8(p C.SEXP) [10]uint8 { 2 | var a [10]uint8 3 | copy(a[:], unpackSEXP_types_Slice___uint8(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /examples/sort/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": "sort", 3 | "AllowedFuncs": "(Float64s|Strings)", 4 | "Words": ["Float64s"], 5 | "LicenseDir": "LICENSE", 6 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_complex128.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_complex128(p complex128) C.SEXP { 2 | return C.ScalarComplex(C.struct_Rcomplex{r: C.double(real(p)), i: C.double(imag(p))}) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Basic_string.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Basic_string(p string) C.SEXP { 2 | s := C.Rf_mkCharLenCE(C._GoStringPtr(p), C.int(len(p)), C.CE_UTF8) 3 | return C.ScalarString(s) 4 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__string.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__string(p *string) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_string(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_string.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_string(p C.SEXP) [10]string { 2 | var a [10]string 3 | copy(a[:], unpackSEXP_types_Slice___string(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Named_path_to_pkg_T.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return pkg.T(unpackSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__float64.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__float64(p *float64) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_float64(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_float64.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_float64(p C.SEXP) [10]float64 { 2 | var a [10]float64 3 | copy(a[:], unpackSEXP_types_Slice___float64(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/int_in_0/int_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int_in_0 4 | 5 | //{"in":["int"]} 6 | func Test0(par0 int) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/mixed_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /.travis/test-r-example-packages.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | status=0 4 | 5 | cd examples 6 | R CMD build * || status=1 7 | R CMD check --no-manual *.tar.gz || status=1 8 | rm -rf *.Rcheck *.tar.gz 9 | 10 | exit $status 11 | -------------------------------------------------------------------------------- /examples/floats/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": "gonum.org/v1/gonum/floats", 3 | "AllowedFuncs": "^Cum(Sum|Prod)$", 4 | "Words": null, 5 | "LicenseDir": "LICENSE", 6 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__bool.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__bool(p C.SEXP) *bool { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_bool(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__byte.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__byte(p C.SEXP) *byte { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_byte(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__rune.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__rune(p C.SEXP) *rune { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_rune(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/bool_in_0/bool_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package bool_in_0 4 | 5 | //{"in":["bool"]} 6 | func Test0(par0 bool) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/byte_in_0/byte_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package byte_in_0 4 | 5 | //{"in":["uint8"]} 6 | func Test0(par0 byte) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int8_in_0/int8_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int8_in_0 4 | 5 | //{"in":["int8"]} 6 | func Test0(par0 int8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/rune_in_0/rune_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package rune_in_0 4 | 5 | //{"in":["int32"]} 6 | func Test0(par0 rune) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint_in_0/uint_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint_in_0 4 | 5 | //{"in":["uint"]} 6 | func Test0(par0 uint) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Pointer__complex128.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Pointer__complex128(p *complex128) C.SEXP { 2 | if p == nil { 3 | return C.R_NilValue 4 | } 5 | return packSEXP_types_Basic_complex128(*p) 6 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__int32.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__int32(p C.SEXP) *int32 { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_int32(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__uint8.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__uint8(p C.SEXP) *uint8 { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_uint8(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/int16_in_0/int16_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int16_in_0 4 | 5 | //{"in":["int16"]} 6 | func Test0(par0 int16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int32_in_0/int32_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int32_in_0 4 | 5 | //{"in":["int32"]} 6 | func Test0(par0 int32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint8_in_0/uint8_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint8_in_0 4 | 5 | //{"in":["uint8"]} 6 | func Test0(par0 uint8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/map_of_slices_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/slice_of_slices_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Array__10_complex128.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Array__10_complex128(p C.SEXP) [10]complex128 { 2 | var a [10]complex128 3 | copy(a[:], unpackSEXP_types_Slice___complex128(p)) 4 | return a 5 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__string.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__string(p C.SEXP) *string { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_string(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/string_in_0/string_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package string_in_0 4 | 5 | //{"in":["string"]} 6 | func Test0(par0 string) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint16_in_0/uint16_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint16_in_0 4 | 5 | //{"in":["uint16"]} 6 | func Test0(par0 uint16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint32_in_0/uint32_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint32_in_0 4 | 5 | //{"in":["uint32"]} 6 | func Test0(par0 uint32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__float64.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__float64(p C.SEXP) *float64 { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_float64(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_byte__rgo___Rname_____F2_byte_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_rune__rgo___Rname_____F2_rune_(p) 3 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/float32_in_0/float32_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package float32_in_0 4 | 5 | //{"in":["float32"]} 6 | func Test0(par0 float32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/float64_in_0/float64_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package float64_in_0 4 | 5 | //{"in":["float64"]} 6 | func Test0(par0 float64) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int_slice_in_0/int_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int_slice_in_0 4 | 5 | //{"in":["[]int"]} 6 | func Test0(par0 []int) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uintptr_in_0/uintptr_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uintptr_in_0 4 | 5 | //{"in":["uintptr"]} 6 | func Test0(par0 uintptr) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex64_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float32_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/float64_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_bool_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_byte_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_in_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int8_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_rune_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_bool_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_byte_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_out_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_float64_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int16_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_int8_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_rune_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_string_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint16_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint32_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint8_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_uint_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint16_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint32_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Named_path_to_pkg_T.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_bool__rgo___Rname_____F2_bool_(struct{F1 bool "rgo:\"Rname\""; F2 bool}(p)) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_int32__rgo___Rname_____F2_int32_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_uint8__rgo___Rname_____F2_uint8_(p) 3 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/bool_slice_in_0/bool_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package bool_slice_in_0 4 | 5 | //{"in":["[]bool"]} 6 | func Test0(par0 []bool) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/byte_slice_in_0/byte_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package byte_slice_in_0 4 | 5 | //{"in":["[]uint8"]} 6 | func Test0(par0 []byte) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int8_slice_in_0/int8_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int8_slice_in_0 4 | 5 | //{"in":["[]int8"]} 6 | func Test0(par0 []int8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/rune_slice_in_0/rune_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package rune_slice_in_0 4 | 5 | //{"in":["[]int32"]} 6 | func Test0(par0 []rune) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint_slice_in_0/uint_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint_slice_in_0 4 | 5 | //{"in":["[]uint"]} 6 | func Test0(par0 []uint) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_array_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/complex128_slice_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex64_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float32_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_float64_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int16_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_int32_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_string_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint16_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint32_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_uint8_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex128_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/rgo/testdata/struct_complex64_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Pointer__complex128.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Pointer__complex128(p C.SEXP) *complex128 { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | r := unpackSEXP_types_Basic_complex128(p) 6 | return &r 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_string__rgo___Rname_____F2_string_(p) 3 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/int16_slice_in_0/int16_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int16_slice_in_0 4 | 5 | //{"in":["[]int16"]} 6 | func Test0(par0 []int16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int32_slice_in_0/int32_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int32_slice_in_0 4 | 5 | //{"in":["[]int32"]} 6 | func Test0(par0 []int32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int_array_in_0/int_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int_array_in_0 4 | 5 | //{"in":["[4]int","[]int"]} 6 | func Test0(par0 [4]int) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint8_slice_in_0/uint8_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint8_slice_in_0 4 | 5 | //{"in":["[]uint8"]} 6 | func Test0(par0 []uint8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int_in_0/int_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int_in_0 4 | 5 | // Test0 does things with [int] and returns []. 6 | func Test0(par0 int) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/string_complex128_map_out_named_0/rgo.json: -------------------------------------------------------------------------------- 1 | { 2 | "PkgPath": ".", 3 | "AllowedFuncs": "", 4 | "Exported": "", 5 | "Words": null, 6 | "LicenseDir": "LICENSE", 7 | "LicensePattern": "(LICEN[SC]E|COPYING)(\\.(txt|md))?$" 8 | } 9 | -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_-named.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Named_path_to_pkg_T(p C.SEXP) pkg.T { 2 | return unpackSEXP_types_Struct_struct_F1_float64__rgo___Rname_____F2_float64_(p) 3 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/bool_array_in_0/bool_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package bool_array_in_0 4 | 5 | //{"in":["[4]bool","[]bool"]} 6 | func Test0(par0 [4]bool) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/complex128_in_0/complex128_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package complex128_in_0 4 | 5 | //{"in":["complex128"]} 6 | func Test0(par0 complex128) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int8_array_in_0/int8_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int8_array_in_0 4 | 5 | //{"in":["[4]int8","[]int8"]} 6 | func Test0(par0 [4]int8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/string_slice_in_0/string_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package string_slice_in_0 4 | 5 | //{"in":["[]string"]} 6 | func Test0(par0 []string) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint16_slice_in_0/uint16_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint16_slice_in_0 4 | 5 | //{"in":["[]uint16"]} 6 | func Test0(par0 []uint16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint32_slice_in_0/uint32_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint32_slice_in_0 4 | 5 | //{"in":["[]uint32"]} 6 | func Test0(par0 []uint32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint_array_in_0/uint_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint_array_in_0 4 | 5 | //{"in":["[4]uint","[]uint"]} 6 | func Test0(par0 [4]uint) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/bool_in_0/bool_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package bool_in_0 4 | 5 | // Test0 does things with [bool] and returns []. 6 | func Test0(par0 bool) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/byte_in_0/byte_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package byte_in_0 4 | 5 | // Test0 does things with [byte] and returns []. 6 | func Test0(par0 byte) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int8_in_0/int8_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int8_in_0 4 | 5 | // Test0 does things with [int8] and returns []. 6 | func Test0(par0 int8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/rune_in_0/rune_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package rune_in_0 4 | 5 | // Test0 does things with [rune] and returns []. 6 | func Test0(par0 rune) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint_in_0/uint_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint_in_0 4 | 5 | // Test0 does things with [uint] and returns []. 6 | func Test0(par0 uint) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/codegen/testdata/packSEXP_types_Struct_struct_F1_complex128__rgo___Rname_____F2_complex128_-named.golden: -------------------------------------------------------------------------------- 1 | func packSEXP_types_Named_path_to_pkg_T(p pkg.T) C.SEXP { 2 | return packSEXP_types_Struct_struct_F1_complex128__rgo___Rname_____F2_complex128_(p) 3 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___byte.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Slice___byte(p C.SEXP) []byte { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | n := C.Rf_xlength(p) 6 | return (*[562949953421312]byte)(unsafe.Pointer(C.RAW(p)))[:n] 7 | } -------------------------------------------------------------------------------- /internal/pkg/testdata/byte_array_in_0/byte_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package byte_array_in_0 4 | 5 | //{"in":["[4]uint8","[]uint8"]} 6 | func Test0(par0 [4]byte) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/complex64_in_0/complex64_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package complex64_in_0 4 | 5 | //{"in":["complex128","complex64"]} 6 | func Test0(par0 complex64) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/float32_slice_in_0/float32_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package float32_slice_in_0 4 | 5 | //{"in":["[]float32"]} 6 | func Test0(par0 []float32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/float64_slice_in_0/float64_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package float64_slice_in_0 4 | 5 | //{"in":["[]float64"]} 6 | func Test0(par0 []float64) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int16_array_in_0/int16_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int16_array_in_0 4 | 5 | //{"in":["[4]int16","[]int16"]} 6 | func Test0(par0 [4]int16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int32_array_in_0/int32_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int32_array_in_0 4 | 5 | //{"in":["[4]int32","[]int32"]} 6 | func Test0(par0 [4]int32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/int_out_named_0/int_out_named.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int_out_named_0 4 | 5 | //{"out":["int"]} 6 | func Test0() (res0 int) { 7 | return res0 8 | } 9 | -------------------------------------------------------------------------------- /internal/pkg/testdata/rune_array_in_0/rune_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package rune_array_in_0 4 | 5 | //{"in":["[4]int32","[]int32"]} 6 | func Test0(par0 [4]rune) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uint8_array_in_0/uint8_array_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint8_array_in_0 4 | 5 | //{"in":["[4]uint8","[]uint8"]} 6 | func Test0(par0 [4]uint8) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/pkg/testdata/uintptr_slice_in_0/uintptr_slice_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uintptr_slice_in_0 4 | 5 | //{"in":["[]uintptr"]} 6 | func Test0(par0 []uintptr) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int16_in_0/int16_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int16_in_0 4 | 5 | // Test0 does things with [int16] and returns []. 6 | func Test0(par0 int16) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/int32_in_0/int32_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package int32_in_0 4 | 5 | // Test0 does things with [int32] and returns []. 6 | func Test0(par0 int32) { 7 | } 8 | -------------------------------------------------------------------------------- /internal/rgo/testdata/uint8_in_0/uint8_in.go: -------------------------------------------------------------------------------- 1 | // Code generated by "go generate github.com/rgonomic/rgo/internal/pkg/testdata"; DO NOT EDIT. 2 | 3 | package uint8_in_0 4 | 5 | // Test0 does things with [uint8] and returns []. 6 | func Test0(par0 uint8) { 7 | } 8 | -------------------------------------------------------------------------------- /examples/sort/NAMESPACE: -------------------------------------------------------------------------------- 1 | # Code generated by rgnonomic/rgo; DO NOT EDIT. 2 | 3 | useDynLib(sort) 4 | export(search_float64s) 5 | export(search_strings) 6 | export(float64s) 7 | export(strings) 8 | export(float64s_are_sorted) 9 | export(strings_are_sorted) 10 | -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___rune.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Slice___rune(p C.SEXP) []rune { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | n := C.Rf_xlength(p) 6 | return (*[140737488355328]rune)(unsafe.Pointer(C.INTEGER(p)))[:n] 7 | } -------------------------------------------------------------------------------- /internal/codegen/testdata/unpackSEXP_types_Slice___uint8.golden: -------------------------------------------------------------------------------- 1 | func unpackSEXP_types_Slice___uint8(p C.SEXP) []uint8 { 2 | if C.Rf_isNull(p) != 0 { 3 | return nil 4 | } 5 | n := C.Rf_xlength(p) 6 | return (*[562949953421312]uint8)(unsafe.Pointer(C.RAW(p)))[:n] 7 | } --------------------------------------------------------------------------------