@antfly/embedded-linux-x64 0.0.0 → 0.3.0-rc.4

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.
Files changed (70) hide show
  1. package/LICENSES/Apache-2.0.txt +202 -0
  2. package/LICENSES/source-map/apache_engine_files.txt +4 -0
  3. package/LICENSES/source-map/embedded_asset_licenses.json +91 -0
  4. package/LICENSES/source-map/source_license_roots.json +35 -0
  5. package/LICENSES/third-party/Brotli-Zig-MIT.txt +39 -0
  6. package/LICENSES/third-party/Bzip2-1.0.6.txt +42 -0
  7. package/LICENSES/third-party/HTTPX-MIT.txt +21 -0
  8. package/LICENSES/third-party/LMDB-lmdb-h-notice.txt +26 -0
  9. package/LICENSES/third-party/LMDB-mdb-c-notice.txt +26 -0
  10. package/LICENSES/third-party/LMDB-midl-c-notice.txt +11 -0
  11. package/LICENSES/third-party/LMDB-midl-h-notice.txt +11 -0
  12. package/LICENSES/third-party/NV-Codec-CUDA-MIT.txt +22 -0
  13. package/LICENSES/third-party/NV-Codec-NVIDIA-MIT.txt +22 -0
  14. package/LICENSES/third-party/OpenLDAP-2.8.txt +47 -0
  15. package/LICENSES/third-party/PacketVideo-AAC-notice.txt +2 -0
  16. package/LICENSES/third-party/PyTorch-BSD-3-Clause.txt +84 -0
  17. package/LICENSES/third-party/Roboto-Apache-2.0.txt +201 -0
  18. package/LICENSES/third-party/Roboto-COPYRIGHT.txt +1 -0
  19. package/LICENSES/third-party/SciPy-rectangular-lsap-BSD-3-Clause.txt +29 -0
  20. package/LICENSES/third-party/Tree-Sitter-Go-MIT.txt +21 -0
  21. package/LICENSES/third-party/Tree-Sitter-Python-MIT.txt +21 -0
  22. package/LICENSES/third-party/Tree-Sitter-Rust-MIT.txt +21 -0
  23. package/LICENSES/third-party/Unicode-V3.txt +39 -0
  24. package/LICENSES/third-party/WHATWG-Encoding-BSD-3-Clause.txt +28 -0
  25. package/LICENSES/third-party/XZ-Embedded-0BSD.txt +13 -0
  26. package/LICENSES/third-party/Yuku-MIT.txt +21 -0
  27. package/LICENSES/third-party/Zig-SHA256-MIT.txt +19 -0
  28. package/LICENSES/third-party/Zig-Stdlib-MIT.txt +21 -0
  29. package/LICENSES/third-party/Zig-TLS-MIT.txt +19 -0
  30. package/LICENSES/third-party/dav1d-BSD-2-Clause.txt +23 -0
  31. package/LICENSES/third-party/libvpx-BSD-3-Clause.txt +30 -0
  32. package/README.md +1 -5
  33. package/THIRD_PARTY_NOTICES.md +1253 -0
  34. package/include/antfly.h +846 -0
  35. package/lib/libantfly.so +4 -0
  36. package/lib/pkgconfig/libantfly.pc +11 -0
  37. package/package.json +13 -8
  38. package/share/licenses/libantfly/LICENSE +202 -0
  39. package/share/licenses/libantfly/LICENSES/Apache-2.0.txt +202 -0
  40. package/share/licenses/libantfly/LICENSES/third-party/Brotli-Zig-MIT.txt +39 -0
  41. package/share/licenses/libantfly/LICENSES/third-party/Bzip2-1.0.6.txt +42 -0
  42. package/share/licenses/libantfly/LICENSES/third-party/HTTPX-MIT.txt +21 -0
  43. package/share/licenses/libantfly/LICENSES/third-party/LMDB-lmdb-h-notice.txt +26 -0
  44. package/share/licenses/libantfly/LICENSES/third-party/LMDB-mdb-c-notice.txt +26 -0
  45. package/share/licenses/libantfly/LICENSES/third-party/LMDB-midl-c-notice.txt +11 -0
  46. package/share/licenses/libantfly/LICENSES/third-party/LMDB-midl-h-notice.txt +11 -0
  47. package/share/licenses/libantfly/LICENSES/third-party/NV-Codec-CUDA-MIT.txt +22 -0
  48. package/share/licenses/libantfly/LICENSES/third-party/NV-Codec-NVIDIA-MIT.txt +22 -0
  49. package/share/licenses/libantfly/LICENSES/third-party/OpenLDAP-2.8.txt +47 -0
  50. package/share/licenses/libantfly/LICENSES/third-party/PacketVideo-AAC-notice.txt +2 -0
  51. package/share/licenses/libantfly/LICENSES/third-party/PyTorch-BSD-3-Clause.txt +84 -0
  52. package/share/licenses/libantfly/LICENSES/third-party/Roboto-Apache-2.0.txt +201 -0
  53. package/share/licenses/libantfly/LICENSES/third-party/Roboto-COPYRIGHT.txt +1 -0
  54. package/share/licenses/libantfly/LICENSES/third-party/SciPy-rectangular-lsap-BSD-3-Clause.txt +29 -0
  55. package/share/licenses/libantfly/LICENSES/third-party/Tree-Sitter-Go-MIT.txt +21 -0
  56. package/share/licenses/libantfly/LICENSES/third-party/Tree-Sitter-Python-MIT.txt +21 -0
  57. package/share/licenses/libantfly/LICENSES/third-party/Tree-Sitter-Rust-MIT.txt +21 -0
  58. package/share/licenses/libantfly/LICENSES/third-party/Unicode-V3.txt +39 -0
  59. package/share/licenses/libantfly/LICENSES/third-party/WHATWG-Encoding-BSD-3-Clause.txt +28 -0
  60. package/share/licenses/libantfly/LICENSES/third-party/XZ-Embedded-0BSD.txt +13 -0
  61. package/share/licenses/libantfly/LICENSES/third-party/Yuku-MIT.txt +21 -0
  62. package/share/licenses/libantfly/LICENSES/third-party/Zig-SHA256-MIT.txt +19 -0
  63. package/share/licenses/libantfly/LICENSES/third-party/Zig-Stdlib-MIT.txt +21 -0
  64. package/share/licenses/libantfly/LICENSES/third-party/Zig-TLS-MIT.txt +19 -0
  65. package/share/licenses/libantfly/LICENSES/third-party/dav1d-BSD-2-Clause.txt +23 -0
  66. package/share/licenses/libantfly/LICENSES/third-party/libvpx-BSD-3-Clause.txt +30 -0
  67. package/share/licenses/libantfly/THIRD_PARTY_NOTICES.md +1253 -0
  68. package/share/licenses/libantfly/scripts/apache_engine_files.txt +4 -0
  69. package/share/licenses/libantfly/scripts/embedded_asset_licenses.json +91 -0
  70. package/share/licenses/libantfly/scripts/source_license_roots.json +35 -0
@@ -0,0 +1,1253 @@
1
+ # Third-party notices
2
+
3
+ ## Adobe Glyph List
4
+
5
+ The native PDF text decoder includes data generated from Adobe Glyph List 2.0,
6
+ revision `4036a9ca80a62f64f9de4f7321a9a045ad0ecfd6`.
7
+
8
+ Copyright 2002-2019 Adobe (http://www.adobe.com/).
9
+
10
+ Redistribution and use in source and binary forms, with or without
11
+ modification, are permitted provided that the following conditions are met:
12
+
13
+ 1. Redistributions of source code must retain the above copyright notice,
14
+ this list of conditions and the following disclaimer.
15
+ 2. Redistributions in binary form must reproduce the above copyright notice,
16
+ this list of conditions and the following disclaimer in the documentation
17
+ and/or other materials provided with the distribution.
18
+ 3. Neither the name of Adobe nor the names of its contributors may be used to
19
+ endorse or promote products derived from this software without specific
20
+ prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
23
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
+ POSSIBILITY OF SUCH DAMAGE.
33
+
34
+
35
+ ## Chromium CRC32 folding implementation
36
+
37
+ `zig/lib/hash/src/x86_crc32.zig` adapts the PCLMUL folding implementation
38
+ from Chromium `third_party/zlib/crc32_simd.c`.
39
+
40
+ Copyright 2017 The Chromium Authors
41
+
42
+ Redistribution and use in source and binary forms, with or without
43
+ modification, are permitted provided that the following conditions are
44
+ met:
45
+
46
+ * Redistributions of source code must retain the above copyright
47
+ notice, this list of conditions and the following disclaimer.
48
+ * Redistributions in binary form must reproduce the above
49
+ copyright notice, this list of conditions and the following disclaimer
50
+ in the documentation and/or other materials provided with the
51
+ distribution.
52
+ * Neither the name of Google LLC nor the names of its
53
+ contributors may be used to endorse or promote products derived from
54
+ this software without specific prior written permission.
55
+
56
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
57
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
58
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
59
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
60
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
61
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
62
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
63
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
64
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
65
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
66
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67
+
68
+
69
+ ## PyTorch CUDA training reduction arithmetic
70
+
71
+ The resident FP32 training normalization in
72
+ `zig/pkg/inference/src/ops/cuda/kernels/gliner25_layer_norm.cuh` and softmax in
73
+ `zig/pkg/inference/src/ops/cuda/kernels/gliner25_softmax.cuh` adapt reduction
74
+ arithmetic from PyTorch v2.9.1
75
+ (`aten/src/ATen/native/cuda/layer_norm_kernel.cu`, `block_reduce.cuh`, and
76
+ `PersistentSoftmax.cuh`, and `SoftMax.cu`). The shared log-softmax primitive
77
+ uses the same persistent and wide-row reduction arithmetic. The isolated CUDA 12.8 GELU and SiLU arithmetic in
78
+ `zig/pkg/inference/src/ops/cuda/artifacts/gliner25_training_math.cu` follows
79
+ `aten/src/ATen/native/cuda/ActivationGeluKernel.cu` and
80
+ `aten/src/ATen/native/cuda/ActivationSiluKernel.cu` from the same version and
81
+ uses the same license below. The FP32 reduction planner and kernels in
82
+ `zig/pkg/inference/src/ops/cuda/reduction_plan.zig` and that CUDA artifact
83
+ adapt `aten/src/ATen/native/cuda/Reduce.cuh` and
84
+ `aten/src/ATen/native/SharedReduceOps.h` from PyTorch 2.9.1 under the same license.
85
+ The FP32 gradient-clipping norm profile in the same artifact also follows
86
+ `aten/src/ATen/native/cuda/ForeachReduceOp.cu`, `MultiTensorApply.cuh`,
87
+ `block_reduce.cuh`, and `Reduce.cuh` from that version under the same license.
88
+ The deterministic gather-backward reduction in the same CUDA artifact adapts
89
+ `indexing_backward_kernel_stride_1` from
90
+ `aten/src/ATen/native/cuda/Indexing.cu` in that version. The binary-loss
91
+ VJP preserves scalar-power and derivative operation order from
92
+ `aten/src/ATen/native/cuda/PowKernel.cu` and
93
+ `torch/csrc/autograd/FunctionsManual.cpp` under the same license. The saved-output
94
+ sigmoid forward/backward arithmetic follows
95
+ `aten/src/ATen/native/cuda/UnarySpecialOpsKernel.cu` and
96
+ `aten/src/ATen/native/cuda/BinaryMiscBackwardOpsKernels.cu` from that version.
97
+ The training arithmetic was compared with
98
+ `aten/src/ATen/native/cuda/Embedding.cu` and `EmbeddingBackwardKernel.cu`
99
+ from PyTorch v2.9.1 under the same license to diagnose embedding-gradient
100
+ accumulation order. No PyTorch source is copied into this repository. The embedding-backward profile in the same CUDA training
101
+ artifact adapts their small-input chunk and large-input partial reduction
102
+ orders, reusing native stable integer routing. The profiled fused AdamW kernel
103
+ also adapts `aten/src/ATen/native/cuda/fused_adam_utils.cuh` from that pinned
104
+ version, preserving scalar precision and explicit moment accumulation order. The noisy-OR
105
+ consistency derivative preserves the boundary-loss definition from the pinned
106
+ Fastino source and the same PyTorch FP32 primitive/reduction ordering.
107
+
108
+ ```text
109
+ From PyTorch:
110
+
111
+ Copyright (c) 2016- Facebook, Inc (Adam Paszke)
112
+ Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
113
+ Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
114
+ Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
115
+ Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
116
+ Copyright (c) 2011-2013 NYU (Clement Farabet)
117
+ Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
118
+ Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
119
+ Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
120
+
121
+ From Caffe2:
122
+
123
+ Copyright (c) 2016-present, Facebook Inc. All rights reserved.
124
+
125
+ All contributions by Facebook:
126
+ Copyright (c) 2016 Facebook Inc.
127
+
128
+ All contributions by Google:
129
+ Copyright (c) 2015 Google Inc.
130
+ All rights reserved.
131
+
132
+ All contributions by Yangqing Jia:
133
+ Copyright (c) 2015 Yangqing Jia
134
+ All rights reserved.
135
+
136
+ All contributions by Kakao Brain:
137
+ Copyright 2019-2020 Kakao Brain
138
+
139
+ All contributions by Cruise LLC:
140
+ Copyright (c) 2022 Cruise LLC.
141
+ All rights reserved.
142
+
143
+ All contributions by Tri Dao:
144
+ Copyright (c) 2024 Tri Dao.
145
+ All rights reserved.
146
+
147
+ All contributions by Arm:
148
+ Copyright (c) 2021, 2023-2024 Arm Limited and/or its affiliates
149
+
150
+ All contributions from Caffe:
151
+ Copyright(c) 2013, 2014, 2015, the respective contributors
152
+ All rights reserved.
153
+
154
+ All other contributions:
155
+ Copyright(c) 2015, 2016 the respective contributors
156
+ All rights reserved.
157
+
158
+ Caffe2 uses a copyright model similar to Caffe: each contributor holds
159
+ copyright over their contributions to Caffe2. The project versioning records
160
+ all such contribution and copyright details. If a contributor wants to further
161
+ mark their specific copyright on a particular contribution, they should
162
+ indicate their copyright solely in the commit message of the change when it is
163
+ committed.
164
+
165
+ All rights reserved.
166
+
167
+ Redistribution and use in source and binary forms, with or without
168
+ modification, are permitted provided that the following conditions are met:
169
+
170
+ 1. Redistributions of source code must retain the above copyright
171
+ notice, this list of conditions and the following disclaimer.
172
+
173
+ 2. Redistributions in binary form must reproduce the above copyright
174
+ notice, this list of conditions and the following disclaimer in the
175
+ documentation and/or other materials provided with the distribution.
176
+
177
+ 3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America
178
+ and IDIAP Research Institute nor the names of its contributors may be
179
+ used to endorse or promote products derived from this software without
180
+ specific prior written permission.
181
+
182
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
183
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
184
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
185
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
186
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
187
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
188
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
189
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
190
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
191
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
192
+ POSSIBILITY OF SUCH DAMAGE.
193
+ ```
194
+
195
+ ## GLiNER2.5 boundary attention
196
+
197
+ The self-contained CUDA boundary-attention kernels are original Antfly code.
198
+ Their FP32 masking, softmax, and gradient results were validated against the
199
+ pinned PyTorch reference during development; no PyTorch, ATen, CUTLASS, or CUB
200
+ source is included or required to build or run them.
201
+
202
+ ## CUB deterministic scan arithmetic
203
+
204
+ The FP32 deterministic scan in `gliner25_training_math.cu` specializes PyTorch
205
+ v2.9.1 `ATen/cuda/cub.cuh` and CUB warp-scan/block-reduction arithmetic. CUB
206
+ reference headers were inspected from CUDA 13.2; parity is independently checked
207
+ against PyTorch 2.9.1+cu128, including multiple blocks and multiple tiles. The
208
+ implementation has no CUB header or library dependency at build or runtime.
209
+
210
+ ```text
211
+ Copyright (c) 2011, Duane Merrill. All rights reserved.
212
+ Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
213
+
214
+ Redistribution and use in source and binary forms, with or without
215
+ modification, are permitted provided that the following conditions are met:
216
+
217
+ 1. Redistributions of source code must retain the above copyright notice, this
218
+ list of conditions and the following disclaimer.
219
+
220
+ 2. Redistributions in binary form must reproduce the above copyright notice,
221
+ this list of conditions and the following disclaimer in the documentation
222
+ and/or other materials provided with the distribution.
223
+
224
+ 3. Neither the name of the copyright holder nor the names of its
225
+ contributors may be used to endorse or promote products derived from
226
+ this software without specific prior written permission.
227
+
228
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
229
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
230
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
231
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
232
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
233
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
234
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
235
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
236
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
237
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
238
+
239
+ ```
240
+
241
+ ## Snowball stemmers
242
+
243
+ The generated stemming implementations and runtime in
244
+ `zig/pkg/antfly/src/search/snowball/generated` originate from Snowball 3.0.0.
245
+ They retain the BSD 3-Clause terms from the upstream `COPYING` file:
246
+ https://github.com/snowballstem/snowball/blob/v3.0.0/COPYING
247
+
248
+ ```text
249
+ Copyright (c) 2001, Dr Martin Porter
250
+ Copyright (c) 2004,2005, Richard Boulton
251
+ Copyright (c) 2013, Yoshiki Shibukawa
252
+ Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
253
+ All rights reserved.
254
+
255
+ Redistribution and use in source and binary forms, with or without
256
+ modification, are permitted provided that the following conditions
257
+ are met:
258
+
259
+ 1. Redistributions of source code must retain the above copyright notice,
260
+ this list of conditions and the following disclaimer.
261
+ 2. Redistributions in binary form must reproduce the above copyright notice,
262
+ this list of conditions and the following disclaimer in the documentation
263
+ and/or other materials provided with the distribution.
264
+ 3. Neither the name of the Snowball project nor the names of its contributors
265
+ may be used to endorse or promote products derived from this software
266
+ without specific prior written permission.
267
+
268
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
269
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
270
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
271
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
272
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
273
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
274
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
275
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
277
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278
+ ```
279
+
280
+ ## httpx
281
+
282
+ The HTTP library under `zig/lib/httpx` retains its MIT license.
283
+
284
+ ```text
285
+ MIT License
286
+
287
+ Copyright (c) 2026 Muhammad Fiaz
288
+
289
+ Permission is hereby granted, free of charge, to any person obtaining a copy
290
+ of this software and associated documentation files (the "Software"), to deal
291
+ in the Software without restriction, including without limitation the rights
292
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
293
+ copies of the Software, and to permit persons to whom the Software is
294
+ furnished to do so, subject to the following conditions:
295
+
296
+ The above copyright notice and this permission notice shall be included in all
297
+ copies or substantial portions of the Software.
298
+
299
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
300
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
301
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
302
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
303
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
304
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
305
+ SOFTWARE.
306
+ ```
307
+
308
+ ## LMDB
309
+
310
+ The upstream C LMDB test oracle under `zig/deps/lmdb` retains the OpenLDAP Public License 2.8. The independent Zig LMDB-compatible library under `zig/lib/lmdb` is Apache-2.0.
311
+ The applicable implementation notices, including its ISC-licensed ancestry, are:
312
+
313
+ ```text
314
+ Copyright 2011-2021 Howard Chu, Symas Corp.
315
+ All rights reserved.
316
+
317
+ Redistribution and use in source and binary forms, with or without
318
+ modification, are permitted only as authorized by the OpenLDAP
319
+ Public License.
320
+
321
+ A copy of this license is available in the file LICENSE in the
322
+ top-level directory of the distribution or, alternatively, at
323
+ <http://www.OpenLDAP.org/license.html>.
324
+
325
+ This code is derived from btree.c written by Martin Hedenfalk.
326
+
327
+ Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
328
+
329
+ Permission to use, copy, modify, and distribute this software for any
330
+ purpose with or without fee is hereby granted, provided that the above
331
+ copyright notice and this permission notice appear in all copies.
332
+
333
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
334
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
335
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
336
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
337
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
338
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
339
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
340
+ ```
341
+
342
+ The OpenLDAP license text follows.
343
+
344
+ ```text
345
+ The OpenLDAP Public License
346
+ Version 2.8, 17 August 2003
347
+
348
+ Redistribution and use of this software and associated documentation
349
+ ("Software"), with or without modification, are permitted provided
350
+ that the following conditions are met:
351
+
352
+ 1. Redistributions in source form must retain copyright statements
353
+ and notices,
354
+
355
+ 2. Redistributions in binary form must reproduce applicable copyright
356
+ statements and notices, this list of conditions, and the following
357
+ disclaimer in the documentation and/or other materials provided
358
+ with the distribution, and
359
+
360
+ 3. Redistributions must contain a verbatim copy of this document.
361
+
362
+ The OpenLDAP Foundation may revise this license from time to time.
363
+ Each revision is distinguished by a version number. You may use
364
+ this Software under terms of this license revision or under the
365
+ terms of any subsequent revision of the license.
366
+
367
+ THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
368
+ CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
369
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
370
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
371
+ SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
372
+ OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
373
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
374
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
375
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
376
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
377
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
378
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
379
+ POSSIBILITY OF SUCH DAMAGE.
380
+
381
+ The names of the authors and copyright holders must not be used in
382
+ advertising or otherwise to promote the sale, use or other dealing
383
+ in this Software without specific, written prior permission. Title
384
+ to copyright in this Software shall at all times remain with copyright
385
+ holders.
386
+
387
+ OpenLDAP is a registered trademark of the OpenLDAP Foundation.
388
+
389
+ Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
390
+ California, USA. All Rights Reserved. Permission to copy and
391
+ distribute verbatim copies of this document is granted.
392
+ ```
393
+
394
+ ## Zig standard library adaptations
395
+
396
+ The Zig standard library, compiler runtime, adapted SHA-256 implementation,
397
+ TLS client, and `zig/lib/platform/src/io_uring_compat.zig` adaptation retain
398
+ the Zig contributors’ MIT notices. Both original notice
399
+ variants are reproduced below and included in native and WASM distributions.
400
+
401
+ ### Zig-SHA256-MIT
402
+
403
+ ```text
404
+ Copyright (c) Zig contributors
405
+
406
+ Permission is hereby granted, free of charge, to any person obtaining a copy
407
+ of this software and associated documentation files (the "Software"), to deal
408
+ in the Software without restriction, including without limitation the rights
409
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
410
+ copies of the Software, and to permit persons to whom the Software is
411
+ furnished to do so, subject to the following conditions:
412
+
413
+ The above copyright notice and this permission notice shall be included in
414
+ all copies or substantial portions of the Software.
415
+
416
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
417
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
418
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
419
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
420
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
421
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
422
+ THE SOFTWARE.
423
+ ```
424
+
425
+ ### Zig-TLS-MIT
426
+
427
+ ```text
428
+ Copyright (c) Zig contributors
429
+
430
+ Permission is hereby granted, free of charge, to any person obtaining a copy
431
+ of this software and associated documentation files (the "Software"), to deal
432
+ in the Software without restriction, including without limitation the rights
433
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
434
+ copies of the Software, and to permit persons to whom the Software is
435
+ furnished to do so, subject to the following conditions:
436
+
437
+ The above copyright notice and this permission notice shall be included in
438
+ all copies or substantial portions of the Software.
439
+
440
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
441
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
442
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
443
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
444
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
445
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
446
+ SOFTWARE.
447
+ ```
448
+
449
+ ## Additional LMDB source notices
450
+
451
+ The header and internal ID-list sources carry these complete notices.
452
+
453
+ ```text
454
+ Copyright 2011-2021 Howard Chu, Symas Corp. All rights reserved.
455
+
456
+ Redistribution and use in source and binary forms, with or without
457
+ modification, are permitted only as authorized by the OpenLDAP
458
+ Public License.
459
+
460
+ A copy of this license is available in the file LICENSE in the
461
+ top-level directory of the distribution or, alternatively, at
462
+ <http://www.OpenLDAP.org/license.html>.
463
+
464
+ @par Derived From:
465
+ This code is derived from btree.c written by Martin Hedenfalk.
466
+
467
+ Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
468
+
469
+ Permission to use, copy, modify, and distribute this software for any
470
+ purpose with or without fee is hereby granted, provided that the above
471
+ copyright notice and this permission notice appear in all copies.
472
+
473
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
474
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
475
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
476
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
477
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
478
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
479
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
480
+ ```
481
+
482
+ ```text
483
+ Copyright 2000-2026 The OpenLDAP Foundation.
484
+ Portions Copyright 2001-2021 Howard Chu, Symas Corp.
485
+ All rights reserved.
486
+
487
+ Redistribution and use in source and binary forms, with or without
488
+ modification, are permitted only as authorized by the OpenLDAP
489
+ Public License.
490
+
491
+ A copy of this license is available in the file LICENSE in the
492
+ top-level directory of the distribution or, alternatively, at
493
+ <http://www.OpenLDAP.org/license.html>.
494
+ ```
495
+
496
+ ## Roboto PDF fallback fonts
497
+
498
+ The PDF engine embeds unmodified Roboto 2 Regular and Bold from Google’s
499
+ Apache-2.0 distribution at commit `38062f4b4a0be4346d07a928408da21602545e9e`.
500
+
501
+ ```text
502
+ Copyright 2015 Google Inc. All Rights Reserved.
503
+ ```
504
+
505
+ ```text
506
+ Apache License
507
+ Version 2.0, January 2004
508
+ http://www.apache.org/licenses/
509
+
510
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
511
+
512
+ 1. Definitions.
513
+
514
+ "License" shall mean the terms and conditions for use, reproduction,
515
+ and distribution as defined by Sections 1 through 9 of this document.
516
+
517
+ "Licensor" shall mean the copyright owner or entity authorized by
518
+ the copyright owner that is granting the License.
519
+
520
+ "Legal Entity" shall mean the union of the acting entity and all
521
+ other entities that control, are controlled by, or are under common
522
+ control with that entity. For the purposes of this definition,
523
+ "control" means (i) the power, direct or indirect, to cause the
524
+ direction or management of such entity, whether by contract or
525
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
526
+ outstanding shares, or (iii) beneficial ownership of such entity.
527
+
528
+ "You" (or "Your") shall mean an individual or Legal Entity
529
+ exercising permissions granted by this License.
530
+
531
+ "Source" form shall mean the preferred form for making modifications,
532
+ including but not limited to software source code, documentation
533
+ source, and configuration files.
534
+
535
+ "Object" form shall mean any form resulting from mechanical
536
+ transformation or translation of a Source form, including but
537
+ not limited to compiled object code, generated documentation,
538
+ and conversions to other media types.
539
+
540
+ "Work" shall mean the work of authorship, whether in Source or
541
+ Object form, made available under the License, as indicated by a
542
+ copyright notice that is included in or attached to the work
543
+ (an example is provided in the Appendix below).
544
+
545
+ "Derivative Works" shall mean any work, whether in Source or Object
546
+ form, that is based on (or derived from) the Work and for which the
547
+ editorial revisions, annotations, elaborations, or other modifications
548
+ represent, as a whole, an original work of authorship. For the purposes
549
+ of this License, Derivative Works shall not include works that remain
550
+ separable from, or merely link (or bind by name) to the interfaces of,
551
+ the Work and Derivative Works thereof.
552
+
553
+ "Contribution" shall mean any work of authorship, including
554
+ the original version of the Work and any modifications or additions
555
+ to that Work or Derivative Works thereof, that is intentionally
556
+ submitted to Licensor for inclusion in the Work by the copyright owner
557
+ or by an individual or Legal Entity authorized to submit on behalf of
558
+ the copyright owner. For the purposes of this definition, "submitted"
559
+ means any form of electronic, verbal, or written communication sent
560
+ to the Licensor or its representatives, including but not limited to
561
+ communication on electronic mailing lists, source code control systems,
562
+ and issue tracking systems that are managed by, or on behalf of, the
563
+ Licensor for the purpose of discussing and improving the Work, but
564
+ excluding communication that is conspicuously marked or otherwise
565
+ designated in writing by the copyright owner as "Not a Contribution."
566
+
567
+ "Contributor" shall mean Licensor and any individual or Legal Entity
568
+ on behalf of whom a Contribution has been received by Licensor and
569
+ subsequently incorporated within the Work.
570
+
571
+ 2. Grant of Copyright License. Subject to the terms and conditions of
572
+ this License, each Contributor hereby grants to You a perpetual,
573
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
574
+ copyright license to reproduce, prepare Derivative Works of,
575
+ publicly display, publicly perform, sublicense, and distribute the
576
+ Work and such Derivative Works in Source or Object form.
577
+
578
+ 3. Grant of Patent License. Subject to the terms and conditions of
579
+ this License, each Contributor hereby grants to You a perpetual,
580
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
581
+ (except as stated in this section) patent license to make, have made,
582
+ use, offer to sell, sell, import, and otherwise transfer the Work,
583
+ where such license applies only to those patent claims licensable
584
+ by such Contributor that are necessarily infringed by their
585
+ Contribution(s) alone or by combination of their Contribution(s)
586
+ with the Work to which such Contribution(s) was submitted. If You
587
+ institute patent litigation against any entity (including a
588
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
589
+ or a Contribution incorporated within the Work constitutes direct
590
+ or contributory patent infringement, then any patent licenses
591
+ granted to You under this License for that Work shall terminate
592
+ as of the date such litigation is filed.
593
+
594
+ 4. Redistribution. You may reproduce and distribute copies of the
595
+ Work or Derivative Works thereof in any medium, with or without
596
+ modifications, and in Source or Object form, provided that You
597
+ meet the following conditions:
598
+
599
+ (a) You must give any other recipients of the Work or
600
+ Derivative Works a copy of this License; and
601
+
602
+ (b) You must cause any modified files to carry prominent notices
603
+ stating that You changed the files; and
604
+
605
+ (c) You must retain, in the Source form of any Derivative Works
606
+ that You distribute, all copyright, patent, trademark, and
607
+ attribution notices from the Source form of the Work,
608
+ excluding those notices that do not pertain to any part of
609
+ the Derivative Works; and
610
+
611
+ (d) If the Work includes a "NOTICE" text file as part of its
612
+ distribution, then any Derivative Works that You distribute must
613
+ include a readable copy of the attribution notices contained
614
+ within such NOTICE file, excluding those notices that do not
615
+ pertain to any part of the Derivative Works, in at least one
616
+ of the following places: within a NOTICE text file distributed
617
+ as part of the Derivative Works; within the Source form or
618
+ documentation, if provided along with the Derivative Works; or,
619
+ within a display generated by the Derivative Works, if and
620
+ wherever such third-party notices normally appear. The contents
621
+ of the NOTICE file are for informational purposes only and
622
+ do not modify the License. You may add Your own attribution
623
+ notices within Derivative Works that You distribute, alongside
624
+ or as an addendum to the NOTICE text from the Work, provided
625
+ that such additional attribution notices cannot be construed
626
+ as modifying the License.
627
+
628
+ You may add Your own copyright statement to Your modifications and
629
+ may provide additional or different license terms and conditions
630
+ for use, reproduction, or distribution of Your modifications, or
631
+ for any such Derivative Works as a whole, provided Your use,
632
+ reproduction, and distribution of the Work otherwise complies with
633
+ the conditions stated in this License.
634
+
635
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
636
+ any Contribution intentionally submitted for inclusion in the Work
637
+ by You to the Licensor shall be under the terms and conditions of
638
+ this License, without any additional terms or conditions.
639
+ Notwithstanding the above, nothing herein shall supersede or modify
640
+ the terms of any separate license agreement you may have executed
641
+ with Licensor regarding such Contributions.
642
+
643
+ 6. Trademarks. This License does not grant permission to use the trade
644
+ names, trademarks, service marks, or product names of the Licensor,
645
+ except as required for reasonable and customary use in describing the
646
+ origin of the Work and reproducing the content of the NOTICE file.
647
+
648
+ 7. Disclaimer of Warranty. Unless required by applicable law or
649
+ agreed to in writing, Licensor provides the Work (and each
650
+ Contributor provides its Contributions) on an "AS IS" BASIS,
651
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
652
+ implied, including, without limitation, any warranties or conditions
653
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
654
+ PARTICULAR PURPOSE. You are solely responsible for determining the
655
+ appropriateness of using or redistributing the Work and assume any
656
+ risks associated with Your exercise of permissions under this License.
657
+
658
+ 8. Limitation of Liability. In no event and under no legal theory,
659
+ whether in tort (including negligence), contract, or otherwise,
660
+ unless required by applicable law (such as deliberate and grossly
661
+ negligent acts) or agreed to in writing, shall any Contributor be
662
+ liable to You for damages, including any direct, indirect, special,
663
+ incidental, or consequential damages of any character arising as a
664
+ result of this License or out of the use or inability to use the
665
+ Work (including but not limited to damages for loss of goodwill,
666
+ work stoppage, computer failure or malfunction, or any and all
667
+ other commercial damages or losses), even if such Contributor
668
+ has been advised of the possibility of such damages.
669
+
670
+ 9. Accepting Warranty or Additional Liability. While redistributing
671
+ the Work or Derivative Works thereof, You may choose to offer,
672
+ and charge a fee for, acceptance of support, warranty, indemnity,
673
+ or other liability obligations and/or rights consistent with this
674
+ License. However, in accepting such obligations, You may act only
675
+ on Your own behalf and on Your sole responsibility, not on behalf
676
+ of any other Contributor, and only if You agree to indemnify,
677
+ defend, and hold each Contributor harmless for any liability
678
+ incurred by, or claims asserted against, such Contributor by reason
679
+ of your accepting any such warranty or additional liability.
680
+
681
+ END OF TERMS AND CONDITIONS
682
+
683
+ APPENDIX: How to apply the Apache License to your work.
684
+
685
+ To apply the Apache License to your work, attach the following
686
+ boilerplate notice, with the fields enclosed by brackets "[]"
687
+ replaced with your own identifying information. (Don't include
688
+ the brackets!) The text should be enclosed in the appropriate
689
+ comment syntax for the file format. We also recommend that a
690
+ file or class name and description of purpose be included on the
691
+ same "printed page" as the copyright notice for easier
692
+ identification within third-party archives.
693
+
694
+ Copyright [yyyy] [name of copyright owner]
695
+
696
+ Licensed under the Apache License, Version 2.0 (the "License");
697
+ you may not use this file except in compliance with the License.
698
+ You may obtain a copy of the License at
699
+
700
+ http://www.apache.org/licenses/LICENSE-2.0
701
+
702
+ Unless required by applicable law or agreed to in writing, software
703
+ distributed under the License is distributed on an "AS IS" BASIS,
704
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
705
+ See the License for the specific language governing permissions and
706
+ limitations under the License.
707
+ ```
708
+
709
+ ## Unicode-derived data
710
+
711
+ Tokenizer and inference Unicode classification, normalization, and case-folding
712
+ tables retain the following upstream copyright and permission notice. Antfly
713
+ generator code remains Apache-2.0; the derived Unicode data retains its terms.
714
+
715
+ ```text
716
+ UNICODE LICENSE V3
717
+
718
+ COPYRIGHT AND PERMISSION NOTICE
719
+
720
+ Copyright © 1991-2026 Unicode, Inc.
721
+
722
+ NOTICE TO USER: Carefully read the following legal agreement. BY
723
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
724
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
725
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
726
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
727
+
728
+ Permission is hereby granted, free of charge, to any person obtaining a
729
+ copy of data files and any associated documentation (the "Data Files") or
730
+ software and any associated documentation (the "Software") to deal in the
731
+ Data Files or Software without restriction, including without limitation
732
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
733
+ copies of the Data Files or Software, and to permit persons to whom the
734
+ Data Files or Software are furnished to do so, provided that either (a)
735
+ this copyright and permission notice appear with all copies of the Data
736
+ Files or Software, or (b) this copyright and permission notice appear in
737
+ associated Documentation.
738
+
739
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
740
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
741
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
742
+ THIRD PARTY RIGHTS.
743
+
744
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
745
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
746
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
747
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
748
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
749
+ FILES OR SOFTWARE.
750
+
751
+ Except as contained in this notice, the name of a copyright holder shall
752
+ not be used in advertising or otherwise to promote the sale, use or other
753
+ dealings in these Data Files or Software without prior written
754
+ authorization of the copyright holder.
755
+ ```
756
+
757
+ ## SciPy rectangular assignment solver
758
+
759
+ The inference extraction assignment solver adapts SciPy rectangular_lsap.
760
+
761
+ Source: SciPy v1.16.3 scipy/optimize/rectangular_lsap/rectangular_lsap.cpp
762
+ https://github.com/scipy/scipy/blob/v1.16.3/scipy/optimize/rectangular_lsap/rectangular_lsap.cpp
763
+ Author: PM Larsen
764
+
765
+ Redistribution and use in source and binary forms, with or without
766
+ modification, are permitted provided that the following conditions
767
+ are met:
768
+
769
+ 1. Redistributions of source code must retain the above copyright
770
+ notice, this list of conditions and the following disclaimer.
771
+
772
+ 2. Redistributions in binary form must reproduce the above
773
+ copyright notice, this list of conditions and the following
774
+ disclaimer in the documentation and/or other materials provided
775
+ with the distribution.
776
+ 3. Neither the name of the copyright holder nor the names of its
777
+ contributors may be used to endorse or promote products derived
778
+ from this software without specific prior written permission.
779
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
780
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
781
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
782
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
783
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
784
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
785
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
786
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
787
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
788
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
789
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
790
+
791
+
792
+ ## Bzip2 format randomization constants
793
+
794
+ --------------------------------------------------------------------------
795
+
796
+ This program, "bzip2", the associated library "libbzip2", and all
797
+ documentation, are copyright (C) 1996-2019 Julian R Seward. All
798
+ rights reserved.
799
+
800
+ Redistribution and use in source and binary forms, with or without
801
+ modification, are permitted provided that the following conditions
802
+ are met:
803
+
804
+ 1. Redistributions of source code must retain the above copyright
805
+ notice, this list of conditions and the following disclaimer.
806
+
807
+ 2. The origin of this software must not be misrepresented; you must
808
+ not claim that you wrote the original software. If you use this
809
+ software in a product, an acknowledgment in the product
810
+ documentation would be appreciated but is not required.
811
+
812
+ 3. Altered source versions must be plainly marked as such, and must
813
+ not be misrepresented as being the original software.
814
+
815
+ 4. The name of the author may not be used to endorse or promote
816
+ products derived from this software without specific prior written
817
+ permission.
818
+
819
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
820
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
821
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
822
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
823
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
824
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
825
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
826
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
827
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
828
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
829
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
830
+
831
+ Julian Seward, jseward@acm.org
832
+ bzip2/libbzip2 version 1.0.8 of 13 July 2019
833
+
834
+ --------------------------------------------------------------------------
835
+
836
+
837
+ ## WHATWG Encoding data
838
+
839
+ Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).
840
+
841
+ BSD 3-Clause License
842
+
843
+ Redistribution and use in source and binary forms, with or without
844
+ modification, are permitted provided that the following conditions are met:
845
+
846
+ 1. Redistributions of source code must retain the above copyright notice, this
847
+ list of conditions and the following disclaimer.
848
+
849
+ 2. Redistributions in binary form must reproduce the above copyright notice,
850
+ this list of conditions and the following disclaimer in the documentation
851
+ and/or other materials provided with the distribution.
852
+
853
+ 3. Neither the name of the copyright holder nor the names of its
854
+ contributors may be used to endorse or promote products derived from
855
+ this software without specific prior written permission.
856
+
857
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
858
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
859
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
860
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
861
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
862
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
863
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
864
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
865
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
866
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
867
+
868
+
869
+ ## Native Zig Brotli decoder and format dictionary
870
+
871
+ MIT License
872
+
873
+ Permission is hereby granted, free of charge, to any person obtaining a copy
874
+ of this software and associated documentation files (the "Software"), to deal
875
+ in the Software without restriction, including without limitation the rights
876
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
877
+ copies of the Software, and to permit persons to whom the Software is
878
+ furnished to do so, subject to the following conditions:
879
+
880
+ The above copyright notice and this permission notice shall be included in all
881
+ copies or substantial portions of the Software.
882
+
883
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
884
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
885
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
886
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
887
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
888
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
889
+ SOFTWARE.
890
+
891
+ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
892
+
893
+ Permission is hereby granted, free of charge, to any person obtaining a copy
894
+ of this software and associated documentation files (the "Software"), to deal
895
+ in the Software without restriction, including without limitation the rights
896
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
897
+ copies of the Software, and to permit persons to whom the Software is
898
+ furnished to do so, subject to the following conditions:
899
+
900
+ The above copyright notice and this permission notice shall be included in
901
+ all copies or substantial portions of the Software.
902
+
903
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
904
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
905
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
906
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
907
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
908
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
909
+ THE SOFTWARE.
910
+
911
+ ## Native Zstandard decoder adaptation
912
+
913
+ `zig/lib/compress/src/zstd_native.zig` adapts the Zig standard library decoder
914
+ shipped with the pinned Zig 0.17.0 toolchain. The source file records its upstream
915
+ SHA-256 and preserves the MIT notice. Antfly adds native raw/formatted dictionary
916
+ support, dictionary ID validation, history initialization, and checksum handling.
917
+ The decoder and all dictionary parsing compile as Zig; no libzstd build or runtime
918
+ dependency is introduced.
919
+
920
+ ### Zig-Stdlib-MIT
921
+
922
+ The MIT License (Expat)
923
+
924
+ Copyright (c) Zig contributors
925
+
926
+ Permission is hereby granted, free of charge, to any person obtaining a copy
927
+ of this software and associated documentation files (the "Software"), to deal
928
+ in the Software without restriction, including without limitation the rights
929
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
930
+ copies of the Software, and to permit persons to whom the Software is
931
+ furnished to do so, subject to the following conditions:
932
+
933
+ The above copyright notice and this permission notice shall be included in
934
+ all copies or substantial portions of the Software.
935
+
936
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
937
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
938
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
939
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
940
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
941
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
942
+ THE SOFTWARE.
943
+
944
+ ## Yuku JavaScript and TypeScript parser
945
+
946
+ Native Zig parser sources from Yuku 0.20.1, revision `e68066ff291d2fe43c727054f03636f4a633596b`.
947
+ Source: https://github.com/yuku-toolchain/yuku
948
+
949
+ MIT License
950
+
951
+ Copyright (c) 2026 Yuku
952
+
953
+ Permission is hereby granted, free of charge, to any person obtaining a copy
954
+ of this software and associated documentation files (the "Software"), to deal
955
+ in the Software without restriction, including without limitation the rights
956
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
957
+ copies of the Software, and to permit persons to whom the Software is
958
+ furnished to do so, subject to the following conditions:
959
+
960
+ The above copyright notice and this permission notice shall be included in all
961
+ copies or substantial portions of the Software.
962
+
963
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
964
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
965
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
966
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
967
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
968
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
969
+ SOFTWARE.
970
+
971
+ ## Native Zig XZ branch filters
972
+
973
+ The native Zig BCJ filters adapt algorithms from XZ Embedded revision
974
+ `d4a9bc83c72d8087fe36ff388e89599626da7873`, by Lasse Collin and Igor Pavlov.
975
+ Upstream: https://github.com/tukaani-project/xz-embedded
976
+ License: 0BSD; full notice in `LICENSES/third-party/XZ-Embedded-0BSD.txt`
977
+ and the adapted source `zig/lib/compress/src/bcj.zig`. No C sources are built.
978
+
979
+ ```text
980
+ Copyright (C) The XZ Embedded authors and contributors
981
+
982
+ Permission to use, copy, modify, and/or distribute this
983
+ software for any purpose with or without fee is hereby granted.
984
+
985
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
986
+ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
987
+ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
988
+ THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
989
+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
990
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
991
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
992
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
993
+ ```
994
+
995
+ ## Native Go, Python and Rust grammar tables
996
+
997
+ The native Zig GLR parser executes tables generated from the MIT-licensed
998
+ Tree-sitter Go, Python and Rust grammars. No C or Rust code is compiled or linked.
999
+ Python/Rust external scanners are native Zig adaptations of the upstream scanners.
1000
+ Pinned revisions and deterministic regeneration are recorded in
1001
+ `zig/lib/syntax/tools/generate_grammars.py`. Full notices are retained in the
1002
+ generated grammar source, scanner source and `LICENSES/third-party/Tree-Sitter-*-MIT.txt`.
1003
+
1004
+ ### Tree-sitter Go grammar and fixtures
1005
+
1006
+ ```text
1007
+ The MIT License (MIT)
1008
+
1009
+ Copyright (c) 2014 Max Brunsfeld
1010
+
1011
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1012
+ of this software and associated documentation files (the "Software"), to deal
1013
+ in the Software without restriction, including without limitation the rights
1014
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1015
+ copies of the Software, and to permit persons to whom the Software is
1016
+ furnished to do so, subject to the following conditions:
1017
+
1018
+ The above copyright notice and this permission notice shall be included in all
1019
+ copies or substantial portions of the Software.
1020
+
1021
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1022
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1023
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1024
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1025
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1026
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1027
+ SOFTWARE.
1028
+ ```
1029
+
1030
+ ### Tree-sitter Python grammar and fixtures
1031
+
1032
+ ```text
1033
+ The MIT License (MIT)
1034
+
1035
+ Copyright (c) 2016 Max Brunsfeld
1036
+
1037
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1038
+ of this software and associated documentation files (the "Software"), to deal
1039
+ in the Software without restriction, including without limitation the rights
1040
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1041
+ copies of the Software, and to permit persons to whom the Software is
1042
+ furnished to do so, subject to the following conditions:
1043
+
1044
+ The above copyright notice and this permission notice shall be included in all
1045
+ copies or substantial portions of the Software.
1046
+
1047
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1048
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1049
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1050
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1051
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1052
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1053
+ SOFTWARE.
1054
+ ```
1055
+
1056
+ ### Tree-sitter Rust grammar and fixtures
1057
+
1058
+ ```text
1059
+ The MIT License (MIT)
1060
+
1061
+ Copyright (c) 2017 Maxim Sokolov
1062
+
1063
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1064
+ of this software and associated documentation files (the "Software"), to deal
1065
+ in the Software without restriction, including without limitation the rights
1066
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1067
+ copies of the Software, and to permit persons to whom the Software is
1068
+ furnished to do so, subject to the following conditions:
1069
+
1070
+ The above copyright notice and this permission notice shall be included in all
1071
+ copies or substantial portions of the Software.
1072
+
1073
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1074
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1075
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1076
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1077
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1078
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1079
+ SOFTWARE.
1080
+ ```
1081
+
1082
+
1083
+ ## NVDEC ABI headers
1084
+
1085
+ The CUDA video decoder uses the MIT-licensed ABI headers from
1086
+ FFmpeg/nv-codec-headers tag `n13.0.19.0`, retained under
1087
+ `zig/pkg/inference/src/ops/cuda/video_headers/`. NVIDIA driver libraries are
1088
+ loaded at runtime and are not bundled.
1089
+
1090
+ Copyright (c) 2016
1091
+
1092
+ Permission is hereby granted, free of charge, to any person
1093
+ obtaining a copy of this software and associated documentation
1094
+ files (the "Software"), to deal in the Software without
1095
+ restriction, including without limitation the rights to use,
1096
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
1097
+ copies of the software, and to permit persons to whom the
1098
+ software is furnished to do so, subject to the following
1099
+ conditions:
1100
+
1101
+ The above copyright notice and this permission notice shall be
1102
+ included in all copies or substantial portions of the Software.
1103
+
1104
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1105
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1106
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1107
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1108
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1109
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1110
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1111
+ OTHER DEALINGS IN THE SOFTWARE.
1112
+
1113
+ Copyright (c) 2010-2024 NVIDIA Corporation
1114
+
1115
+ Permission is hereby granted, free of charge, to any person
1116
+ obtaining a copy of this software and associated documentation
1117
+ files (the "Software"), to deal in the Software without
1118
+ restriction, including without limitation the rights to use,
1119
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
1120
+ copies of the software, and to permit persons to whom the
1121
+ software is furnished to do so, subject to the following
1122
+ conditions:
1123
+
1124
+ The above copyright notice and this permission notice shall be
1125
+ included in all copies or substantial portions of the Software.
1126
+
1127
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1128
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1129
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1130
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1131
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1132
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1133
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1134
+ OTHER DEALINGS IN THE SOFTWARE.
1135
+ ## Cisco OpenH264 CAVLC and CABAC tables
1136
+
1137
+ The native Zig H.264 decoder includes CAVLC codewords and CABAC context/arithmetic tables generated from
1138
+ [OpenH264 encoder_data_tables.cpp](https://github.com/cisco/openh264/blob/1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d/codec/encoder/core/src/encoder_data_tables.cpp),
1139
+ and [OpenH264 common_tables.cpp](https://github.com/cisco/openh264/blob/1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d/codec/common/src/common_tables.cpp),
1140
+ revision `1a0073f0322c8b74cbcb75ca1bb1c3d19d75538d`.
1141
+ No OpenH264 runtime is linked.
1142
+
1143
+ Copyright (c) 2013, Cisco Systems
1144
+ All rights reserved.
1145
+ Redistribution and use in source and binary forms, with or without
1146
+ modification, are permitted provided that the following conditions
1147
+ are met:
1148
+ * Redistributions of source code must retain the above copyright
1149
+ notice, this list of conditions and the following disclaimer.
1150
+ * Redistributions in binary form must reproduce the above copyright
1151
+ notice, this list of conditions and the following disclaimer in
1152
+ the documentation and/or other materials provided with the
1153
+ distribution.
1154
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1155
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1156
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1157
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1158
+ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1159
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
1160
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1161
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1162
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1163
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
1164
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1165
+ POSSIBILITY OF SUCH DAMAGE.
1166
+
1167
+ ## Sintel retrieval qualification media
1168
+
1169
+ The clips in `zig/pkg/inference/scripts/embeddinggemma2/testdata/retrieval/` and
1170
+ `zig/pkg/inference/scripts/embeddinggemma2/testdata/retrieval-long/` are derived from the Sintel
1171
+ trailer, copyright Blender Foundation, https://durian.blender.org/, under
1172
+ Creative Commons Attribution 3.0 Unported:
1173
+ https://creativecommons.org/licenses/by/3.0/.
1174
+
1175
+ The qualification copies are resized, excerpted where specified, and re-encoded
1176
+ as H.264 or MJPEG. Their READMEs and corpus manifests record the original source,
1177
+ attribution, excerpt boundaries, modifications, encoding commands and hashes.
1178
+ These are test inputs; checkpoint weights are not included.
1179
+
1180
+ ## Maintained Zig AV1 decoder source port
1181
+
1182
+ The owned source port in `zig/lib/video/src/codecs/av1` derives from dav1d 1.5.1. Its upstream authorship notices and license remain with the source. No upstream codec library is built or linked.
1183
+
1184
+ Copyright © 2018-2019, VideoLAN and dav1d authors
1185
+ All rights reserved.
1186
+
1187
+ Redistribution and use in source and binary forms, with or without
1188
+ modification, are permitted provided that the following conditions are met:
1189
+
1190
+ 1. Redistributions of source code must retain the above copyright notice, this
1191
+ list of conditions and the following disclaimer.
1192
+
1193
+ 2. Redistributions in binary form must reproduce the above copyright notice,
1194
+ this list of conditions and the following disclaimer in the documentation
1195
+ and/or other materials provided with the distribution.
1196
+
1197
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1198
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1199
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1200
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
1201
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1202
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1203
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1204
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1205
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1206
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1207
+
1208
+ ## Maintained Zig VP9 decoder source port
1209
+
1210
+ The owned source port in `zig/lib/video/src/codecs/vp9` derives from libvpx 1.15.2. Its upstream authorship notices and license remain with the source. No upstream codec library is built or linked.
1211
+
1212
+ Copyright (c) 2010, The WebM Project authors. All rights reserved.
1213
+
1214
+ Redistribution and use in source and binary forms, with or without
1215
+ modification, are permitted provided that the following conditions are
1216
+ met:
1217
+
1218
+ * Redistributions of source code must retain the above copyright
1219
+ notice, this list of conditions and the following disclaimer.
1220
+
1221
+ * Redistributions in binary form must reproduce the above copyright
1222
+ notice, this list of conditions and the following disclaimer in
1223
+ the documentation and/or other materials provided with the
1224
+ distribution.
1225
+
1226
+ * Neither the name of Google, nor the WebM Project, nor the names
1227
+ of its contributors may be used to endorse or promote products
1228
+ derived from this software without specific prior written
1229
+ permission.
1230
+
1231
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1232
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1233
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1234
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1235
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1236
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1237
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1238
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1239
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1240
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1241
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1242
+
1243
+
1244
+ ## PacketVideo AAC enhancement algorithm
1245
+
1246
+ The maintained Zig source in `zig/lib/audio/src/aacplus/core.zig` derives from
1247
+ PacketVideo's AAC decoder in Android `frameworks/av`, commit
1248
+ `437ced8a14944bf5450df50c5e7e7a6dfe20ea40`.
1249
+ Copyright (C) 1998-2009 PacketVideo. Apache-2.0.
1250
+ Copyright (c) 2005-2008, The Android Open Source Project.
1251
+ See [source notices](zig/lib/audio/src/aacplus/SOURCE_NOTICES.md) and
1252
+ [port details](zig/lib/audio/src/aacplus/PORTING.md). No C/C++ codec build or
1253
+ runtime codec library is used.