跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

constants.js

47 行 · 1.3 KB历史下载
1export default {
2
3 /* Allowed flush values; see deflate() and inflate() below for details */
4 Z_NO_FLUSH: 0,
5 Z_PARTIAL_FLUSH: 1,
6 Z_SYNC_FLUSH: 2,
7 Z_FULL_FLUSH: 3,
8 Z_FINISH: 4,
9 Z_BLOCK: 5,
10 Z_TREES: 6,
11
12 /* Return codes for the compression/decompression functions. Negative values
13 * are errors, positive values are used for special but normal events.
14 */
15 Z_OK: 0,
16 Z_STREAM_END: 1,
17 Z_NEED_DICT: 2,
18 Z_ERRNO: -1,
19 Z_STREAM_ERROR: -2,
20 Z_DATA_ERROR: -3,
21 //Z_MEM_ERROR: -4,
22 Z_BUF_ERROR: -5,
23 //Z_VERSION_ERROR: -6,
24
25 /* compression levels */
26 Z_NO_COMPRESSION: 0,
27 Z_BEST_SPEED: 1,
28 Z_BEST_COMPRESSION: 9,
29 Z_DEFAULT_COMPRESSION: -1,
30
31
32 Z_FILTERED: 1,
33 Z_HUFFMAN_ONLY: 2,
34 Z_RLE: 3,
35 Z_FIXED: 4,
36 Z_DEFAULT_STRATEGY: 0,
37
38 /* Possible values of the data_type field (though see inflate()) */
39 Z_BINARY: 0,
40 Z_TEXT: 1,
41 //Z_ASCII: 1, // = Z_TEXT (deprecated)
42 Z_UNKNOWN: 2,
43
44 /* The deflate compression method */
45 Z_DEFLATED: 8
46 //Z_NULL: null // Use -1 or null inline, depending on var type
47};