|
17 | 17 | <meta name="theme-color" content="#00B4FF">
|
18 | 18 | <meta name="mobile-web-app-capable" content="yes">
|
19 | 19 | <meta name="apple-mobile-web-app-status-bar-style" content="default">
|
20 |
| - <meta name="msapplication-TileImage" content="/favicon.ico"> |
| 20 | + <meta name="msapplication-TileImage" content="favicon.ico"> |
21 | 21 | <meta name="msapplication-TileColor" content="#000000">
|
22 | 22 | <meta name="apple-mobile-web-app-title" content="octave_zstd文档">
|
23 | 23 | <link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet" type="text/css">
|
|
27 | 27 | <link href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/quasar.prod.css" rel=" stylesheet" type=" text/css" >
|
28 | 28 | <link href="assets/main.css" rel="stylesheet" type="text/css">
|
29 | 29 | <title>octave_zstd文档</title>
|
30 |
| - <link rel="icon" href="/favicon.ico" type="image/x-icon"> |
31 |
| - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> |
| 30 | + <link rel="icon" href="favicon.ico" type="image/x-icon"> |
| 31 | + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> |
32 | 32 | <meta name="title" content="octave_zstd文档" data-qmeta="title">
|
33 | 33 | <meta property="og:title" content="octave_zstd文档" data-qmeta="ogTitle">
|
34 | 34 | <meta name="twitter:title" content="octave_zstd文档" data-qmeta="twitterTitle">
|
|
47 | 47 | <q-toolbar class="bg-primary text-white q-ny-md shadow-2">
|
48 | 48 | <q-btn stretch flat label="Octave中文网" @click="goTo('index.html')"></q-btn>
|
49 | 49 | <q-separator dark vertical></q-separator>
|
50 |
| - <q-btn stretch flat label="octave_zstd" @click="scrollToTop()"></q-btn> |
| 50 | + <q-btn stretch flat label="octave_zstd文档" @click="scrollToTop()"></q-btn> |
51 | 51 | <q-separator dark vertical></q-separator>
|
52 | 52 | <q-space></q-space>
|
53 | 53 | <q-separator dark vertical></q-separator>
|
|
153 | 153 | <div class="main">
|
154 | 154 | <div class="text-h5 q-ma-md text-red-10">欢迎广大开发者将此文档翻译为其他语言。</div>
|
155 | 155 | <q-btn id="homepage" class="title1 text-white bg-primary" stretch flat
|
156 |
| - label="项目首页:http://qwqwwqwq.com" @click="goTo('index.html')"></q-btn> |
| 156 | + label="项目首页:https://github.com/CNOCTAVE/octave_zstd" @click="goTo('https://github.com/CNOCTAVE/octave_zstd')"></q-btn> |
157 | 157 | <q-separator></q-separator>
|
158 | 158 | <div id="online_install" class="title1 q-ma-md text-primary">在线安装</div>
|
159 | 159 | <p class="q-ma-md">octave_zstd可以在线安装。</p>
|
160 | 160 | <div class="text-h5 q-ma-md text-red-10">在线安装octave_zstd,代码如下:</div>
|
161 |
| - <p class="q-ma-md">>> pkg install -forge http://qwqwqwqwq.com/qwqwwqwq.tar.gz</p> |
| 161 | + <p class="q-ma-md">>> pkg install -forge https://github.com/CNOCTAVE/octave_zstd/releases/download/1.0.0/octave_zstd-1.0.0.tar.gz</p> |
162 | 162 | <q-separator></q-separator>
|
163 | 163 | <div id="source_code_install" class="title1 q-ma-md text-primary">源码安装</div>
|
164 | 164 | <p class="q-ma-md">octave_zstd可以直接使用tar包安装。</p>
|
|
180 | 180 | <div id="function_usage" class="title1 q-ma-md text-primary">函数用法</div>
|
181 | 181 | <div class="text-h5 q-ma-md text-red-10">zstd_compress</div>
|
182 | 182 | <p class="q-ma-md">Loadable Function: 0 = zstd_compress(FILENAME, COMPRESSED_FILENAME)</p>
|
183 |
| - <p class="q-ma-md">输入文件名FILENAME和压缩后的文件名COMPRESSED_FILENAME。总是输出0。</p> |
| 183 | + <p class="q-ma-md">输入文件名FILENAME和压缩后的文件名COMPRESSED_FILENAME。</p> |
| 184 | + <p class="q-ma-md">总是返回0。</p> |
184 | 185 | <q-separator></q-separator>
|
185 | 186 | <div class="text-h5 q-ma-md text-red-10">zstd_decompress</div>
|
186 | 187 | <p class="q-ma-md">Loadable Function: 0 = zstd_decompress(COMPRESSED_FILENAME,</p>
|
187 | 188 | <p class="q-ma-md">DECOMPRESSED_FILENAME)</p>
|
188 | 189 | <p class="q-ma-md">输入压缩文件名COMPRESSED_FILENAME和解压缩后的文件名</p>
|
189 |
| - <p class="q-ma-md">DECOMPRESSED_FILENAME。总是输出0。</p> |
| 190 | + <p class="q-ma-md">DECOMPRESSED_FILENAME。总是返回0。</p> |
190 | 191 | <q-separator></q-separator>
|
191 | 192 | <div class="text-h5 q-ma-md text-red-10">zstd_compress_string</div>
|
192 | 193 | <p class="q-ma-md">Loadable Function: COMPRESSED_STRING = zstd_compress_string(STRING)</p>
|
|
199 | 200 | <p class="q-ma-md">DECOMPRESSED_STRING。</p>
|
200 | 201 | <q-separator></q-separator>
|
201 | 202 | <div id="common_examples" class="title1 q-ma-md text-primary">常见用例</div>
|
202 |
| - <div class="text-h5 q-ma-md text-red-10">压缩一个名为file的文件为new_file,代码如下:</div> |
203 |
| - <p class="q-ma-md">>> zstd_compress("file", "new_file")</p> |
204 |
| - <div class="text-h5 q-ma-md text-red-10">解压缩一个名为new_file的文件为new_file_1,代码如下:</div> |
205 |
| - <p class="q-ma-md">>> zstd_decompress("new_file", "new_file_1")</p> |
| 203 | + <div class="text-h5 q-ma-md text-red-10">压缩一个名为file的文件为file.zst,代码如下:</div> |
| 204 | + <p class="q-ma-md">>> zstd_compress("file", "file.zst")</p> |
| 205 | + <div class="text-h5 q-ma-md text-red-10">解压缩一个名为file.zst的文件为new_file,代码如下:</div> |
| 206 | + <p class="q-ma-md">>> zstd_decompress("file.zst", "new_file")</p> |
206 | 207 | <div class="text-h5 q-ma-md text-red-10">压缩一个字符串abcdefg,代码如下:</div>
|
207 | 208 | <p class="q-ma-md">>> compressed_string = zstd_compress_string("abcdefg")</p>
|
208 | 209 | <div class="text-h5 q-ma-md text-red-10">解压缩字符串,代码如下:</div>
|
209 | 210 | <p class="q-ma-md">>> decompressed_string = zstd_decompress_string(compressed_string)</p>
|
| 211 | + <q-separator></q-separator> |
210 | 212 | <div id="references" class="title1 q-ma-md text-primary">引用octave_zstd</div>
|
211 | 213 | <div class="text-h5 q-ma-md text-red-10">如果你在学术研究中涉及octave_zstd,那么可以按需引用以下内容。</div>
|
212 | 214 | <div class="text-h5 q-ma-md text-red-10">octave_zstd源码(BibTeX)</div>
|
213 | 215 | <p class="q-ma-md">@misc{CNOCTAVE2024,
|
214 |
| - author = {Yu, Hongbo}, |
| 216 | + author = {Yu Hongbo, }, |
215 | 217 | title = {octave_zstd},
|
216 | 218 | year = {2024},
|
217 |
| - howpublished = {\url{https://github.com/username/repository}}, |
| 219 | + howpublished = {\url{https://github.com/CNOCTAVE/octave_zstd}}, |
218 | 220 | }</p>
|
219 | 221 | <div class="text-h5 q-ma-md text-red-10">octave_zstd文档(BibTeX)</div>
|
220 | 222 | <p class="q-ma-md">@techreport{CNOCTAVE2024,
|
221 |
| - author = {Yu, Hongbo}, |
| 223 | + author = {Yu Hongbo, }, |
222 | 224 | title = {octave_zstd Document},
|
223 | 225 | institution = {BA DU XIN SHANG},
|
224 | 226 | year = {2024},
|
225 | 227 | number = {1},
|
226 | 228 | month = {10},
|
227 |
| - url = {http://www.someurl.com/path/to/doc.pdf}, |
| 229 | + url = {https://cnoctave.github.io/octave_zstd/index.html}, |
228 | 230 | urldate = {2024-10-07},
|
229 | 231 | }</p>
|
230 |
| - <div class="text-h5 q-ma-md text-red-10">octave_zstd: Efficient Compression and Decompression Utilizing the Octave Software with Zstandard(BibTeX)</div> |
231 |
| - <p class="q-ma-md" style="white-space: normal;">@unpublished{Hongbo2024, |
232 |
| - author = {Yu, Hongbo}, |
233 |
| - title = {octave_zstd: Efficient Compression and Decompression Utilizing the Octave Software with Zstandard}, |
| 232 | + <div class="text-h5 q-ma-md text-red-10">octave_zstd: Efficient File and String Decompression Utilizing the ZSTD Algorithm(BibTeX)</div> |
| 233 | + <p class="q-ma-md" style="white-space: normal;">@article{https://doi.org/10.6084/m9.figshare.27186048.v1, |
| 234 | + doi = {10.6084/M9.FIGSHARE.27186048.V1}, |
| 235 | + url = {https://figshare.com/articles/preprint/octave_zstd_Efficient_File_and_String_Decompression_Utilizing_the_ZSTD_Algorithm/27186048/1}, |
| 236 | + author = {Yu Hongbo, }, |
| 237 | + keywords = {Software architecture}, |
| 238 | + title = {octave_zstd: Efficient File and String Decompression Utilizing the ZSTD Algorithm}, |
| 239 | + publisher = {figshare}, |
234 | 240 | year = {2024},
|
235 |
| - note = {Available at \url{https://arxiv.org/abs/2410.00000}, arXiv:2410.00000 [cs.SE]}, |
| 241 | + copyright = {Creative Commons Attribution 4.0 International} |
236 | 242 | }</p>
|
237 | 243 | </div>
|
238 | 244 | </div>
|
239 | 245 | <q-toolbar class="bg-grey-8 text-white q-my-md shadow-2">
|
240 | 246 | <q-btn-dropdown stretch flat label="版权所有 ©">
|
241 | 247 | <q-list>
|
242 |
| - <q-item clickable v-close-popup @click="goTo('index.html')"> |
| 248 | + <q-item clickable v-close-popup @click="goTo('http://cnoctave.cn')"> |
| 249 | + <q-item-section> |
| 250 | + <q-item-label>© 2024 CNOCTAVE</q-item-label> |
| 251 | + </q-item-section> |
| 252 | + </q-item> |
| 253 | + <q-item clickable v-close-popup @click="goTo('https://orcid.org/0009-0007-9436-4161')"> |
243 | 254 | <q-item-section>
|
244 |
| - <q-item-label>© 2024 Yu Hongbo, CNOCTAVE</q-item-label> |
| 255 | + <q-item-label>© 2024 Yu Hongbo</q-item-label> |
245 | 256 | </q-item-section>
|
246 | 257 | </q-item>
|
247 | 258 | </q-list>
|
|
251 | 262 | @click="goTo('https://creativecommons.org/licenses/by-nd/4.0/')"></q-btn>
|
252 | 263 | <q-separator dark vertical></q-separator>
|
253 | 264 | <q-btn stretch flat label="下载此文档的源码"
|
254 |
| - @click="goTo('index.html')"></q-btn> |
| 265 | + @click="goTo('https://github.com/CNOCTAVE/octave_zstd')"></q-btn> |
255 | 266 | </q-toolbar>
|
256 | 267 | </q-page-container>
|
257 | 268 |
|
|
0 commit comments