metadata
dataset_info:
features:
- name: repo_name
dtype: string
- name: file_path
dtype: string
- name: content
dtype: string
- name: extention
dtype: string
splits:
- name: train
num_bytes: 95097104
num_examples: 10208
download_size: 22080484
dataset_size: 95097104
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
Summary
This dataset is a collection of codes used in embedded C/C++ software.
The purpose of this dataset is code infilling, but it can be used in other ways as well.
The libraries used for code collection are 7 each: fprime, boost-asio, TinyXML, inifile-cpp, RTI-DDS, OneAPI, and PROJ.
# of extention(file)
extention | content |
---|---|
c | 199 |
cpp | 2495 |
cxx | 505 |
h | 5015 |
hpp | 1994 |
Repo file count
repo_name | content |
---|---|
PROJ | 306 |
asio | 1150 |
fprime | 1091 |
inifile-cpp | 8 |
oneAPI-samples | 2456 |
rticonnextdds-examples | 778 |
rticonnextdds-getting-started | 33 |
rticonnextdds-robot-helpers | 53 |
rticonnextdds-usecases | 4329 |
tinyxml2 | 4 |
License
repo_name | License |
---|---|
PROJ | MIT |
asio | boost license |
fprime | Apache-2.0 |
inifile-cpp | MIT |
oneAPI-samples | MIT |
rticonnextdds-examples | rti license |
rticonnextdds-getting-started | rti license |
rticonnextdds-robot-helpers | rti license |
rticonnextdds-usecases | rti license |
tinyxml2 | Zlib |
# data generate script
see data_generate.py