Download Home/Sup1/Sup1Words/GodDict.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 649 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Words/GodDict.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Home/Sup1/Sup1Words/GodDict.txt
-
curl -L -o GodDict.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Words/GodDict.txt
649 Bytes
| 01 public U8 *ACDWord(I64 i) | |
| 02 {//MAlloc dict word given rand offset. | |
| 03 I64 ch; | |
| 04 U8 *st=&acd.word_lst[i%acd.word_lst_size], | |
| 05 *src,*dst; | |
| 06 while (*st!=ACD_WORD_CHAR) | |
| 07 st--; | |
| 08 st=StrNew(st+1); | |
| 09 src=dst=st; | |
| 10 while (ch=*src++) | |
| 11 if (ch==',') | |
| 12 break; | |
| 13 else if (Bt(chars_bmp_word,ch)) | |
| 14 *dst++=ch; | |
| 15 *dst=0; | |
| 16 return st; | |
| 17 } | |
| 18 | |
| 19 U0 GodDict() | |
| 20 { | |
| 21 U8 *st; | |
| 22 I64 ch; | |
| 23 while (TRUE) { | |
| 24 ch=GetChar(,FALSE); | |
| 25 if (ch==CH_ESC||ch==CH_SHIFT_ESC) | |
| 26 break; | |
| 27 st=ACDWord(GetTSC); | |
| 28 "%s ",st; | |
| 29 Free(st); | |
| 30 } | |
| 31 "\n"; | |
| 32 } | |
| 33 | |
| 34 GodDict; | |