File size: 2,102 Bytes
d816b9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444f991
 
94539cb
 
 
444f991
 
1a485b0
 
 
 
 
 
 
444f991
 
1a485b0
 
 
 
 
 
 
 
 
 
 
 
444f991
 
1a485b0
 
 
 
 
 
 
 
 
 
 
 
94539cb
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
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