@exercism/codemirror-lang-zig 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +25 -2
- package/lib/complete.d.ts +7 -0
- package/lib/complete.js +335 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +33 -0
- package/lib/std.d.ts +8 -0
- package/lib/std.js +865 -0
- package/package.json +37 -5
package/lib/std.js
ADDED
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
// Generated from the Zig 0.17.0 standard library by bin/extract-std.py.
|
|
2
|
+
// It holds only public names and signatures.
|
|
3
|
+
export const stdNamespaces = {
|
|
4
|
+
"std": [
|
|
5
|
+
{ "label": "AutoHashMap", "type": "type" },
|
|
6
|
+
{ "label": "AutoHashMapUnmanaged", "type": "type" },
|
|
7
|
+
{ "label": "BitStack", "type": "type" },
|
|
8
|
+
{ "label": "Build", "type": "type" },
|
|
9
|
+
{ "label": "BufMap", "type": "type" },
|
|
10
|
+
{ "label": "BufSet", "type": "type" },
|
|
11
|
+
{ "label": "StaticStringMap", "type": "type" },
|
|
12
|
+
{ "label": "StaticStringMapWithEql", "type": "type" },
|
|
13
|
+
{ "label": "Deque", "type": "type" },
|
|
14
|
+
{ "label": "DoublyLinkedList", "type": "type" },
|
|
15
|
+
{ "label": "DynLib", "type": "type" },
|
|
16
|
+
{ "label": "DynamicBitSet", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
17
|
+
{ "label": "DynamicBitSetUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
18
|
+
{ "label": "EnumArray", "type": "type" },
|
|
19
|
+
{ "label": "EnumMap", "type": "type" },
|
|
20
|
+
{ "label": "EnumSet", "type": "type" },
|
|
21
|
+
{ "label": "HashMap", "type": "type" },
|
|
22
|
+
{ "label": "HashMapUnmanaged", "type": "type" },
|
|
23
|
+
{ "label": "Io", "type": "type" },
|
|
24
|
+
{ "label": "MultiArrayList", "type": "type" },
|
|
25
|
+
{ "label": "PriorityQueue", "type": "type" },
|
|
26
|
+
{ "label": "PriorityDequeue", "type": "type" },
|
|
27
|
+
{ "label": "Progress", "type": "type" },
|
|
28
|
+
{ "label": "Random", "type": "type" },
|
|
29
|
+
{ "label": "SemanticVersion", "type": "type" },
|
|
30
|
+
{ "label": "SinglyLinkedList", "type": "type" },
|
|
31
|
+
{ "label": "StaticBitSet", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
32
|
+
{ "label": "StringHashMap", "type": "type" },
|
|
33
|
+
{ "label": "StringHashMapUnmanaged", "type": "type" },
|
|
34
|
+
{ "label": "Target", "type": "type" },
|
|
35
|
+
{ "label": "Thread", "type": "type" },
|
|
36
|
+
{ "label": "Treap", "type": "type" },
|
|
37
|
+
{ "label": "Tz", "type": "type" },
|
|
38
|
+
{ "label": "Uri", "type": "type" },
|
|
39
|
+
{ "label": "ArrayHashMapUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
40
|
+
{ "label": "AutoArrayHashMapUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
41
|
+
{ "label": "StringArrayHashMapUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
42
|
+
{ "label": "ArrayList", "type": "type", "detail": "(comptime T: type) type" },
|
|
43
|
+
{ "label": "array_list", "type": "namespace" },
|
|
44
|
+
{ "label": "ArrayListAligned", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
45
|
+
{ "label": "ArrayListAlignedUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
46
|
+
{ "label": "ArrayListUnmanaged", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
47
|
+
{ "label": "array_hash_map", "type": "namespace" },
|
|
48
|
+
{ "label": "atomic", "type": "namespace" },
|
|
49
|
+
{ "label": "base64", "type": "namespace" },
|
|
50
|
+
{ "label": "bit_set", "type": "namespace" },
|
|
51
|
+
{ "label": "builtin", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
52
|
+
{ "label": "lang", "type": "namespace" },
|
|
53
|
+
{ "label": "c", "type": "namespace" },
|
|
54
|
+
{ "label": "coff", "type": "namespace" },
|
|
55
|
+
{ "label": "compress", "type": "namespace" },
|
|
56
|
+
{ "label": "static_string_map", "type": "namespace" },
|
|
57
|
+
{ "label": "crypto", "type": "namespace" },
|
|
58
|
+
{ "label": "debug", "type": "namespace" },
|
|
59
|
+
{ "label": "dwarf", "type": "namespace" },
|
|
60
|
+
{ "label": "elf", "type": "namespace" },
|
|
61
|
+
{ "label": "enums", "type": "namespace" },
|
|
62
|
+
{ "label": "fmt", "type": "namespace" },
|
|
63
|
+
{ "label": "fs", "type": "namespace" },
|
|
64
|
+
{ "label": "spirv", "type": "namespace" },
|
|
65
|
+
{ "label": "hash", "type": "namespace" },
|
|
66
|
+
{ "label": "hash_map", "type": "namespace" },
|
|
67
|
+
{ "label": "heap", "type": "namespace" },
|
|
68
|
+
{ "label": "http", "type": "namespace" },
|
|
69
|
+
{ "label": "json", "type": "namespace" },
|
|
70
|
+
{ "label": "leb", "type": "namespace" },
|
|
71
|
+
{ "label": "log", "type": "namespace" },
|
|
72
|
+
{ "label": "macho", "type": "namespace" },
|
|
73
|
+
{ "label": "math", "type": "namespace" },
|
|
74
|
+
{ "label": "mem", "type": "namespace" },
|
|
75
|
+
{ "label": "meta", "type": "namespace" },
|
|
76
|
+
{ "label": "os", "type": "namespace" },
|
|
77
|
+
{ "label": "pdb", "type": "namespace" },
|
|
78
|
+
{ "label": "pie", "type": "namespace" },
|
|
79
|
+
{ "label": "posix", "type": "namespace" },
|
|
80
|
+
{ "label": "process", "type": "namespace" },
|
|
81
|
+
{ "label": "sort", "type": "namespace" },
|
|
82
|
+
{ "label": "simd", "type": "namespace" },
|
|
83
|
+
{ "label": "ascii", "type": "namespace" },
|
|
84
|
+
{ "label": "tar", "type": "namespace" },
|
|
85
|
+
{ "label": "testing", "type": "namespace" },
|
|
86
|
+
{ "label": "time", "type": "namespace" },
|
|
87
|
+
{ "label": "tz", "type": "namespace" },
|
|
88
|
+
{ "label": "unicode", "type": "namespace" },
|
|
89
|
+
{ "label": "valgrind", "type": "namespace" },
|
|
90
|
+
{ "label": "wasm", "type": "namespace" },
|
|
91
|
+
{ "label": "zig", "type": "namespace" },
|
|
92
|
+
{ "label": "zip", "type": "namespace" },
|
|
93
|
+
{ "label": "zon", "type": "namespace" },
|
|
94
|
+
{ "label": "start", "type": "namespace" },
|
|
95
|
+
{ "label": "options", "type": "constant" },
|
|
96
|
+
{ "label": "Options", "type": "type" },
|
|
97
|
+
],
|
|
98
|
+
"std.mem": [
|
|
99
|
+
{ "label": "byte_size_in_bits", "type": "constant" },
|
|
100
|
+
{ "label": "Allocator", "type": "type" },
|
|
101
|
+
{ "label": "Alignment", "type": "type" },
|
|
102
|
+
{ "label": "ValidationAllocator", "type": "type", "detail": "(comptime T: type) type" },
|
|
103
|
+
{ "label": "validationWrap", "type": "function", "detail": "(allocator: anytype) ValidationAllocator(@TypeOf(allocator))" },
|
|
104
|
+
{ "label": "copyForwards", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
105
|
+
{ "label": "copyBackwards", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
106
|
+
{ "label": "copySentinel", "type": "function", "detail": "(comptime T: type, comptime s: T, dest: []T, source: [*:s]const T) usize" },
|
|
107
|
+
{ "label": "copySentinelInclusive", "type": "function", "detail": "(comptime T: type, comptime s: T, dest: []T, source: [*:s]const T) usize" },
|
|
108
|
+
{ "label": "zeroes", "type": "function", "detail": "(comptime T: type) T" },
|
|
109
|
+
{ "label": "zeroInit", "type": "function", "detail": "(comptime T: type, init: anytype) T" },
|
|
110
|
+
{ "label": "sort", "type": "function", "detail": "(comptime T: type, items: []T, context: anytype, comptime lessThanFn: fn (@TypeOf(conte..." },
|
|
111
|
+
{ "label": "sortUnstable", "type": "function", "detail": "(comptime T: type, items: []T, context: anytype, comptime lessThanFn: fn (@TypeOf(conte..." },
|
|
112
|
+
{ "label": "sortContext", "type": "function", "detail": "(a: usize, b: usize, context: anytype) void" },
|
|
113
|
+
{ "label": "sortUnstableContext", "type": "function", "detail": "(a: usize, b: usize, context: anytype) void" },
|
|
114
|
+
{ "label": "order", "type": "function", "detail": "(comptime T: type, lhs: []const T, rhs: []const T) math.Order" },
|
|
115
|
+
{ "label": "orderZ", "type": "function", "detail": "(comptime T: type, lhs: [*:0]const T, rhs: [*:0]const T) math.Order" },
|
|
116
|
+
{ "label": "boundedOrderZ", "type": "function", "detail": "(comptime T: type, lhs: [*:0]const T, rhs: [*:0]const T, bound: usize) math.Order" },
|
|
117
|
+
{ "label": "lessThan", "type": "function", "detail": "(comptime T: type, lhs: []const T, rhs: []const T) bool" },
|
|
118
|
+
{ "label": "lessThanZ", "type": "function", "detail": "(comptime T: type, lhs: [*:0]const T, rhs: [*:0]const T) bool" },
|
|
119
|
+
{ "label": "eql", "type": "function", "detail": "(comptime T: type, a: []const T, b: []const T) bool" },
|
|
120
|
+
{ "label": "indexOfDiff", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
121
|
+
{ "label": "findDiff", "type": "function", "detail": "(comptime T: type, a: []const T, b: []const T) ?usize" },
|
|
122
|
+
{ "label": "span", "type": "function", "detail": "(ptr: anytype) Span(@TypeOf(ptr))" },
|
|
123
|
+
{ "label": "sliceTo", "type": "function", "detail": "(ptr: anytype, comptime end: std.meta.Elem(@TypeOf(ptr))) SliceTo(@TypeOf(ptr), end)" },
|
|
124
|
+
{ "label": "len", "type": "function", "detail": "(value: anytype) usize" },
|
|
125
|
+
{ "label": "indexOfSentinel", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
126
|
+
{ "label": "findSentinel", "type": "function", "detail": "(comptime T: type, comptime sentinel: T, p: [*:sentinel]const T) usize" },
|
|
127
|
+
{ "label": "allEqual", "type": "function", "detail": "(comptime T: type, slice: []const T, scalar: T) bool" },
|
|
128
|
+
{ "label": "trimStart", "type": "function", "detail": "(comptime T: type, slice: []const T, values_to_strip: []const T) []const T" },
|
|
129
|
+
{ "label": "trimEnd", "type": "function", "detail": "(comptime T: type, slice: []const T, values_to_strip: []const T) []const T" },
|
|
130
|
+
{ "label": "trim", "type": "function", "detail": "(comptime T: type, slice: []const T, values_to_strip: []const T) []const T" },
|
|
131
|
+
{ "label": "indexOfScalar", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
132
|
+
{ "label": "findScalar", "type": "function", "detail": "(comptime T: type, slice: []const T, value: T) ?usize" },
|
|
133
|
+
{ "label": "lastIndexOfScalar", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
134
|
+
{ "label": "findScalarLast", "type": "function", "detail": "(comptime T: type, slice: []const T, value: T) ?usize" },
|
|
135
|
+
{ "label": "indexOfScalarPos", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
136
|
+
{ "label": "findScalarPos", "type": "function", "detail": "(comptime T: type, slice: []const T, start_index: usize, value: T) ?usize" },
|
|
137
|
+
{ "label": "indexOfAny", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
138
|
+
{ "label": "findAny", "type": "function", "detail": "(comptime T: type, slice: []const T, values: []const T) ?usize" },
|
|
139
|
+
{ "label": "lastIndexOfAny", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
140
|
+
{ "label": "findLastAny", "type": "function", "detail": "(comptime T: type, slice: []const T, values: []const T) ?usize" },
|
|
141
|
+
{ "label": "indexOfAnyPos", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
142
|
+
{ "label": "findAnyPos", "type": "function", "detail": "(comptime T: type, slice: []const T, start_index: usize, values: []const T) ?usize" },
|
|
143
|
+
{ "label": "indexOfNone", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
144
|
+
{ "label": "findNone", "type": "function", "detail": "(comptime T: type, slice: []const T, values: []const T) ?usize" },
|
|
145
|
+
{ "label": "lastIndexOfNone", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
146
|
+
{ "label": "findLastNone", "type": "function", "detail": "(comptime T: type, slice: []const T, values: []const T) ?usize" },
|
|
147
|
+
{ "label": "indexOfNonePos", "type": "constant" },
|
|
148
|
+
{ "label": "findNonePos", "type": "function", "detail": "(comptime T: type, slice: []const T, start_index: usize, values: []const T) ?usize" },
|
|
149
|
+
{ "label": "indexOf", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
150
|
+
{ "label": "find", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) ?usize" },
|
|
151
|
+
{ "label": "lastIndexOfLinear", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
152
|
+
{ "label": "findLastLinear", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) ?usize" },
|
|
153
|
+
{ "label": "indexOfPosLinear", "type": "constant" },
|
|
154
|
+
{ "label": "findPosLinear", "type": "function", "detail": "(comptime T: type, haystack: []const T, start_index: usize, needle: []const T) ?usize" },
|
|
155
|
+
{ "label": "lastIndexOf", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
156
|
+
{ "label": "findLast", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) ?usize" },
|
|
157
|
+
{ "label": "indexOfPos", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
158
|
+
{ "label": "findPos", "type": "function", "detail": "(comptime T: type, haystack: []const T, start_index: usize, needle: []const T) ?usize" },
|
|
159
|
+
{ "label": "count", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) usize" },
|
|
160
|
+
{ "label": "countScalar", "type": "function", "detail": "(comptime T: type, list: []const T, element: T) usize" },
|
|
161
|
+
{ "label": "containsAtLeast", "type": "function", "detail": "(comptime T: type, haystack: []const T, expected_count: usize, needle: []const T) bool" },
|
|
162
|
+
{ "label": "containsAtLeastScalar", "type": "function", "detail": "(comptime T: type, list: []const T, element: T, minimum: usize) bool" },
|
|
163
|
+
{ "label": "readVarInt", "type": "function", "detail": "(comptime ReturnType: type, bytes: []const u8, endian: Endian) ReturnType" },
|
|
164
|
+
{ "label": "readVarPackedInt", "type": "function", "detail": "(comptime T: type, bytes: []const u8, bit_offset: usize, bit_count: usize, endian: std...." },
|
|
165
|
+
{ "label": "readInt", "type": "function", "detail": "(comptime T: type, buffer: *const [@divExact(@typeInfo(T).int.bits, 8)]u8, endian: Endi..." },
|
|
166
|
+
{ "label": "readPackedInt", "type": "function", "detail": "(comptime T: type, bytes: []const u8, bit_offset: usize, endian: Endian) T" },
|
|
167
|
+
{ "label": "writeInt", "type": "function", "detail": "(comptime T: type, buffer: *[@divExact(@typeInfo(T).int.bits, 8)]u8, value: T, endian: ..." },
|
|
168
|
+
{ "label": "writePackedInt", "type": "function", "detail": "(comptime T: type, bytes: []u8, bit_offset: usize, value: T, endian: Endian) void" },
|
|
169
|
+
{ "label": "writeVarPackedInt", "type": "function", "detail": "(bytes: []u8, bit_offset: usize, bit_count: usize, value: anytype, endian: std.builtin...." },
|
|
170
|
+
{ "label": "byteSwapAllFields", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
171
|
+
{ "label": "byteSwapAllFieldsAligned", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
172
|
+
{ "label": "byteSwap", "type": "function", "detail": "(comptime S: type, ptr: *S) void" },
|
|
173
|
+
{ "label": "byteSwapAligned", "type": "function", "detail": "(comptime S: type, comptime a: Alignment, ptr: *align(a.toByteUnits()) S) void" },
|
|
174
|
+
{ "label": "byteSwapAllElements", "type": "function", "detail": "(comptime Elem: type, slice: []Elem) void" },
|
|
175
|
+
{ "label": "tokenizeAny", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiters: []const T) TokenIterator(T, .any)" },
|
|
176
|
+
{ "label": "tokenizeSequence", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: []const T) TokenIterator(T, .sequence)" },
|
|
177
|
+
{ "label": "tokenizeScalar", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: T) TokenIterator(T, .scalar)" },
|
|
178
|
+
{ "label": "splitSequence", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: []const T) SplitIterator(T, .sequence)" },
|
|
179
|
+
{ "label": "splitAny", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiters: []const T) SplitIterator(T, .any)" },
|
|
180
|
+
{ "label": "splitScalar", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: T) SplitIterator(T, .scalar)" },
|
|
181
|
+
{ "label": "splitBackwardsSequence", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: []const T) SplitBackwardsIterator(T, ...." },
|
|
182
|
+
{ "label": "splitBackwardsAny", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiters: []const T) SplitBackwardsIterator(T, ..." },
|
|
183
|
+
{ "label": "splitBackwardsScalar", "type": "function", "detail": "(comptime T: type, buffer: []const T, delimiter: T) SplitBackwardsIterator(T, .scalar)" },
|
|
184
|
+
{ "label": "window", "type": "function", "detail": "(comptime T: type, buffer: []const T, size: usize, advance: usize) WindowIterator(T)" },
|
|
185
|
+
{ "label": "WindowIterator", "type": "type", "detail": "(comptime T: type) type" },
|
|
186
|
+
{ "label": "startsWith", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) bool" },
|
|
187
|
+
{ "label": "endsWith", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) bool" },
|
|
188
|
+
{ "label": "cutPrefix", "type": "function", "detail": "(comptime T: type, slice: []const T, prefix: []const T) ?[]const T" },
|
|
189
|
+
{ "label": "cutSuffix", "type": "function", "detail": "(comptime T: type, slice: []const T, suffix: []const T) ?[]const T" },
|
|
190
|
+
{ "label": "cut", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) ?struct" },
|
|
191
|
+
{ "label": "cutLast", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: []const T) ?struct" },
|
|
192
|
+
{ "label": "cutScalar", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: T) ?struct" },
|
|
193
|
+
{ "label": "cutScalarLast", "type": "function", "detail": "(comptime T: type, haystack: []const T, needle: T) ?struct" },
|
|
194
|
+
{ "label": "DelimiterType", "type": "type" },
|
|
195
|
+
{ "label": "TokenIterator", "type": "type", "detail": "(comptime T: type, comptime delimiter_type: DelimiterType) type" },
|
|
196
|
+
{ "label": "SplitIterator", "type": "type", "detail": "(comptime T: type, comptime delimiter_type: DelimiterType) type" },
|
|
197
|
+
{ "label": "SplitBackwardsIterator", "type": "type", "detail": "(comptime T: type, comptime delimiter_type: DelimiterType) type" },
|
|
198
|
+
{ "label": "join", "type": "function", "detail": "(allocator: Allocator, separator: []const u8, slices: []const []const u8) Allocator.Err..." },
|
|
199
|
+
{ "label": "joinZ", "type": "function", "detail": "(allocator: Allocator, separator: []const u8, slices: []const []const u8) Allocator.Err..." },
|
|
200
|
+
{ "label": "concat", "type": "function", "detail": "(allocator: Allocator, comptime T: type, slices: []const []const T) Allocator.Error![]T" },
|
|
201
|
+
{ "label": "concatWithSentinel", "type": "function", "detail": "(allocator: Allocator, comptime T: type, slices: []const []const T, comptime s: T) Allo..." },
|
|
202
|
+
{ "label": "concatMaybeSentinel", "type": "function", "detail": "(allocator: Allocator, comptime T: type, slices: []const []const T, comptime s: ?T) All..." },
|
|
203
|
+
{ "label": "min", "type": "function", "detail": "(comptime T: type, slice: []const T) T" },
|
|
204
|
+
{ "label": "max", "type": "function", "detail": "(comptime T: type, slice: []const T) T" },
|
|
205
|
+
{ "label": "minMax", "type": "function", "detail": "(comptime T: type, slice: []const T) struct" },
|
|
206
|
+
{ "label": "indexOfMin", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
207
|
+
{ "label": "findMin", "type": "function", "detail": "(comptime T: type, slice: []const T) usize" },
|
|
208
|
+
{ "label": "indexOfMax", "type": "constant" },
|
|
209
|
+
{ "label": "findMax", "type": "function", "detail": "(comptime T: type, slice: []const T) usize" },
|
|
210
|
+
{ "label": "indexOfMinMax", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
211
|
+
{ "label": "findMinMax", "type": "function", "detail": "(comptime T: type, slice: []const T) struct" },
|
|
212
|
+
{ "label": "swap", "type": "function", "detail": "(comptime T: type, noalias a: *T, noalias b: *T) void" },
|
|
213
|
+
{ "label": "reverse", "type": "function", "detail": "(comptime T: type, items: []T) void" },
|
|
214
|
+
{ "label": "ReverseIterator", "type": "type", "detail": "(comptime T: type) type" },
|
|
215
|
+
{ "label": "reverseIterator", "type": "function", "detail": "(slice: anytype) ReverseIterator(@TypeOf(slice))" },
|
|
216
|
+
{ "label": "rotate", "type": "function", "detail": "(comptime T: type, items: []T, amount: usize) void" },
|
|
217
|
+
{ "label": "replace", "type": "function", "detail": "(comptime T: type, input: []const T, needle: []const T, replacement: []const T, output:..." },
|
|
218
|
+
{ "label": "replaceScalar", "type": "function", "detail": "(comptime T: type, slice: []T, match: T, replacement: T) void" },
|
|
219
|
+
{ "label": "collapseRepeatsLen", "type": "function", "detail": "(comptime T: type, slice: []T, elem: T) usize" },
|
|
220
|
+
{ "label": "collapseRepeats", "type": "function", "detail": "(comptime T: type, slice: []T, elem: T) []T" },
|
|
221
|
+
{ "label": "replacementSize", "type": "function", "detail": "(comptime T: type, input: []const T, needle: []const T, replacement: []const T) usize" },
|
|
222
|
+
{ "label": "replaceOwned", "type": "function", "detail": "(comptime T: type, allocator: Allocator, input: []const T, needle: []const T, replaceme..." },
|
|
223
|
+
{ "label": "littleToNative", "type": "function", "detail": "(comptime T: type, x: T) T" },
|
|
224
|
+
{ "label": "bigToNative", "type": "function", "detail": "(comptime T: type, x: T) T" },
|
|
225
|
+
{ "label": "toNative", "type": "function", "detail": "(comptime T: type, x: T, endianness_of_x: Endian) T" },
|
|
226
|
+
{ "label": "nativeTo", "type": "function", "detail": "(comptime T: type, x: T, desired_endianness: Endian) T" },
|
|
227
|
+
{ "label": "nativeToLittle", "type": "function", "detail": "(comptime T: type, x: T) T" },
|
|
228
|
+
{ "label": "nativeToBig", "type": "function", "detail": "(comptime T: type, x: T) T" },
|
|
229
|
+
{ "label": "alignPointerOffset", "type": "function", "detail": "(ptr: anytype, align_to: usize) ?usize" },
|
|
230
|
+
{ "label": "alignPointer", "type": "function", "detail": "(ptr: anytype, align_to: usize) ?@TypeOf(ptr)" },
|
|
231
|
+
{ "label": "asBytes", "type": "function", "detail": "(ptr: anytype) AsBytesReturnType(@TypeOf(ptr))" },
|
|
232
|
+
{ "label": "toBytes", "type": "function", "detail": "(value: anytype) [@sizeOf(@TypeOf(value))]u8" },
|
|
233
|
+
{ "label": "bytesAsValue", "type": "function", "detail": "(comptime T: type, bytes: anytype) BytesAsValueReturnType(T, @TypeOf(bytes))" },
|
|
234
|
+
{ "label": "bytesToValue", "type": "function", "detail": "(comptime T: type, bytes: anytype) T" },
|
|
235
|
+
{ "label": "bytesAsSlice", "type": "function", "detail": "(comptime T: type, bytes: anytype) BytesAsSliceReturnType(T, @TypeOf(bytes))" },
|
|
236
|
+
{ "label": "sliceAsBytes", "type": "function", "detail": "(slice: anytype) SliceAsBytesReturnType(@TypeOf(slice))" },
|
|
237
|
+
{ "label": "absorbSentinel", "type": "function", "detail": "(slice: anytype) AbsorbSentinel(@TypeOf(slice))" },
|
|
238
|
+
{ "label": "alignForwardAnyAlign", "type": "function", "detail": "(comptime T: type, addr: T, alignment: T) T" },
|
|
239
|
+
{ "label": "alignForward", "type": "function", "detail": "(comptime T: type, addr: T, alignment: T) T" },
|
|
240
|
+
{ "label": "alignForwardLog2", "type": "function", "detail": "(addr: usize, log2_alignment: u8) usize" },
|
|
241
|
+
{ "label": "doNotOptimizeAway", "type": "function", "detail": "(val: anytype) void" },
|
|
242
|
+
{ "label": "alignBackwardAnyAlign", "type": "function", "detail": "(comptime T: type, addr: T, alignment: T) T" },
|
|
243
|
+
{ "label": "alignBackward", "type": "function", "detail": "(comptime T: type, addr: T, alignment: T) T" },
|
|
244
|
+
{ "label": "isValidAlign", "type": "function", "detail": "(alignment: usize) bool" },
|
|
245
|
+
{ "label": "isValidAlignGeneric", "type": "function", "detail": "(comptime T: type, alignment: T) bool" },
|
|
246
|
+
{ "label": "isAlignedAnyAlign", "type": "function", "detail": "(i: usize, alignment: usize) bool" },
|
|
247
|
+
{ "label": "isAlignedLog2", "type": "function", "detail": "(addr: usize, log2_alignment: u8) bool" },
|
|
248
|
+
{ "label": "isAligned", "type": "function", "detail": "(addr: usize, alignment: usize) bool" },
|
|
249
|
+
{ "label": "isAlignedGeneric", "type": "function", "detail": "(comptime T: type, addr: T, alignment: T) bool" },
|
|
250
|
+
{ "label": "alignInBytes", "type": "function", "detail": "(bytes: []u8, comptime new_alignment: usize) ?[]align(new_alignment) u8" },
|
|
251
|
+
{ "label": "alignInSlice", "type": "function", "detail": "(slice: anytype, comptime new_alignment: usize) ?AlignedSlice(@TypeOf(slice), new_align..." },
|
|
252
|
+
{ "label": "PrintError", "type": "type" },
|
|
253
|
+
{ "label": "print", "type": "function", "detail": "(buffer: []u8, comptime format: []const u8, args: anytype) PrintError![]u8" },
|
|
254
|
+
{ "label": "printSentinel", "type": "function", "detail": "(buffer: []u8, comptime format: []const u8, args: anytype, comptime sentinel: u8) Print..." },
|
|
255
|
+
],
|
|
256
|
+
"std.fmt": [
|
|
257
|
+
{ "label": "float", "type": "namespace" },
|
|
258
|
+
{ "label": "default_max_depth", "type": "constant" },
|
|
259
|
+
{ "label": "Alignment", "type": "type" },
|
|
260
|
+
{ "label": "Case", "type": "type" },
|
|
261
|
+
{ "label": "Options", "type": "type" },
|
|
262
|
+
{ "label": "Number", "type": "type" },
|
|
263
|
+
{ "label": "Placeholder", "type": "type" },
|
|
264
|
+
{ "label": "Specifier", "type": "type" },
|
|
265
|
+
{ "label": "Parser", "type": "type" },
|
|
266
|
+
{ "label": "ArgSetType", "type": "type" },
|
|
267
|
+
{ "label": "ArgState", "type": "type" },
|
|
268
|
+
{ "label": "printInt", "type": "function", "detail": "(buffer: []u8, value: anytype, base: u8, case: Case, options: Options) usize" },
|
|
269
|
+
{ "label": "digits2", "type": "function", "detail": "(value: u8) [2]u8" },
|
|
270
|
+
{ "label": "Alt", "type": "type", "detail": "(comptime Data: type, comptime formatFn: fn (data: Data, writer: *Writer) Writer.Error!..." },
|
|
271
|
+
{ "label": "alt", "type": "function", "detail": "(context: anytype, comptime func_name: @EnumLiteral()) Alt(@TypeOf(context), @field(@Ty..." },
|
|
272
|
+
{ "label": "ParseIntError", "type": "type" },
|
|
273
|
+
{ "label": "parseInt", "type": "function", "detail": "(comptime T: type, buf: []const u8, base: u8) ParseIntError!T" },
|
|
274
|
+
{ "label": "parseIntWithGenericCharacter", "type": "function", "detail": "(comptime Result: type, comptime Character: type, buf: []const Character, base: u8) Par..." },
|
|
275
|
+
{ "label": "parseUnsigned", "type": "function", "detail": "(comptime T: type, buf: []const u8, base: u8) ParseIntError!T" },
|
|
276
|
+
{ "label": "parseIntSizeSuffix", "type": "function", "detail": "(buf: []const u8, digit_base: u8) ParseIntError!usize" },
|
|
277
|
+
{ "label": "parseFloat", "type": "function" },
|
|
278
|
+
{ "label": "ParseFloatError", "type": "type" },
|
|
279
|
+
{ "label": "charToDigit", "type": "function", "detail": "(c: u8, base: u8) (error{InvalidCharacter}!u8)" },
|
|
280
|
+
{ "label": "digitToChar", "type": "function", "detail": "(digit: u8, case: Case) u8" },
|
|
281
|
+
{ "label": "BufPrintError", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
282
|
+
{ "label": "bufPrint", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
283
|
+
{ "label": "bufPrintSentinel", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
284
|
+
{ "label": "count", "type": "function", "detail": "(comptime fmt: []const u8, args: anytype) usize" },
|
|
285
|
+
{ "label": "allocPrint", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
286
|
+
{ "label": "allocPrintSentinel", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
287
|
+
{ "label": "comptimePrint", "type": "function", "detail": "(comptime fmt: []const u8, args: anytype) *const [count(fmt, args):0]u8" },
|
|
288
|
+
{ "label": "bytesToHex", "type": "function", "detail": "(input: anytype, case: Case) [input.len * 2]u8" },
|
|
289
|
+
{ "label": "hexToBytes", "type": "function", "detail": "(out: []u8, input: []const u8) ![]u8" },
|
|
290
|
+
{ "label": "hex_charset", "type": "constant" },
|
|
291
|
+
{ "label": "hex", "type": "function", "detail": "(x: anytype) [@typeInfo(@TypeOf(x)).int.bits / 4]u8" },
|
|
292
|
+
],
|
|
293
|
+
"std.ascii": [
|
|
294
|
+
{ "label": "lowercase", "type": "constant" },
|
|
295
|
+
{ "label": "uppercase", "type": "constant" },
|
|
296
|
+
{ "label": "letters", "type": "constant" },
|
|
297
|
+
{ "label": "control_code", "type": "constant" },
|
|
298
|
+
{ "label": "isAlphanumeric", "type": "function", "detail": "(c: u8) bool" },
|
|
299
|
+
{ "label": "isAlphabetic", "type": "function", "detail": "(c: u8) bool" },
|
|
300
|
+
{ "label": "isControl", "type": "function", "detail": "(c: u8) bool" },
|
|
301
|
+
{ "label": "isDigit", "type": "function", "detail": "(c: u8) bool" },
|
|
302
|
+
{ "label": "isLower", "type": "function", "detail": "(c: u8) bool" },
|
|
303
|
+
{ "label": "isPrint", "type": "function", "detail": "(c: u8) bool" },
|
|
304
|
+
{ "label": "isGraphical", "type": "function", "detail": "(c: u8) bool" },
|
|
305
|
+
{ "label": "isPunctuation", "type": "function", "detail": "(c: u8) bool" },
|
|
306
|
+
{ "label": "isWhitespace", "type": "function", "detail": "(c: u8) bool" },
|
|
307
|
+
{ "label": "whitespace", "type": "constant" },
|
|
308
|
+
{ "label": "isUpper", "type": "function", "detail": "(c: u8) bool" },
|
|
309
|
+
{ "label": "isHex", "type": "function", "detail": "(c: u8) bool" },
|
|
310
|
+
{ "label": "isAscii", "type": "function", "detail": "(c: u8) bool" },
|
|
311
|
+
{ "label": "toUpper", "type": "function", "detail": "(c: u8) u8" },
|
|
312
|
+
{ "label": "toLower", "type": "function", "detail": "(c: u8) u8" },
|
|
313
|
+
{ "label": "lowerString", "type": "function", "detail": "(output: []u8, ascii_string: []const u8) []u8" },
|
|
314
|
+
{ "label": "allocLowerString", "type": "function", "detail": "(allocator: std.mem.Allocator, ascii_string: []const u8) ![]u8" },
|
|
315
|
+
{ "label": "upperString", "type": "function", "detail": "(output: []u8, ascii_string: []const u8) []u8" },
|
|
316
|
+
{ "label": "allocUpperString", "type": "function", "detail": "(allocator: std.mem.Allocator, ascii_string: []const u8) ![]u8" },
|
|
317
|
+
{ "label": "eqlIgnoreCase", "type": "function", "detail": "(a: []const u8, b: []const u8) bool" },
|
|
318
|
+
{ "label": "startsWithIgnoreCase", "type": "function", "detail": "(haystack: []const u8, needle: []const u8) bool" },
|
|
319
|
+
{ "label": "endsWithIgnoreCase", "type": "function", "detail": "(haystack: []const u8, needle: []const u8) bool" },
|
|
320
|
+
{ "label": "findIgnoreCase", "type": "function", "detail": "(haystack: []const u8, needle: []const u8) ?usize" },
|
|
321
|
+
{ "label": "findIgnoreCasePos", "type": "function", "detail": "(haystack: []const u8, start_index: usize, needle: []const u8) ?usize" },
|
|
322
|
+
{ "label": "findIgnoreCasePosLinear", "type": "function", "detail": "(haystack: []const u8, start_index: usize, needle: []const u8) ?usize" },
|
|
323
|
+
{ "label": "orderIgnoreCase", "type": "function", "detail": "(lhs: []const u8, rhs: []const u8) std.math.Order" },
|
|
324
|
+
{ "label": "orderIgnoreCaseZ", "type": "function", "detail": "(lhs: [*:0]const u8, rhs: [*:0]const u8) std.math.Order" },
|
|
325
|
+
{ "label": "boundedOrderIgnoreCaseZ", "type": "function", "detail": "(lhs: [*:0]const u8, rhs: [*:0]const u8, bound: usize) std.math.Order" },
|
|
326
|
+
{ "label": "lessThanIgnoreCase", "type": "function", "detail": "(lhs: []const u8, rhs: []const u8) bool" },
|
|
327
|
+
{ "label": "HexEscape", "type": "type" },
|
|
328
|
+
{ "label": "hexEscape", "type": "function", "detail": "(bytes: []const u8, case: std.fmt.Case) HexEscape" },
|
|
329
|
+
],
|
|
330
|
+
"std.math": [
|
|
331
|
+
{ "label": "e", "type": "constant" },
|
|
332
|
+
{ "label": "pi", "type": "constant" },
|
|
333
|
+
{ "label": "phi", "type": "constant" },
|
|
334
|
+
{ "label": "tau", "type": "constant" },
|
|
335
|
+
{ "label": "log2e", "type": "constant" },
|
|
336
|
+
{ "label": "log10e", "type": "constant" },
|
|
337
|
+
{ "label": "ln2", "type": "constant" },
|
|
338
|
+
{ "label": "ln10", "type": "constant" },
|
|
339
|
+
{ "label": "two_sqrtpi", "type": "constant" },
|
|
340
|
+
{ "label": "sqrt2", "type": "constant" },
|
|
341
|
+
{ "label": "sqrt1_2", "type": "constant" },
|
|
342
|
+
{ "label": "rad_per_deg", "type": "constant" },
|
|
343
|
+
{ "label": "deg_per_rad", "type": "constant" },
|
|
344
|
+
{ "label": "Sign", "type": "type" },
|
|
345
|
+
{ "label": "FloatRepr", "type": "type" },
|
|
346
|
+
{ "label": "floatExponentBits", "type": "function" },
|
|
347
|
+
{ "label": "floatMantissaBits", "type": "function" },
|
|
348
|
+
{ "label": "floatFractionalBits", "type": "function" },
|
|
349
|
+
{ "label": "floatExponentMin", "type": "function" },
|
|
350
|
+
{ "label": "floatExponentMax", "type": "function" },
|
|
351
|
+
{ "label": "floatTrueMin", "type": "function" },
|
|
352
|
+
{ "label": "floatMin", "type": "function" },
|
|
353
|
+
{ "label": "floatMax", "type": "function" },
|
|
354
|
+
{ "label": "floatEps", "type": "function" },
|
|
355
|
+
{ "label": "floatEpsAt", "type": "function" },
|
|
356
|
+
{ "label": "inf", "type": "function" },
|
|
357
|
+
{ "label": "long_double", "type": "function" },
|
|
358
|
+
{ "label": "nan", "type": "function" },
|
|
359
|
+
{ "label": "snan", "type": "function" },
|
|
360
|
+
{ "label": "approxEqAbs", "type": "function", "detail": "(comptime T: type, x: T, y: T, tolerance: T) bool" },
|
|
361
|
+
{ "label": "approxEqRel", "type": "function", "detail": "(comptime T: type, x: T, y: T, tolerance: T) bool" },
|
|
362
|
+
{ "label": "raiseInvalid", "type": "function", "detail": "() void" },
|
|
363
|
+
{ "label": "raiseUnderflow", "type": "function", "detail": "() void" },
|
|
364
|
+
{ "label": "raiseOverflow", "type": "function", "detail": "() void" },
|
|
365
|
+
{ "label": "raiseInexact", "type": "function", "detail": "() void" },
|
|
366
|
+
{ "label": "raiseDivByZero", "type": "function", "detail": "() void" },
|
|
367
|
+
{ "label": "isNan", "type": "function" },
|
|
368
|
+
{ "label": "isSignalNan", "type": "function" },
|
|
369
|
+
{ "label": "frexp", "type": "function" },
|
|
370
|
+
{ "label": "Frexp", "type": "type" },
|
|
371
|
+
{ "label": "modf", "type": "function" },
|
|
372
|
+
{ "label": "Modf", "type": "type" },
|
|
373
|
+
{ "label": "copysign", "type": "function" },
|
|
374
|
+
{ "label": "isFinite", "type": "function" },
|
|
375
|
+
{ "label": "isInf", "type": "function" },
|
|
376
|
+
{ "label": "isPositiveInf", "type": "function" },
|
|
377
|
+
{ "label": "isNegativeInf", "type": "function" },
|
|
378
|
+
{ "label": "isPositiveZero", "type": "function" },
|
|
379
|
+
{ "label": "isNegativeZero", "type": "function" },
|
|
380
|
+
{ "label": "isNormal", "type": "function" },
|
|
381
|
+
{ "label": "nextAfter", "type": "function" },
|
|
382
|
+
{ "label": "signbit", "type": "function" },
|
|
383
|
+
{ "label": "scalbn", "type": "function" },
|
|
384
|
+
{ "label": "ldexp", "type": "function" },
|
|
385
|
+
{ "label": "pow", "type": "function" },
|
|
386
|
+
{ "label": "powi", "type": "function" },
|
|
387
|
+
{ "label": "sqrt", "type": "function" },
|
|
388
|
+
{ "label": "cbrt", "type": "function" },
|
|
389
|
+
{ "label": "acos", "type": "function" },
|
|
390
|
+
{ "label": "asin", "type": "function" },
|
|
391
|
+
{ "label": "atan", "type": "function" },
|
|
392
|
+
{ "label": "atan2", "type": "function" },
|
|
393
|
+
{ "label": "hypot", "type": "function" },
|
|
394
|
+
{ "label": "expm1", "type": "function" },
|
|
395
|
+
{ "label": "ilogb", "type": "function" },
|
|
396
|
+
{ "label": "log", "type": "function" },
|
|
397
|
+
{ "label": "log2", "type": "function" },
|
|
398
|
+
{ "label": "log10", "type": "function" },
|
|
399
|
+
{ "label": "log10_int", "type": "function" },
|
|
400
|
+
{ "label": "log_int", "type": "function" },
|
|
401
|
+
{ "label": "log1p", "type": "function" },
|
|
402
|
+
{ "label": "asinh", "type": "function" },
|
|
403
|
+
{ "label": "acosh", "type": "function" },
|
|
404
|
+
{ "label": "atanh", "type": "function" },
|
|
405
|
+
{ "label": "sinh", "type": "function" },
|
|
406
|
+
{ "label": "cosh", "type": "function" },
|
|
407
|
+
{ "label": "tanh", "type": "function" },
|
|
408
|
+
{ "label": "gcd", "type": "function" },
|
|
409
|
+
{ "label": "lcm", "type": "function" },
|
|
410
|
+
{ "label": "gamma", "type": "function" },
|
|
411
|
+
{ "label": "lgamma", "type": "function" },
|
|
412
|
+
{ "label": "sin", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
413
|
+
{ "label": "cos", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
414
|
+
{ "label": "tan", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
415
|
+
{ "label": "radiansToDegrees", "type": "function", "detail": "(ang: anytype) if (@TypeOf(ang) == comptime_int) comptime_float else @TypeOf(ang)" },
|
|
416
|
+
{ "label": "degreesToRadians", "type": "function", "detail": "(ang: anytype) if (@TypeOf(ang) == comptime_int) comptime_float else @TypeOf(ang)" },
|
|
417
|
+
{ "label": "exp", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
418
|
+
{ "label": "exp2", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
419
|
+
{ "label": "complex", "type": "namespace" },
|
|
420
|
+
{ "label": "Complex", "type": "type" },
|
|
421
|
+
{ "label": "big", "type": "namespace" },
|
|
422
|
+
{ "label": "Min", "type": "type", "detail": "(comptime A: type, comptime B: type) type" },
|
|
423
|
+
{ "label": "wrap", "type": "function", "detail": "(x: anytype, r: anytype) @TypeOf(x)" },
|
|
424
|
+
{ "label": "clamp", "type": "function", "detail": "(val: anytype, lower: anytype, upper: anytype) @TypeOf(val, lower, upper)" },
|
|
425
|
+
{ "label": "mul", "type": "function", "detail": "(comptime T: type, a: T, b: T) (error{Overflow}!T)" },
|
|
426
|
+
{ "label": "add", "type": "function", "detail": "(comptime T: type, a: T, b: T) (error{Overflow}!T)" },
|
|
427
|
+
{ "label": "sub", "type": "function", "detail": "(comptime T: type, a: T, b: T) (error{Overflow}!T)" },
|
|
428
|
+
{ "label": "negate", "type": "function", "detail": "(x: anytype) !@TypeOf(x)" },
|
|
429
|
+
{ "label": "shlExact", "type": "function", "detail": "(comptime T: type, a: T, shift_amt: Log2Int(T)) !T" },
|
|
430
|
+
{ "label": "shl", "type": "function", "detail": "(comptime T: type, a: T, shift_amt: anytype) T" },
|
|
431
|
+
{ "label": "shr", "type": "function", "detail": "(comptime T: type, a: T, shift_amt: anytype) T" },
|
|
432
|
+
{ "label": "rotr", "type": "function", "detail": "(comptime T: type, x: T, r: anytype) T" },
|
|
433
|
+
{ "label": "rotl", "type": "function", "detail": "(comptime T: type, x: T, r: anytype) T" },
|
|
434
|
+
{ "label": "Log2Int", "type": "type", "detail": "(comptime T: type) type" },
|
|
435
|
+
{ "label": "Log2IntCeil", "type": "type", "detail": "(comptime T: type) type" },
|
|
436
|
+
{ "label": "IntFittingRange", "type": "type", "detail": "(comptime from: comptime_int, comptime to: comptime_int) type" },
|
|
437
|
+
{ "label": "divTrunc", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
438
|
+
{ "label": "divFloor", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
439
|
+
{ "label": "divCeil", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
440
|
+
{ "label": "divExact", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
441
|
+
{ "label": "mod", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
442
|
+
{ "label": "rem", "type": "function", "detail": "(comptime T: type, numerator: T, denominator: T) !T" },
|
|
443
|
+
{ "label": "negateCast", "type": "function", "detail": "(x: anytype) !@Int(.signed, @bitSizeOf(@TypeOf(x)))" },
|
|
444
|
+
{ "label": "cast", "type": "function", "detail": "(comptime T: type, x: anytype) ?T" },
|
|
445
|
+
{ "label": "AlignCastError", "type": "type" },
|
|
446
|
+
{ "label": "alignCast", "type": "function", "detail": "(comptime alignment: Alignment, ptr: anytype) AlignCastError!AlignCastResult(alignment,..." },
|
|
447
|
+
{ "label": "isPowerOfTwo", "type": "function", "detail": "(int: anytype) bool" },
|
|
448
|
+
{ "label": "ByteAlignedInt", "type": "type", "detail": "(comptime T: type) type" },
|
|
449
|
+
{ "label": "round", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
450
|
+
{ "label": "trunc", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
451
|
+
{ "label": "floor", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
452
|
+
{ "label": "floorPowerOfTwo", "type": "function", "detail": "(comptime T: type, value: T) T" },
|
|
453
|
+
{ "label": "ceil", "type": "function", "detail": "(value: anytype) @TypeOf(value)" },
|
|
454
|
+
{ "label": "ceilPowerOfTwoPromote", "type": "function", "detail": "(comptime T: type, value: T) @Int(@typeInfo(T).int.signedness, @typeInfo(T).int.bits + 1)" },
|
|
455
|
+
{ "label": "ceilPowerOfTwo", "type": "function", "detail": "(comptime T: type, value: T) (error{Overflow}!T)" },
|
|
456
|
+
{ "label": "ceilPowerOfTwoAssert", "type": "function", "detail": "(comptime T: type, value: T) T" },
|
|
457
|
+
{ "label": "log2_int", "type": "function", "detail": "(comptime T: type, x: T) Log2Int(T)" },
|
|
458
|
+
{ "label": "log2_int_ceil", "type": "function", "detail": "(comptime T: type, x: T) Log2IntCeil(T)" },
|
|
459
|
+
{ "label": "lossyCast", "type": "function", "detail": "(comptime T: type, value: anytype) T" },
|
|
460
|
+
{ "label": "lerp", "type": "function", "detail": "(a: anytype, b: anytype, t: anytype) @TypeOf(a, b, t)" },
|
|
461
|
+
{ "label": "maxInt", "type": "function", "detail": "(comptime T: type) comptime_int" },
|
|
462
|
+
{ "label": "minInt", "type": "function", "detail": "(comptime T: type) comptime_int" },
|
|
463
|
+
{ "label": "mulWide", "type": "function", "detail": "(comptime T: type, a: T, b: T) @Int(@typeInfo(T).int.signedness, @typeInfo(T).int.bits ..." },
|
|
464
|
+
{ "label": "Order", "type": "type" },
|
|
465
|
+
{ "label": "order", "type": "function", "detail": "(a: anytype, b: anytype) Order" },
|
|
466
|
+
{ "label": "CompareOperator", "type": "type" },
|
|
467
|
+
{ "label": "compare", "type": "function", "detail": "(a: anytype, op: CompareOperator, b: anytype) bool" },
|
|
468
|
+
{ "label": "boolMask", "type": "function", "detail": "(comptime MaskInt: type, value: bool) MaskInt" },
|
|
469
|
+
{ "label": "comptimeMod", "type": "function", "detail": "(num: anytype, comptime denom: comptime_int) IntFittingRange(0, denom - 1)" },
|
|
470
|
+
{ "label": "F80", "type": "type" },
|
|
471
|
+
{ "label": "sign", "type": "function", "detail": "(n: anytype) SignOf(@TypeOf(n))" },
|
|
472
|
+
{ "label": "signExtend", "type": "function", "detail": "(To: type, n: anytype) To" },
|
|
473
|
+
],
|
|
474
|
+
"std.testing": [
|
|
475
|
+
{ "label": "random_seed", "type": "constant" },
|
|
476
|
+
{ "label": "FailingAllocator", "type": "type" },
|
|
477
|
+
{ "label": "failing_allocator", "type": "constant" },
|
|
478
|
+
{ "label": "allocator_instance", "type": "constant" },
|
|
479
|
+
{ "label": "allocator", "type": "constant" },
|
|
480
|
+
{ "label": "io_instance", "type": "constant" },
|
|
481
|
+
{ "label": "io", "type": "constant" },
|
|
482
|
+
{ "label": "environ", "type": "constant" },
|
|
483
|
+
{ "label": "log_level", "type": "function" },
|
|
484
|
+
{ "label": "backend_can_print", "type": "constant" },
|
|
485
|
+
{ "label": "failPrint", "type": "function", "detail": "(comptime fmt: []const u8, args: anytype) void" },
|
|
486
|
+
{ "label": "expectEqual", "type": "function", "detail": "(expected: anytype, actual: anytype) !void" },
|
|
487
|
+
{ "label": "expectApproxEqAbs", "type": "function", "detail": "(expected: anytype, actual: anytype, tolerance: anytype) !void" },
|
|
488
|
+
{ "label": "expectApproxEqRel", "type": "function", "detail": "(expected: anytype, actual: anytype, tolerance: anytype) !void" },
|
|
489
|
+
{ "label": "expectEqualSlices", "type": "function", "detail": "(comptime T: type, expected: []const T, actual: []const T) !void" },
|
|
490
|
+
{ "label": "expectEqualSentinel", "type": "function", "detail": "(comptime T: type, comptime sentinel: T, expected: [:sentinel]const T, actual: [:sentin..." },
|
|
491
|
+
{ "label": "expect", "type": "function", "detail": "(ok: bool) !void" },
|
|
492
|
+
{ "label": "TmpDir", "type": "type" },
|
|
493
|
+
{ "label": "tmpDir", "type": "function", "detail": "(opts: Io.Dir.OpenOptions) TmpDir" },
|
|
494
|
+
{ "label": "expectError", "type": "function", "detail": "(expected_error: anyerror, actual_error_union: anytype) !void" },
|
|
495
|
+
{ "label": "expectFmt", "type": "function", "detail": "(expected: []const u8, comptime template: []const u8, args: anytype) !void" },
|
|
496
|
+
{ "label": "expectEqualStrings", "type": "function", "detail": "(expected: []const u8, actual: []const u8) !void" },
|
|
497
|
+
{ "label": "expectStringStartsWith", "type": "function", "detail": "(actual: []const u8, expected_starts_with: []const u8) !void" },
|
|
498
|
+
{ "label": "expectStringEndsWith", "type": "function", "detail": "(actual: []const u8, expected_ends_with: []const u8) !void" },
|
|
499
|
+
{ "label": "expectEqualDeep", "type": "function", "detail": "(expected: anytype, actual: anytype) error{TestExpectedEqual}!void" },
|
|
500
|
+
{ "label": "failPrintIndicatorLine", "type": "function", "detail": "(source: []const u8, indicator_index: usize) void" },
|
|
501
|
+
{ "label": "failPrintWithVisibleNewlines", "type": "function", "detail": "(source: []const u8) void" },
|
|
502
|
+
{ "label": "failPrintLine", "type": "function", "detail": "(line: []const u8) void" },
|
|
503
|
+
{ "label": "checkAllAllocationFailures", "type": "function", "detail": "(backing_allocator: std.mem.Allocator, comptime test_fn: anytype, extra_args: CheckAllA..." },
|
|
504
|
+
{ "label": "refAllDecls", "type": "function", "detail": "(comptime T: type) void" },
|
|
505
|
+
{ "label": "Smith", "type": "type" },
|
|
506
|
+
{ "label": "FuzzInputOptions", "type": "type" },
|
|
507
|
+
{ "label": "fuzz", "type": "function", "detail": "(context: anytype, comptime testOne: fn (context: @TypeOf(context), smith: *Smith) anye..." },
|
|
508
|
+
{ "label": "Reader", "type": "type" },
|
|
509
|
+
{ "label": "ReaderIndirect", "type": "type" },
|
|
510
|
+
{ "label": "WriterIndirect", "type": "type" },
|
|
511
|
+
],
|
|
512
|
+
"std.debug": [
|
|
513
|
+
{ "label": "Dwarf", "type": "type" },
|
|
514
|
+
{ "label": "Pdb", "type": "type" },
|
|
515
|
+
{ "label": "ElfFile", "type": "type" },
|
|
516
|
+
{ "label": "MachOFile", "type": "type" },
|
|
517
|
+
{ "label": "Info", "type": "type" },
|
|
518
|
+
{ "label": "Coverage", "type": "type" },
|
|
519
|
+
{ "label": "cpu_context", "type": "namespace" },
|
|
520
|
+
{ "label": "SelfInfo", "type": "type" },
|
|
521
|
+
{ "label": "TargetInfo", "type": "type", "detail": "(os: std.Target.Os.Tag, arch: std.Target.Cpu.Arch) type" },
|
|
522
|
+
{ "label": "SelfInfoError", "type": "type" },
|
|
523
|
+
{ "label": "simple_panic", "type": "namespace" },
|
|
524
|
+
{ "label": "no_panic", "type": "namespace" },
|
|
525
|
+
{ "label": "FullPanic", "type": "type", "detail": "(comptime panicFn: fn ([]const u8, ?usize) noreturn) type" },
|
|
526
|
+
{ "label": "SourceLocation", "type": "type" },
|
|
527
|
+
{ "label": "Symbol", "type": "type" },
|
|
528
|
+
{ "label": "runtime_safety", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
529
|
+
{ "label": "sys_can_stack_trace", "type": "constant" },
|
|
530
|
+
{ "label": "lockStderr", "type": "function", "detail": "(buffer: []u8) Io.LockedStderr" },
|
|
531
|
+
{ "label": "unlockStderr", "type": "function", "detail": "() void" },
|
|
532
|
+
{ "label": "print", "type": "function", "detail": "(comptime fmt: []const u8, args: anytype) void" },
|
|
533
|
+
{ "label": "getSelfDebugInfo", "type": "function", "detail": "() !*SelfInfo" },
|
|
534
|
+
{ "label": "dumpHex", "type": "function", "detail": "(bytes: []const u8) void" },
|
|
535
|
+
{ "label": "dumpHexFallible", "type": "function", "detail": "(t: Io.Terminal, bytes: []const u8) !void" },
|
|
536
|
+
{ "label": "CpuContextPtr", "type": "type" },
|
|
537
|
+
{ "label": "assert", "type": "function", "detail": "(ok: bool) void" },
|
|
538
|
+
{ "label": "assertReadable", "type": "function", "detail": "(slice: []const volatile u8) void" },
|
|
539
|
+
{ "label": "assertAligned", "type": "function", "detail": "(ptr: anytype, comptime alignment: std.mem.Alignment) void" },
|
|
540
|
+
{ "label": "panic", "type": "function", "detail": "(comptime format: []const u8, args: anytype) noreturn" },
|
|
541
|
+
{ "label": "panicExtra", "type": "function", "detail": "(ret_addr: ?usize, comptime format: []const u8, args: anytype) noreturn" },
|
|
542
|
+
{ "label": "defaultPanic", "type": "function", "detail": "(msg: []const u8, first_trace_addr: ?usize) noreturn" },
|
|
543
|
+
{ "label": "StackTrace", "type": "type" },
|
|
544
|
+
{ "label": "SkippedAddresses", "type": "type" },
|
|
545
|
+
{ "label": "StackUnwindOptions", "type": "type" },
|
|
546
|
+
{ "label": "dumpCurrentStackTrace", "type": "function", "detail": "(options: StackUnwindOptions) void" },
|
|
547
|
+
{ "label": "FormatStackTrace", "type": "type" },
|
|
548
|
+
{ "label": "writeErrorReturnTrace", "type": "function", "detail": "(et: *const std.builtin.StackTrace, t: Io.Terminal) Writer.Error!void" },
|
|
549
|
+
{ "label": "writeStackTrace", "type": "function", "detail": "(st: *const StackTrace, t: Io.Terminal) Writer.Error!void" },
|
|
550
|
+
{ "label": "dumpStackTrace", "type": "function", "detail": "(st: *const StackTrace) void" },
|
|
551
|
+
{ "label": "dumpErrorReturnTrace", "type": "function", "detail": "(et: *const std.builtin.StackTrace) void" },
|
|
552
|
+
{ "label": "stripInstructionPtrAuthCode", "type": "function", "detail": "(ptr: usize) usize" },
|
|
553
|
+
{ "label": "getDebugInfoAllocator", "type": "function", "detail": "() Allocator" },
|
|
554
|
+
{ "label": "have_segfault_handling_support", "type": "constant" },
|
|
555
|
+
{ "label": "default_enable_segfault_handler", "type": "constant" },
|
|
556
|
+
{ "label": "maybeEnableSegfaultHandler", "type": "function", "detail": "() void" },
|
|
557
|
+
{ "label": "updateSegfaultHandler", "type": "function", "detail": "(act: ?*const posix.Sigaction) void" },
|
|
558
|
+
{ "label": "attachSegfaultHandler", "type": "function", "detail": "() void" },
|
|
559
|
+
{ "label": "defaultHandleSegfault", "type": "function", "detail": "(addr: ?usize, name: []const u8, opt_ctx: ?CpuContextPtr) noreturn" },
|
|
560
|
+
{ "label": "dumpStackPointerAddr", "type": "function", "detail": "(prefix: []const u8) void" },
|
|
561
|
+
{ "label": "Trace", "type": "type" },
|
|
562
|
+
{ "label": "ConfigurableTrace", "type": "type", "detail": "(comptime size: usize, comptime stack_frame_count: usize, comptime is_enabled: bool) type" },
|
|
563
|
+
{ "label": "SafetyLock", "type": "type" },
|
|
564
|
+
{ "label": "inValgrind", "type": "function", "detail": "() bool" },
|
|
565
|
+
],
|
|
566
|
+
"std.sort": [
|
|
567
|
+
{ "label": "Mode", "type": "type" },
|
|
568
|
+
{ "label": "block", "type": "function" },
|
|
569
|
+
{ "label": "pdq", "type": "function" },
|
|
570
|
+
{ "label": "pdqContext", "type": "function" },
|
|
571
|
+
{ "label": "insertion", "type": "function", "detail": "(comptime T: type, items: []T, context: anytype, comptime lessThanFn: fn (@TypeOf(conte..." },
|
|
572
|
+
{ "label": "insertionContext", "type": "function", "detail": "(a: usize, b: usize, context: anytype) void" },
|
|
573
|
+
{ "label": "heap", "type": "function", "detail": "(comptime T: type, items: []T, context: anytype, comptime lessThanFn: fn (@TypeOf(conte..." },
|
|
574
|
+
{ "label": "heapContext", "type": "function", "detail": "(a: usize, b: usize, context: anytype) void" },
|
|
575
|
+
{ "label": "asc", "type": "function", "detail": "(comptime T: type) fn (void, T, T) bool" },
|
|
576
|
+
{ "label": "desc", "type": "function", "detail": "(comptime T: type) fn (void, T, T) bool" },
|
|
577
|
+
{ "label": "binarySearch", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime compareFn: fn (@TypeOf(..." },
|
|
578
|
+
{ "label": "lowerBound", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime compareFn: fn (@TypeOf(..." },
|
|
579
|
+
{ "label": "upperBound", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime compareFn: fn (@TypeOf(..." },
|
|
580
|
+
{ "label": "partitionPoint", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime predicate: fn (@TypeOf(..." },
|
|
581
|
+
{ "label": "equalRange", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime compareFn: fn (@TypeOf(..." },
|
|
582
|
+
{ "label": "argMin", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (@TypeOf(c..." },
|
|
583
|
+
{ "label": "min", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (context: ..." },
|
|
584
|
+
{ "label": "argMax", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (context: ..." },
|
|
585
|
+
{ "label": "max", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (context: ..." },
|
|
586
|
+
{ "label": "isSorted", "type": "function", "detail": "(comptime T: type, items: []const T, context: anytype, comptime lessThan: fn (context: ..." },
|
|
587
|
+
],
|
|
588
|
+
"std.heap": [
|
|
589
|
+
{ "label": "ArenaAllocator", "type": "type" },
|
|
590
|
+
{ "label": "SmpAllocator", "type": "type" },
|
|
591
|
+
{ "label": "SafeAllocator", "type": "type" },
|
|
592
|
+
{ "label": "FixedBufferAllocator", "type": "type" },
|
|
593
|
+
{ "label": "BufferFirstAllocator", "type": "type" },
|
|
594
|
+
{ "label": "PageAllocator", "type": "type" },
|
|
595
|
+
{ "label": "WasmAllocator", "type": "type" },
|
|
596
|
+
{ "label": "BrkAllocator", "type": "type" },
|
|
597
|
+
{ "label": "DebugAllocatorConfig", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
598
|
+
{ "label": "DebugAllocator", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
599
|
+
{ "label": "Check", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
600
|
+
{ "label": "MemoryPool", "type": "type", "detail": "(comptime Item: type) type" },
|
|
601
|
+
{ "label": "memory_pool", "type": "namespace" },
|
|
602
|
+
{ "label": "page_size_min", "type": "constant" },
|
|
603
|
+
{ "label": "page_size_max", "type": "constant" },
|
|
604
|
+
{ "label": "pageSize", "type": "function", "detail": "() usize" },
|
|
605
|
+
{ "label": "defaultQueryPageSize", "type": "function", "detail": "() usize" },
|
|
606
|
+
{ "label": "c_allocator", "type": "constant" },
|
|
607
|
+
{ "label": "page_allocator", "type": "constant" },
|
|
608
|
+
{ "label": "smp_allocator", "type": "constant" },
|
|
609
|
+
{ "label": "wasm_allocator", "type": "constant" },
|
|
610
|
+
{ "label": "brk_allocator", "type": "constant" },
|
|
611
|
+
{ "label": "testAllocator", "type": "function", "detail": "(base_allocator: mem.Allocator) !void" },
|
|
612
|
+
{ "label": "testAllocatorAligned", "type": "function", "detail": "(base_allocator: mem.Allocator) !void" },
|
|
613
|
+
{ "label": "testAllocatorLargeAlignment", "type": "function", "detail": "(base_allocator: mem.Allocator) !void" },
|
|
614
|
+
{ "label": "testAllocatorAlignedShrink", "type": "function", "detail": "(base_allocator: mem.Allocator) !void" },
|
|
615
|
+
],
|
|
616
|
+
"std.unicode": [
|
|
617
|
+
{ "label": "replacement_character", "type": "constant" },
|
|
618
|
+
{ "label": "replacement_character_utf8", "type": "constant" },
|
|
619
|
+
{ "label": "utf8CodepointSequenceLength", "type": "function", "detail": "(c: u21) !u3" },
|
|
620
|
+
{ "label": "utf8ByteSequenceLength", "type": "function", "detail": "(first_byte: u8) !u3" },
|
|
621
|
+
{ "label": "utf8Encode", "type": "function", "detail": "(c: u21, out: []u8) error{ Utf8CannotEncodeSurrogateHalf, CodepointTooLarge }!u3" },
|
|
622
|
+
{ "label": "utf8EncodeComptime", "type": "function", "detail": "(comptime c: u21) [ utf8CodepointSequenceLength(c) catch |err| @compileError(@errorName..." },
|
|
623
|
+
{ "label": "utf8Decode", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
624
|
+
{ "label": "utf8Decode2", "type": "function", "detail": "(bytes: [2]u8) Utf8Decode2Error!u21" },
|
|
625
|
+
{ "label": "utf8Decode3", "type": "function", "detail": "(bytes: [3]u8) Utf8Decode3Error!u21" },
|
|
626
|
+
{ "label": "utf8Decode3AllowSurrogateHalf", "type": "function", "detail": "(bytes: [3]u8) Utf8Decode3AllowSurrogateHalfError!u21" },
|
|
627
|
+
{ "label": "utf8Decode4", "type": "function", "detail": "(bytes: [4]u8) Utf8Decode4Error!u21" },
|
|
628
|
+
{ "label": "utf8ValidCodepoint", "type": "function", "detail": "(value: u21) bool" },
|
|
629
|
+
{ "label": "utf8CountCodepoints", "type": "function", "detail": "(s: []const u8) !usize" },
|
|
630
|
+
{ "label": "utf8ValidateSlice", "type": "function", "detail": "(input: []const u8) bool" },
|
|
631
|
+
{ "label": "Utf8View", "type": "type" },
|
|
632
|
+
{ "label": "Utf8Iterator", "type": "type" },
|
|
633
|
+
{ "label": "utf16IsHighSurrogate", "type": "function", "detail": "(c: u16) bool" },
|
|
634
|
+
{ "label": "utf16IsLowSurrogate", "type": "function", "detail": "(c: u16) bool" },
|
|
635
|
+
{ "label": "utf16CodepointSequenceLength", "type": "function", "detail": "(c: u21) !u2" },
|
|
636
|
+
{ "label": "utf16CodeUnitSequenceLength", "type": "function", "detail": "(first_code_unit: u16) !u2" },
|
|
637
|
+
{ "label": "utf16DecodeSurrogatePair", "type": "function", "detail": "(surrogate_pair: []const u16) !u21" },
|
|
638
|
+
{ "label": "Utf16LeIterator", "type": "type" },
|
|
639
|
+
{ "label": "utf16CountCodepoints", "type": "function", "detail": "(utf16le: []const u16) !usize" },
|
|
640
|
+
{ "label": "fmtUtf8", "type": "function", "detail": "(utf8: []const u8) std.fmt.Alt([]const u8, formatUtf8)" },
|
|
641
|
+
{ "label": "Utf16LeToUtf8AllocError", "type": "type" },
|
|
642
|
+
{ "label": "utf16LeToUtf8ArrayList", "type": "function", "detail": "(result: *std.array_list.Managed(u8), utf16le: []const u16) Utf16LeToUtf8AllocError!void" },
|
|
643
|
+
{ "label": "utf16LeToUtf8Alloc", "type": "function", "detail": "(allocator: Allocator, utf16le: []const u16) Utf16LeToUtf8AllocError![]u8" },
|
|
644
|
+
{ "label": "utf16LeToUtf8AllocZ", "type": "function", "detail": "(allocator: Allocator, utf16le: []const u16) Utf16LeToUtf8AllocError![:0]u8" },
|
|
645
|
+
{ "label": "Utf16LeToUtf8Error", "type": "type" },
|
|
646
|
+
{ "label": "utf16LeToUtf8", "type": "function", "detail": "(utf8: []u8, utf16le: []const u16) Utf16LeToUtf8Error!usize" },
|
|
647
|
+
{ "label": "utf8ToUtf16LeArrayList", "type": "function", "detail": "(result: *std.array_list.Managed(u16), utf8: []const u8) error{ InvalidUtf8, OutOfMemor..." },
|
|
648
|
+
{ "label": "utf8ToUtf16LeAlloc", "type": "function", "detail": "(allocator: Allocator, utf8: []const u8) error{ InvalidUtf8, OutOfMemory }![]u16" },
|
|
649
|
+
{ "label": "utf8ToUtf16LeAllocZ", "type": "function", "detail": "(allocator: Allocator, utf8: []const u8) error{ InvalidUtf8, OutOfMemory }![:0]u16" },
|
|
650
|
+
{ "label": "utf8ToUtf16Le", "type": "function", "detail": "(utf16le: []u16, utf8: []const u8) error{InvalidUtf8}!usize" },
|
|
651
|
+
{ "label": "utf8ToUtf16LeImpl", "type": "function", "detail": "(utf16le: []u16, utf8: []const u8, comptime surrogates: Surrogates) !usize" },
|
|
652
|
+
{ "label": "utf8ToUtf16LeStringLiteral", "type": "function", "detail": "(comptime utf8: []const u8) *const [calcUtf16LeLen(utf8) catch |err| @compileError(err)..." },
|
|
653
|
+
{ "label": "wtf8ToWtf16LeStringLiteral", "type": "function", "detail": "(comptime wtf8: []const u8) *const [calcWtf16LeLen(wtf8) catch |err| @compileError(err)..." },
|
|
654
|
+
{ "label": "calcUtf16LeLenImpl", "type": "function", "detail": "(utf8: []const u8, comptime surrogates: Surrogates) !usize" },
|
|
655
|
+
{ "label": "calcUtf16LeLen", "type": "function", "detail": "(utf8: []const u8) CalcUtf16LeLenError!usize" },
|
|
656
|
+
{ "label": "calcWtf16LeLen", "type": "function", "detail": "(wtf8: []const u8) CalcWtf16LeLenError!usize" },
|
|
657
|
+
{ "label": "fmtUtf16Le", "type": "function", "detail": "(utf16le: []const u16) std.fmt.Alt([]const u16, formatUtf16Le)" },
|
|
658
|
+
{ "label": "isSurrogateCodepoint", "type": "function", "detail": "(c: u21) bool" },
|
|
659
|
+
{ "label": "wtf8Encode", "type": "function", "detail": "(c: u21, out: []u8) error{CodepointTooLarge}!u3" },
|
|
660
|
+
{ "label": "wtf8Decode", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
661
|
+
{ "label": "wtf8ValidateSlice", "type": "function", "detail": "(input: []const u8) bool" },
|
|
662
|
+
{ "label": "Wtf8View", "type": "type" },
|
|
663
|
+
{ "label": "Wtf8Iterator", "type": "type" },
|
|
664
|
+
{ "label": "wtf16LeToWtf8ArrayList", "type": "function", "detail": "(result: *std.array_list.Managed(u8), utf16le: []const u16) Allocator.Error!void" },
|
|
665
|
+
{ "label": "wtf16LeToWtf8Alloc", "type": "function", "detail": "(allocator: Allocator, wtf16le: []const u16) Allocator.Error![]u8" },
|
|
666
|
+
{ "label": "wtf16LeToWtf8AllocZ", "type": "function", "detail": "(allocator: Allocator, wtf16le: []const u16) Allocator.Error![:0]u8" },
|
|
667
|
+
{ "label": "wtf16LeToWtf8", "type": "function", "detail": "(wtf8: []u8, wtf16le: []const u16) usize" },
|
|
668
|
+
{ "label": "wtf8ToWtf16LeArrayList", "type": "function", "detail": "(result: *std.array_list.Managed(u16), wtf8: []const u8) error{ InvalidWtf8, OutOfMemor..." },
|
|
669
|
+
{ "label": "wtf8ToWtf16LeAlloc", "type": "function", "detail": "(allocator: Allocator, wtf8: []const u8) error{ InvalidWtf8, OutOfMemory }![]u16" },
|
|
670
|
+
{ "label": "wtf8ToWtf16LeAllocZ", "type": "function", "detail": "(allocator: Allocator, wtf8: []const u8) error{ InvalidWtf8, OutOfMemory }![:0]u16" },
|
|
671
|
+
{ "label": "wtf8ToWtf16Le", "type": "function", "detail": "(wtf16le: []u16, wtf8: []const u8) error{InvalidWtf8}!usize" },
|
|
672
|
+
{ "label": "wtf8ToUtf8Lossy", "type": "function", "detail": "(utf8: []u8, wtf8: []const u8) error{InvalidWtf8}!void" },
|
|
673
|
+
{ "label": "wtf8ToUtf8LossyAlloc", "type": "function", "detail": "(allocator: Allocator, wtf8: []const u8) error{ InvalidWtf8, OutOfMemory }![]u8" },
|
|
674
|
+
{ "label": "wtf8ToUtf8LossyAllocZ", "type": "function", "detail": "(allocator: Allocator, wtf8: []const u8) error{ InvalidWtf8, OutOfMemory }![:0]u8" },
|
|
675
|
+
{ "label": "Wtf16LeIterator", "type": "type" },
|
|
676
|
+
{ "label": "calcWtf8Len", "type": "function", "detail": "(wtf16le: []const u16) usize" },
|
|
677
|
+
],
|
|
678
|
+
"std.meta": [
|
|
679
|
+
{ "label": "TrailerFlags", "type": "type" },
|
|
680
|
+
{ "label": "stringToEnum", "type": "function", "detail": "(comptime T: type, tag_name: []const u8) ?T" },
|
|
681
|
+
{ "label": "alignment", "type": "function", "detail": "(comptime T: type) comptime_int" },
|
|
682
|
+
{ "label": "Child", "type": "type", "detail": "(comptime T: type) type" },
|
|
683
|
+
{ "label": "Elem", "type": "type", "detail": "(comptime T: type) type" },
|
|
684
|
+
{ "label": "sentinel", "type": "function", "detail": "(comptime T: type) ?Elem(T)" },
|
|
685
|
+
{ "label": "Sentinel", "type": "type", "detail": "(comptime T: type, comptime sentinel_val: Elem(T)) type" },
|
|
686
|
+
{ "label": "containerLayout", "type": "function", "detail": "(comptime T: type) Type.ContainerLayout" },
|
|
687
|
+
{ "label": "declarations", "type": "function", "detail": "(comptime T: type) []const [:0]const u8" },
|
|
688
|
+
{ "label": "declarationInfo", "type": "constant" },
|
|
689
|
+
{ "label": "fields", "type": "constant" },
|
|
690
|
+
{ "label": "fieldInfo", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
691
|
+
{ "label": "fieldNames", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
692
|
+
{ "label": "fieldTypes", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
693
|
+
{ "label": "tags", "type": "function", "detail": "(comptime T: type) *const [fieldNames(T).len]T" },
|
|
694
|
+
{ "label": "FieldEnum", "type": "type", "detail": "(comptime T: type) type" },
|
|
695
|
+
{ "label": "DeclEnum", "type": "type", "detail": "(comptime T: type) type" },
|
|
696
|
+
{ "label": "BareUnion", "type": "type", "detail": "(comptime T: type) type" },
|
|
697
|
+
{ "label": "BackingInt", "type": "type", "detail": "(comptime T: type) type" },
|
|
698
|
+
{ "label": "Tag", "type": "type", "detail": "(comptime T: type) type" },
|
|
699
|
+
{ "label": "activeTag", "type": "function", "detail": "(u: anytype) Tag(@TypeOf(u))" },
|
|
700
|
+
{ "label": "eql", "type": "function", "detail": "(a: anytype, b: @TypeOf(a)) bool" },
|
|
701
|
+
{ "label": "fieldIndex", "type": "function", "detail": "(comptime T: type, comptime name: []const u8) ?comptime_int" },
|
|
702
|
+
{ "label": "Float", "type": "type", "detail": "(comptime bit_count: u8) type" },
|
|
703
|
+
{ "label": "ArgsTuple", "type": "type", "detail": "(comptime Function: type) type" },
|
|
704
|
+
{ "label": "isError", "type": "function", "detail": "(error_union: anytype) bool" },
|
|
705
|
+
{ "label": "hasFn", "type": "function", "detail": "(comptime T: type, comptime name: []const u8) bool" },
|
|
706
|
+
{ "label": "hasMethod", "type": "function", "detail": "(comptime T: type, comptime name: []const u8) bool" },
|
|
707
|
+
{ "label": "hasUniqueRepresentation", "type": "function", "detail": "(comptime T: type) bool" },
|
|
708
|
+
{ "label": "Slice", "type": "type", "detail": "(comptime Pointer: type) type" },
|
|
709
|
+
{ "label": "AbsorbSentinel", "type": "type", "detail": "(comptime Pointer: type) type" },
|
|
710
|
+
],
|
|
711
|
+
"std.enums": [
|
|
712
|
+
{ "label": "fromInt", "type": "function", "detail": "(comptime E: type, integer: anytype) ?E" },
|
|
713
|
+
{ "label": "EnumFieldStruct", "type": "type", "detail": "(comptime E: type, comptime Data: type, comptime field_default: ?Data) type" },
|
|
714
|
+
{ "label": "valuesFromFields", "type": "function", "detail": "(comptime E: type, comptime field_values: []const comptime_int) []const E" },
|
|
715
|
+
{ "label": "values", "type": "function", "detail": "(comptime E: type) []const E" },
|
|
716
|
+
{ "label": "tagName", "type": "function", "detail": "(comptime E: type, e: E) ?[:0]const u8" },
|
|
717
|
+
{ "label": "directEnumArrayLen", "type": "function", "detail": "(comptime E: type, comptime max_unused_slots: comptime_int) comptime_int" },
|
|
718
|
+
{ "label": "directEnumArray", "type": "function", "detail": "(comptime E: type, comptime Data: type, comptime max_unused_slots: comptime_int, init_v..." },
|
|
719
|
+
{ "label": "directEnumArrayDefault", "type": "function", "detail": "(comptime E: type, comptime Data: type, comptime default: ?Data, comptime max_unused_sl..." },
|
|
720
|
+
{ "label": "EnumSet", "type": "type", "detail": "(comptime E: type) type" },
|
|
721
|
+
{ "label": "EnumMap", "type": "type", "detail": "deprecated", "boost": -1 },
|
|
722
|
+
{ "label": "EnumMultiset", "type": "type", "detail": "(comptime E: type) type" },
|
|
723
|
+
{ "label": "BoundedEnumMultiset", "type": "type", "detail": "(comptime E: type, comptime CountSize: type) type" },
|
|
724
|
+
{ "label": "EnumArray", "type": "type", "detail": "(comptime E: type, comptime V: type) type" },
|
|
725
|
+
{ "label": "EnumIndexer", "type": "type", "detail": "(comptime E: type) type" },
|
|
726
|
+
],
|
|
727
|
+
"std.ArrayList": [
|
|
728
|
+
{ "label": "empty", "type": "constant" },
|
|
729
|
+
{ "label": "Slice", "type": "type" },
|
|
730
|
+
{ "label": "SentinelSlice", "type": "type", "detail": "(comptime s: T) type" },
|
|
731
|
+
{ "label": "initCapacity", "type": "function", "detail": "(gpa: Allocator, num: usize) Allocator.Error!Self" },
|
|
732
|
+
{ "label": "initBuffer", "type": "function", "detail": "(buffer: Slice) Self" },
|
|
733
|
+
{ "label": "deinit", "type": "function", "detail": "(self: *Self, gpa: Allocator) void" },
|
|
734
|
+
{ "label": "lockPointers", "type": "function", "detail": "(self: *Self) void" },
|
|
735
|
+
{ "label": "unlockPointers", "type": "function", "detail": "(self: *Self) void" },
|
|
736
|
+
{ "label": "toManaged", "type": "function", "detail": "(self: *Self, gpa: Allocator) AlignedManaged(T, alignment)" },
|
|
737
|
+
{ "label": "fromOwnedSlice", "type": "function", "detail": "(slice: Slice) Self" },
|
|
738
|
+
{ "label": "fromOwnedSliceSentinel", "type": "function", "detail": "(comptime sentinel: T, slice: [:sentinel]T) Self" },
|
|
739
|
+
{ "label": "toOwnedSlice", "type": "function", "detail": "(self: *Self, gpa: Allocator) Allocator.Error!Slice" },
|
|
740
|
+
{ "label": "toOwnedSliceSentinel", "type": "function", "detail": "(self: *Self, gpa: Allocator, comptime sentinel: T) Allocator.Error!SentinelSlice(senti..." },
|
|
741
|
+
{ "label": "toOwnedSliceAssert", "type": "function", "detail": "(self: *Self) Slice" },
|
|
742
|
+
{ "label": "toOwnedSliceSentinelAssert", "type": "function", "detail": "(self: *Self, comptime sentinel: T) SentinelSlice(sentinel)" },
|
|
743
|
+
{ "label": "clone", "type": "function", "detail": "(self: Self, gpa: Allocator) Allocator.Error!Self" },
|
|
744
|
+
{ "label": "insert", "type": "function", "detail": "(self: *Self, gpa: Allocator, index: usize, item: T) Allocator.Error!void" },
|
|
745
|
+
{ "label": "insertAssumeCapacity", "type": "function", "detail": "(self: *Self, index: usize, item: T) void" },
|
|
746
|
+
{ "label": "insertBounded", "type": "function", "detail": "(self: *Self, i: usize, item: T) error{OutOfMemory}!void" },
|
|
747
|
+
{ "label": "addManyAt", "type": "function", "detail": "(self: *Self, gpa: Allocator, index: usize, count: usize) Allocator.Error![]T" },
|
|
748
|
+
{ "label": "addManyAtAssumeCapacity", "type": "function", "detail": "(self: *Self, index: usize, count: usize) []T" },
|
|
749
|
+
{ "label": "addManyAtBounded", "type": "function", "detail": "(self: *Self, index: usize, count: usize) error{OutOfMemory}![]T" },
|
|
750
|
+
{ "label": "insertSlice", "type": "function", "detail": "(self: *Self, gpa: Allocator, index: usize, items: []const T) Allocator.Error!void" },
|
|
751
|
+
{ "label": "insertSliceAssumeCapacity", "type": "function", "detail": "(self: *Self, index: usize, items: []const T) void" },
|
|
752
|
+
{ "label": "insertSliceBounded", "type": "function", "detail": "(self: *Self, index: usize, items: []const T) error{OutOfMemory}!void" },
|
|
753
|
+
{ "label": "replaceRange", "type": "function", "detail": "(self: *Self, gpa: Allocator, start: usize, len: usize, new_items: []const T) Allocator..." },
|
|
754
|
+
{ "label": "replaceRangeAssumeCapacity", "type": "function", "detail": "(self: *Self, start: usize, len: usize, new_items: []const T) void" },
|
|
755
|
+
{ "label": "replaceRangeBounded", "type": "function", "detail": "(self: *Self, start: usize, len: usize, new_items: []const T) error{OutOfMemory}!void" },
|
|
756
|
+
{ "label": "append", "type": "function", "detail": "(self: *Self, gpa: Allocator, item: T) Allocator.Error!void" },
|
|
757
|
+
{ "label": "appendAssumeCapacity", "type": "function", "detail": "(self: *Self, item: T) void" },
|
|
758
|
+
{ "label": "appendBounded", "type": "function", "detail": "(self: *Self, item: T) error{OutOfMemory}!void" },
|
|
759
|
+
{ "label": "orderedRemove", "type": "function", "detail": "(self: *Self, i: usize) T" },
|
|
760
|
+
{ "label": "orderedRemoveMany", "type": "function", "detail": "(self: *Self, sorted_indexes: []const usize) void" },
|
|
761
|
+
{ "label": "swapRemove", "type": "function", "detail": "(self: *Self, i: usize) T" },
|
|
762
|
+
{ "label": "appendSlice", "type": "function", "detail": "(self: *Self, gpa: Allocator, items: []const T) Allocator.Error!void" },
|
|
763
|
+
{ "label": "appendSliceAssumeCapacity", "type": "function", "detail": "(self: *Self, items: []const T) void" },
|
|
764
|
+
{ "label": "appendSliceBounded", "type": "function", "detail": "(self: *Self, items: []const T) error{OutOfMemory}!void" },
|
|
765
|
+
{ "label": "appendUnalignedSlice", "type": "function", "detail": "(self: *Self, gpa: Allocator, items: []align(1) const T) Allocator.Error!void" },
|
|
766
|
+
{ "label": "appendUnalignedSliceAssumeCapacity", "type": "function", "detail": "(self: *Self, items: []align(1) const T) void" },
|
|
767
|
+
{ "label": "appendUnalignedSliceBounded", "type": "function", "detail": "(self: *Self, items: []align(1) const T) error{OutOfMemory}!void" },
|
|
768
|
+
{ "label": "print", "type": "function", "detail": "(self: *Self, gpa: Allocator, comptime fmt: []const u8, args: anytype) error{OutOfMemor..." },
|
|
769
|
+
{ "label": "printAssumeCapacity", "type": "function", "detail": "(self: *Self, comptime fmt: []const u8, args: anytype) void" },
|
|
770
|
+
{ "label": "printBounded", "type": "function", "detail": "(self: *Self, comptime fmt: []const u8, args: anytype) error{OutOfMemory}!void" },
|
|
771
|
+
{ "label": "appendNTimes", "type": "function", "detail": "(self: *Self, gpa: Allocator, value: T, n: usize) Allocator.Error!void" },
|
|
772
|
+
{ "label": "appendNTimesAssumeCapacity", "type": "function", "detail": "(self: *Self, value: T, n: usize) void" },
|
|
773
|
+
{ "label": "appendNTimesBounded", "type": "function", "detail": "(self: *Self, value: T, n: usize) error{OutOfMemory}!void" },
|
|
774
|
+
{ "label": "resize", "type": "function", "detail": "(self: *Self, gpa: Allocator, new_len: usize) Allocator.Error!void" },
|
|
775
|
+
{ "label": "shrinkAndFree", "type": "function", "detail": "(self: *Self, gpa: Allocator, new_len: usize) void" },
|
|
776
|
+
{ "label": "shrinkAndFreePrecise", "type": "function", "detail": "(self: *Self, gpa: Allocator, new_len: usize) Allocator.Error!void" },
|
|
777
|
+
{ "label": "shrinkToLen", "type": "function", "detail": "(self: *Self, gpa: Allocator) Allocator.Error!void" },
|
|
778
|
+
{ "label": "shrinkToLenSentinel", "type": "function", "detail": "(self: *Self, gpa: Allocator) Allocator.Error!void" },
|
|
779
|
+
{ "label": "shrinkRetainingCapacity", "type": "function", "detail": "(self: *Self, new_len: usize) void" },
|
|
780
|
+
{ "label": "clearRetainingCapacity", "type": "function", "detail": "(self: *Self) void" },
|
|
781
|
+
{ "label": "clearAndFree", "type": "function", "detail": "(self: *Self, gpa: Allocator) void" },
|
|
782
|
+
{ "label": "ensureTotalCapacity", "type": "function", "detail": "(self: *Self, gpa: Allocator, new_capacity: usize) Allocator.Error!void" },
|
|
783
|
+
{ "label": "ensureTotalCapacityPrecise", "type": "function", "detail": "(self: *Self, gpa: Allocator, new_capacity: usize) Allocator.Error!void" },
|
|
784
|
+
{ "label": "ensureUnusedCapacity", "type": "function", "detail": "(self: *Self, gpa: Allocator, additional_count: usize) Allocator.Error!void" },
|
|
785
|
+
{ "label": "expandToCapacity", "type": "function", "detail": "(self: *Self) void" },
|
|
786
|
+
{ "label": "addOne", "type": "function", "detail": "(self: *Self, gpa: Allocator) Allocator.Error!*T" },
|
|
787
|
+
{ "label": "addOneAssumeCapacity", "type": "function", "detail": "(self: *Self) *T" },
|
|
788
|
+
{ "label": "addOneBounded", "type": "function", "detail": "(self: *Self) error{OutOfMemory}!*T" },
|
|
789
|
+
{ "label": "addManyAsArray", "type": "function", "detail": "(self: *Self, gpa: Allocator, comptime n: usize) Allocator.Error!*[n]T" },
|
|
790
|
+
{ "label": "addManyAsArrayAssumeCapacity", "type": "function", "detail": "(self: *Self, comptime n: usize) *[n]T" },
|
|
791
|
+
{ "label": "addManyAsArrayBounded", "type": "function", "detail": "(self: *Self, comptime n: usize) error{OutOfMemory}!*[n]T" },
|
|
792
|
+
{ "label": "addManyAsSlice", "type": "function", "detail": "(self: *Self, gpa: Allocator, n: usize) Allocator.Error![]T" },
|
|
793
|
+
{ "label": "addManyAsSliceAssumeCapacity", "type": "function", "detail": "(self: *Self, n: usize) []T" },
|
|
794
|
+
{ "label": "addManyAsSliceBounded", "type": "function", "detail": "(self: *Self, n: usize) error{OutOfMemory}![]T" },
|
|
795
|
+
{ "label": "pop", "type": "function", "detail": "(self: *Self) ?T" },
|
|
796
|
+
{ "label": "allocatedSlice", "type": "function", "detail": "(self: Self) Slice" },
|
|
797
|
+
{ "label": "unusedCapacitySlice", "type": "function", "detail": "(self: Self) []T" },
|
|
798
|
+
{ "label": "getLast", "type": "function", "detail": "deprecated", "boost": -1 },
|
|
799
|
+
{ "label": "getLastOrNull", "type": "constant", "detail": "deprecated", "boost": -1 },
|
|
800
|
+
{ "label": "last", "type": "function", "detail": "(self: Self) ?T" },
|
|
801
|
+
{ "label": "lastPtr", "type": "function", "detail": "(self: Self) ?*T" },
|
|
802
|
+
{ "label": "growCapacity", "type": "function", "detail": "(minimum: usize) usize" },
|
|
803
|
+
],
|
|
804
|
+
"std.AutoHashMap": [
|
|
805
|
+
{ "label": "Unmanaged", "type": "type" },
|
|
806
|
+
{ "label": "Entry", "type": "type" },
|
|
807
|
+
{ "label": "KV", "type": "type" },
|
|
808
|
+
{ "label": "Hash", "type": "type" },
|
|
809
|
+
{ "label": "Iterator", "type": "type" },
|
|
810
|
+
{ "label": "KeyIterator", "type": "type" },
|
|
811
|
+
{ "label": "ValueIterator", "type": "type" },
|
|
812
|
+
{ "label": "Size", "type": "type" },
|
|
813
|
+
{ "label": "GetOrPutResult", "type": "type" },
|
|
814
|
+
{ "label": "init", "type": "function", "detail": "(allocator: Allocator) Self" },
|
|
815
|
+
{ "label": "initContext", "type": "function", "detail": "(allocator: Allocator, ctx: Context) Self" },
|
|
816
|
+
{ "label": "lockPointers", "type": "function", "detail": "(self: *Self) void" },
|
|
817
|
+
{ "label": "unlockPointers", "type": "function", "detail": "(self: *Self) void" },
|
|
818
|
+
{ "label": "deinit", "type": "function", "detail": "(self: *Self) void" },
|
|
819
|
+
{ "label": "clearRetainingCapacity", "type": "function", "detail": "(self: *Self) void" },
|
|
820
|
+
{ "label": "clearAndFree", "type": "function", "detail": "(self: *Self) void" },
|
|
821
|
+
{ "label": "count", "type": "function", "detail": "(self: Self) Size" },
|
|
822
|
+
{ "label": "iterator", "type": "function", "detail": "(self: *const Self) Iterator" },
|
|
823
|
+
{ "label": "keyIterator", "type": "function", "detail": "(self: Self) KeyIterator" },
|
|
824
|
+
{ "label": "valueIterator", "type": "function", "detail": "(self: Self) ValueIterator" },
|
|
825
|
+
{ "label": "getOrPut", "type": "function", "detail": "(self: *Self, key: K) Allocator.Error!GetOrPutResult" },
|
|
826
|
+
{ "label": "getOrPutAdapted", "type": "function", "detail": "(self: *Self, key: anytype, ctx: anytype) Allocator.Error!GetOrPutResult" },
|
|
827
|
+
{ "label": "getOrPutAssumeCapacity", "type": "function", "detail": "(self: *Self, key: K) GetOrPutResult" },
|
|
828
|
+
{ "label": "getOrPutAssumeCapacityAdapted", "type": "function", "detail": "(self: *Self, key: anytype, ctx: anytype) GetOrPutResult" },
|
|
829
|
+
{ "label": "getOrPutValue", "type": "function", "detail": "(self: *Self, key: K, value: V) Allocator.Error!Entry" },
|
|
830
|
+
{ "label": "ensureTotalCapacity", "type": "function", "detail": "(self: *Self, expected_count: Size) Allocator.Error!void" },
|
|
831
|
+
{ "label": "ensureUnusedCapacity", "type": "function", "detail": "(self: *Self, additional_count: Size) Allocator.Error!void" },
|
|
832
|
+
{ "label": "capacity", "type": "function", "detail": "(self: Self) Size" },
|
|
833
|
+
{ "label": "put", "type": "function", "detail": "(self: *Self, key: K, value: V) Allocator.Error!void" },
|
|
834
|
+
{ "label": "putNoClobber", "type": "function", "detail": "(self: *Self, key: K, value: V) Allocator.Error!void" },
|
|
835
|
+
{ "label": "putAssumeCapacity", "type": "function", "detail": "(self: *Self, key: K, value: V) void" },
|
|
836
|
+
{ "label": "putAssumeCapacityNoClobber", "type": "function", "detail": "(self: *Self, key: K, value: V) void" },
|
|
837
|
+
{ "label": "fetchPut", "type": "function", "detail": "(self: *Self, key: K, value: V) Allocator.Error!?KV" },
|
|
838
|
+
{ "label": "fetchPutAssumeCapacity", "type": "function", "detail": "(self: *Self, key: K, value: V) ?KV" },
|
|
839
|
+
{ "label": "fetchRemove", "type": "function", "detail": "(self: *Self, key: K) ?KV" },
|
|
840
|
+
{ "label": "fetchRemoveAdapted", "type": "function", "detail": "(self: *Self, key: anytype, ctx: anytype) ?KV" },
|
|
841
|
+
{ "label": "get", "type": "function", "detail": "(self: Self, key: K) ?V" },
|
|
842
|
+
{ "label": "getAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) ?V" },
|
|
843
|
+
{ "label": "getPtr", "type": "function", "detail": "(self: Self, key: K) ?*V" },
|
|
844
|
+
{ "label": "getPtrAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) ?*V" },
|
|
845
|
+
{ "label": "getKey", "type": "function", "detail": "(self: Self, key: K) ?K" },
|
|
846
|
+
{ "label": "getKeyAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) ?K" },
|
|
847
|
+
{ "label": "getKeyPtr", "type": "function", "detail": "(self: Self, key: K) ?*K" },
|
|
848
|
+
{ "label": "getKeyPtrAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) ?*K" },
|
|
849
|
+
{ "label": "getEntry", "type": "function", "detail": "(self: Self, key: K) ?Entry" },
|
|
850
|
+
{ "label": "getEntryAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) ?Entry" },
|
|
851
|
+
{ "label": "contains", "type": "function", "detail": "(self: Self, key: K) bool" },
|
|
852
|
+
{ "label": "containsAdapted", "type": "function", "detail": "(self: Self, key: anytype, ctx: anytype) bool" },
|
|
853
|
+
{ "label": "remove", "type": "function", "detail": "(self: *Self, key: K) bool" },
|
|
854
|
+
{ "label": "removeAdapted", "type": "function", "detail": "(self: *Self, key: anytype, ctx: anytype) bool" },
|
|
855
|
+
{ "label": "removeByPtr", "type": "function", "detail": "(self: *Self, key_ptr: *K) void" },
|
|
856
|
+
{ "label": "clone", "type": "function", "detail": "(self: Self) Allocator.Error!Self" },
|
|
857
|
+
{ "label": "cloneWithAllocator", "type": "function", "detail": "(self: Self, new_allocator: Allocator) Allocator.Error!Self" },
|
|
858
|
+
{ "label": "cloneWithContext", "type": "function", "detail": "(self: Self, new_ctx: anytype) Allocator.Error!HashMap(K, V, @TypeOf(new_ctx), max_load..." },
|
|
859
|
+
{ "label": "cloneWithAllocatorAndContext", "type": "function", "detail": "(self: Self, new_allocator: Allocator, new_ctx: anytype) Allocator.Error!HashMap(K, V, ..." },
|
|
860
|
+
{ "label": "move", "type": "function", "detail": "(self: *Self) Self" },
|
|
861
|
+
{ "label": "rehash", "type": "function", "detail": "(self: *Self) void" },
|
|
862
|
+
],
|
|
863
|
+
};
|
|
864
|
+
// Each builtin with its number of arguments, or -1 if it takes any number.
|
|
865
|
+
export const builtins = [["@addWithOverflow", 2], ["@addrSpaceCast", 1], ["@alignCast", 1], ["@alignOf", 1], ["@as", 2], ["@atomicLoad", 3], ["@atomicRmw", 5], ["@atomicStore", 4], ["@bitCast", 1], ["@bitOffsetOf", 2], ["@intFromBool", 1], ["@bitSizeOf", 1], ["@branchHint", 1], ["@breakpoint", 0], ["@disableInstrumentation", 0], ["@disableIntrinsics", 0], ["@mulAdd", 4], ["@byteSwap", 1], ["@bitReverse", 1], ["@offsetOf", 2], ["@call", 3], ["@clz", 1], ["@cmpxchgStrong", 6], ["@cmpxchgWeak", 6], ["@compileError", 1], ["@compileLog", -1], ["@constCast", 1], ["@ctz", 1], ["@cVaArg", 2], ["@cVaCopy", 1], ["@cVaEnd", 1], ["@cVaStart", 0], ["@divExact", 2], ["@divFloor", 2], ["@divCeil", 2], ["@divTrunc", 2], ["@embedFile", 1], ["@intFromEnum", 1], ["@errorName", 1], ["@errorReturnTrace", 0], ["@intFromError", 1], ["@errorCast", 1], ["@export", 2], ["@extern", 2], ["@field", 2], ["@fieldParentPtr", 2], ["@FieldType", 2], ["@floatCast", 1], ["@intFromFloat", 1], ["@frame", 0], ["@Frame", 1], ["@frameAddress", 0], ["@hasDecl", 2], ["@hasField", 2], ["@import", 1], ["@inComptime", 0], ["@intCast", 1], ["@backingInt", 1], ["@fromBackingInt", 1], ["@enumFromInt", 1], ["@errorFromInt", 1], ["@floatFromInt", 1], ["@ptrFromInt", 1], ["@max", -1], ["@memcpy", 2], ["@memset", 2], ["@memmove", 2], ["@min", -1], ["@wasmMemorySize", 1], ["@wasmMemoryGrow", 2], ["@mod", 2], ["@mulWithOverflow", 2], ["@panic", 1], ["@popCount", 1], ["@prefetch", 2], ["@ptrCast", 1], ["@intFromPtr", 1], ["@rem", 2], ["@returnAddress", 0], ["@select", 4], ["@setEvalBranchQuota", 1], ["@setFloatMode", 1], ["@setRuntimeSafety", 1], ["@shlExact", 2], ["@shlWithOverflow", 2], ["@shrExact", 2], ["@shuffle", 4], ["@sizeOf", 1], ["@splat", 1], ["@reduce", 2], ["@src", 0], ["@sqrt", 1], ["@sin", 1], ["@cos", 1], ["@tan", 1], ["@exp", 1], ["@exp2", 1], ["@log", 1], ["@log2", 1], ["@log10", 1], ["@abs", 1], ["@floor", 1], ["@ceil", 1], ["@trunc", 1], ["@round", 1], ["@subWithOverflow", 2], ["@tagName", 1], ["@This", 0], ["@trap", 0], ["@truncate", 1], ["@EnumLiteral", 0], ["@Int", 2], ["@Tuple", 1], ["@Pointer", 4], ["@Fn", 4], ["@Struct", 5], ["@Union", 5], ["@Enum", 4], ["@SpirvType", 1], ["@typeInfo", 1], ["@typeName", 1], ["@TypeOf", -1], ["@unionInit", 3], ["@Vector", 2], ["@volatileCast", 1], ["@workItemId", 1], ["@workGroupSize", 1], ["@workGroupId", 1]];
|