Spaces:
Sleeping
Sleeping
Download examples/upper_candidate.c from ejschwartz/decompilai: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/spaces/ejschwartz/decompilai/resolve/main/examples/upper_candidate.c
- Command line
-
hf download hf://spaces/ejschwartz/decompilai/examples/upper_candidate.c
-
curl -L -o upper_candidate.c https://huggingface.co/spaces/ejschwartz/decompilai/resolve/main/examples/upper_candidate.c
220 Bytes
| void func0(char *s) { | |
| if (!s) | |
| return; | |
| for (size_t i = 0; ; ++i) { | |
| if (i >= strlen(s)) | |
| break; | |
| if (s[i] > 96 && s[i] <= 122) | |
| s[i] -= 32; | |
| } | |
| } | |