Welcome to mirror list, hosted at ThFree Co, Russian Federation.

xcache.php « stubs « .phan « build - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 22700b1b1907d954aa6ba05d7939aa3de776bbd4 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<?php
/**
 * Common Used Functions
 */

/**
 * Get cached data by specified name
 *
 * @param string $name Key name
 * @return mixed
 */
function xcache_get($name) {}

/**
 * Store data to cache by specified name
 *
 * @param string $name Key name
 * @param mixed $value Value to store
 * @param int $ttl TTL in seconds
 * @return bool TRUE on success, FALSE otherwise
 */
function xcache_set($name, $value, $ttl = 0) {}

/**
 * Check if an entry exists in cache by specified name
 *
 * @param string $name Key name
 * @return bool TRUE if key exists, FALSE otherwise
 */
function xcache_isset($name) {}

/**
 * Unset existing data in cache by specified name
 *
 * @param string $name Key name
 * @return bool
 */
function xcache_unset($name) {}

/**
 * Unset existing data in cache by specified prefix
 *
 * @param string $prefix Keys' prefix
 * @return bool
 */
function xcache_unset_by_prefix($prefix) {}

/**
 * Increase an int counter in cache by specified name, create it if not exists
 *
 * @param string $name
 * @param mixed $value
 * @param int $ttl
 * @return int
 */
function xcache_inc($name, $value = 1, $ttl = 0) {}

/**
 * Decrease an int counter in cache by specified name, create it if not exists
 *
 * @param string $name
 * @param mixed $value
 * @param int $ttl
 * @return int
 */
function xcache_dec($name, $value = 1, $ttl = 0) {}

/**
 * Administrator Functions
 */

/**
 * Return count of cache on specified cache type
 *
 * @param int $type
 * @return int
 */
function xcache_count($type) {}

/**
 * Get cache info by id on specified cache type
 *
 * @param int $type
 * @param int $id
 * @return array
 */
function xcache_info($type, $id) {}

/**
 * Get cache entries list by id on specified cache type
 *
 * @param int $type
 * @param int $id
 * @return array
 */
function xcache_list($type, $id) {}

/**
 * Clear cache by id on specified cache type
 *
 * @param int $type
 * @param int $id
 * @return void
 */
function xcache_clear_cache($type, $id = -1) {}

/**
 * @param int $op_type
 * @return string
 */
function xcache_coredump($op_type) {}

/**
 * Coverager Functions
 */

/**
 * @param string $data
 * @return array
 */
function xcache_coverager_decode($data) {}

/**
 * @param bool $clean
 * @return void
 */
function xcache_coverager_start($clean = true) {}

/**
 * @param bool $clean
 * @return void
 */
function xcache_coverager_stop($clean = false) {}

/**
 * @param bool $clean
 * @return array
 */
function xcache_coverager_get($clean = false) {}

/**
 * Opcode Functions
 */

/**
 * @param string $filename
 * @return string
 */
function xcache_asm($filename) {}

/**
 * Disassemble file into opcode array by filename
 *
 * @param string $filename
 * @return string
 */
function xcache_dasm_file($filename) {}

/**
 * Disassemble php code into opcode array
 *
 * @param string $code
 * @return string
 */
function xcache_dasm_string($code) {}

/**
 * Encode php file into XCache opcode encoded format
 *
 * @param string $filename
 * @return string
 */
function xcache_encode($filename) {}

/**
 * Decode(load) opcode from XCache encoded format file
 *
 * @param string $filename
 * @return bool
 */
function xcache_decode($filename) {}

/**
 * @param int $op_type
 * @return string
 */
function xcache_get_op_type($op_type) {}

/**
 * @param int $type
 * @return string
 */
function xcache_get_data_type($type) {}

/**
 * @param int $opcode
 * @return string
 */
function xcache_get_opcode($opcode) {}

/**
 * @param int $op_type
 * @return string
 */
function xcache_get_op_spec($op_type) {}

/**
 * @param int $opcode
 * @return string
 */
function xcache_get_opcode_spec($opcode) {}

/**
 * @param string $name
 * @return string
 */
function xcache_is_autoglobal($name) {}