reactor-effect-native 0.0.0-reserved.0 → 0.2.0

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 (111) hide show
  1. package/Dockerfile +38 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +28 -0
  4. package/README.md +106 -2
  5. package/dist/_internal/bridge.d.ts +49 -0
  6. package/dist/_internal/bridge.d.ts.map +1 -0
  7. package/dist/_internal/bridge.js +452 -0
  8. package/dist/_internal/bridge.js.map +1 -0
  9. package/dist/_internal/peer.d.ts +57 -0
  10. package/dist/_internal/peer.d.ts.map +1 -0
  11. package/dist/_internal/peer.js +479 -0
  12. package/dist/_internal/peer.js.map +1 -0
  13. package/dist/index.d.ts +25 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +41 -0
  16. package/dist/index.js.map +1 -0
  17. package/lib/darwin-arm64/libreactor_effect_native.dylib +0 -0
  18. package/lib/darwin-arm64/native-identity.json +18 -0
  19. package/lib/linux-x64/libreactor_effect_native.so +0 -0
  20. package/lib/linux-x64/native-identity.json +20 -0
  21. package/notices/effect-LICENSE +21 -0
  22. package/notices/native-rust/NOTICE.md +27 -0
  23. package/notices/native-rust/bytes-1.12.1-LICENSE +25 -0
  24. package/notices/native-rust/itoa-1.0.18-LICENSE-APACHE +176 -0
  25. package/notices/native-rust/memchr-2.8.3-LICENSE-MIT +21 -0
  26. package/notices/native-rust/prost-0.13.5-LICENSE +201 -0
  27. package/notices/native-rust/serde-1.0.229-LICENSE-APACHE +176 -0
  28. package/notices/native-rust/serde_json-1.0.151-LICENSE-APACHE +176 -0
  29. package/notices/native-rust/zmij-1.0.23-LICENSE-MIT +23 -0
  30. package/notices/reactor-webrtc/WebRTC-LICENSE +29 -0
  31. package/notices/reactor-webrtc/WebRTC-PATENTS +24 -0
  32. package/notices/reactor-webrtc/reactor-webrtc-linux-x64-release.sbom.json +660 -0
  33. package/notices/reactor-webrtc/reactor-webrtc-mac-arm64-release.sbom.json +631 -0
  34. package/notices/reactor-webrtc/third-party/README.md +58 -0
  35. package/notices/reactor-webrtc/third-party/abseil-cpp/LICENSE +203 -0
  36. package/notices/reactor-webrtc/third-party/abseil-cpp/README.chromium +55 -0
  37. package/notices/reactor-webrtc/third-party/boringssl/LICENSE +238 -0
  38. package/notices/reactor-webrtc/third-party/boringssl/README.chromium +15 -0
  39. package/notices/reactor-webrtc/third-party/compiler-rt/LICENSE.TXT +311 -0
  40. package/notices/reactor-webrtc/third-party/compiler-rt/README.chromium +15 -0
  41. package/notices/reactor-webrtc/third-party/cpuinfo/LICENSE +27 -0
  42. package/notices/reactor-webrtc/third-party/cpuinfo/README.chromium +15 -0
  43. package/notices/reactor-webrtc/third-party/dav1d/LICENSE +23 -0
  44. package/notices/reactor-webrtc/third-party/dav1d/README.chromium +40 -0
  45. package/notices/reactor-webrtc/third-party/farmhash/LICENSE +19 -0
  46. package/notices/reactor-webrtc/third-party/farmhash/README.chromium +21 -0
  47. package/notices/reactor-webrtc/third-party/fft2d/LICENSE +3 -0
  48. package/notices/reactor-webrtc/third-party/fft2d/README.chromium +24 -0
  49. package/notices/reactor-webrtc/third-party/flatbuffers/LICENSE +202 -0
  50. package/notices/reactor-webrtc/third-party/flatbuffers/README.chromium +18 -0
  51. package/notices/reactor-webrtc/third-party/fp16/LICENSE +12 -0
  52. package/notices/reactor-webrtc/third-party/fp16/README.chromium +16 -0
  53. package/notices/reactor-webrtc/third-party/fxdiv/LICENSE +10 -0
  54. package/notices/reactor-webrtc/third-party/fxdiv/README.chromium +16 -0
  55. package/notices/reactor-webrtc/third-party/gemmlowp/LICENSE +202 -0
  56. package/notices/reactor-webrtc/third-party/gemmlowp/README.chromium +14 -0
  57. package/notices/reactor-webrtc/third-party/grpc/LICENSE +610 -0
  58. package/notices/reactor-webrtc/third-party/grpc/README.chromium +30 -0
  59. package/notices/reactor-webrtc/third-party/jsoncpp/LICENSE +55 -0
  60. package/notices/reactor-webrtc/third-party/jsoncpp/README.chromium +20 -0
  61. package/notices/reactor-webrtc/third-party/libaom/LICENSE +27 -0
  62. package/notices/reactor-webrtc/third-party/libaom/PATENTS +108 -0
  63. package/notices/reactor-webrtc/third-party/libaom/README.chromium +61 -0
  64. package/notices/reactor-webrtc/third-party/libgav1/LICENSE +202 -0
  65. package/notices/reactor-webrtc/third-party/libgav1/README.chromium +33 -0
  66. package/notices/reactor-webrtc/third-party/libjpeg_turbo/LICENSE.md.chromium +236 -0
  67. package/notices/reactor-webrtc/third-party/libjpeg_turbo/README.chromium +66 -0
  68. package/notices/reactor-webrtc/third-party/libsrtp/LICENSE +35 -0
  69. package/notices/reactor-webrtc/third-party/libsrtp/README.chromium +17 -0
  70. package/notices/reactor-webrtc/third-party/libvpx/LICENSE +31 -0
  71. package/notices/reactor-webrtc/third-party/libvpx/PATENTS +23 -0
  72. package/notices/reactor-webrtc/third-party/libvpx/README.chromium +73 -0
  73. package/notices/reactor-webrtc/third-party/libyuv/LICENSE +29 -0
  74. package/notices/reactor-webrtc/third-party/libyuv/README.chromium +13 -0
  75. package/notices/reactor-webrtc/third-party/neon_2_sse/LICENSE +29 -0
  76. package/notices/reactor-webrtc/third-party/neon_2_sse/README.chromium +21 -0
  77. package/notices/reactor-webrtc/third-party/opus/COPYING +44 -0
  78. package/notices/reactor-webrtc/third-party/opus/README.chromium +41 -0
  79. package/notices/reactor-webrtc/third-party/perfetto/LICENSE +285 -0
  80. package/notices/reactor-webrtc/third-party/perfetto/README.chromium +12 -0
  81. package/notices/reactor-webrtc/third-party/pffft/LICENSE +45 -0
  82. package/notices/reactor-webrtc/third-party/pffft/README.chromium +43 -0
  83. package/notices/reactor-webrtc/third-party/protobuf/LICENSE +32 -0
  84. package/notices/reactor-webrtc/third-party/protobuf/README.chromium +325 -0
  85. package/notices/reactor-webrtc/third-party/pthreadpool/LICENSE +26 -0
  86. package/notices/reactor-webrtc/third-party/pthreadpool/README.chromium +19 -0
  87. package/notices/reactor-webrtc/third-party/re2/LICENSE +27 -0
  88. package/notices/reactor-webrtc/third-party/re2/README.chromium +15 -0
  89. package/notices/reactor-webrtc/third-party/rnnoise/COPYING +31 -0
  90. package/notices/reactor-webrtc/third-party/rnnoise/README.chromium +30 -0
  91. package/notices/reactor-webrtc/third-party/ruy/LICENSE +202 -0
  92. package/notices/reactor-webrtc/third-party/ruy/README.chromium +20 -0
  93. package/notices/reactor-webrtc/third-party/tflite/LICENSE +203 -0
  94. package/notices/reactor-webrtc/third-party/tflite/README.chromium +22 -0
  95. package/notices/reactor-webrtc/third-party/xnnpack/LICENSE +31 -0
  96. package/notices/reactor-webrtc/third-party/xnnpack/README.chromium +18 -0
  97. package/notices/reactor-webrtc/third-party/zlib/LICENSE +22 -0
  98. package/notices/reactor-webrtc/third-party/zlib/README.chromium +38 -0
  99. package/notices/reactor-webrtc-LICENSE +201 -0
  100. package/notices/reactor-webrtc-NOTICE.md +32 -0
  101. package/package.json +54 -4
  102. package/rust/.cargo/config.toml +5 -0
  103. package/rust/Cargo.lock +208 -0
  104. package/rust/Cargo.toml +19 -0
  105. package/rust/build.rs +159 -0
  106. package/rust/include/reactor_effect_native.h +118 -0
  107. package/rust/src/lib.rs +2343 -0
  108. package/scripts/build.sh +35 -0
  109. package/scripts/install-linux-toolchain.sh +47 -0
  110. package/scripts/stage.mjs +107 -0
  111. package/scripts/stage.sh +31 -0
@@ -0,0 +1,285 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ ------------------
179
+
180
+ Files: * except those files noted below
181
+
182
+ Copyright (c) 2017, The Android Open Source Project
183
+
184
+ Licensed under the Apache License, Version 2.0 (the "License");
185
+ you may not use this file except in compliance with the License.
186
+
187
+ Unless required by applicable law or agreed to in writing, software
188
+ distributed under the License is distributed on an "AS IS" BASIS,
189
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190
+ See the License for the specific language governing permissions and
191
+ limitations under the License.
192
+
193
+
194
+ ------------------
195
+
196
+ Files: src/trace_processor/perfetto_sql/stdlib/chromium/*, protos/third_party/chromium/*, test/trace_processor/diff_tests/stdlib/chrome/*
197
+
198
+ Copyright 2015 The Chromium Authors
199
+
200
+ Redistribution and use in source and binary forms, with or without
201
+ modification, are permitted provided that the following conditions are
202
+ met:
203
+
204
+ * Redistributions of source code must retain the above copyright
205
+ notice, this list of conditions and the following disclaimer.
206
+ * Redistributions in binary form must reproduce the above
207
+ copyright notice, this list of conditions and the following disclaimer
208
+ in the documentation and/or other materials provided with the
209
+ distribution.
210
+ * Neither the name of Google LLC nor the names of its
211
+ contributors may be used to endorse or promote products derived from
212
+ this software without specific prior written permission.
213
+
214
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
215
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
216
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
217
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
218
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
219
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
220
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
221
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
222
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
223
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
224
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
225
+
226
+
227
+ ------------------
228
+
229
+ Files: src/trace_processor/perfetto_sql/syntaqlite/syntaqlite_perfetto.{c, h}
230
+
231
+ Copyright 2025 The syntaqlite Authors. All rights reserved.
232
+
233
+ Machine-generated amalgamation of syntaqlite runtime + Perfetto dialect
234
+ sources (https://github.com/LalitMaganti/syntaqlite). Portions derive
235
+ from SQLite's public-domain `parse.y` grammar.
236
+
237
+ Licensed under the Apache License, Version 2.0 (the "License");
238
+ you may not use this file except in compliance with the License.
239
+
240
+ Unless required by applicable law or agreed to in writing, software
241
+ distributed under the License is distributed on an "AS IS" BASIS,
242
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
243
+ See the License for the specific language governing permissions and
244
+ limitations under the License.
245
+
246
+
247
+ ------------------
248
+
249
+ Files: src/trace_processor/perfetto_sql/preprocessor/preprocessor_grammar.{c, h}
250
+
251
+ The author disclaims copyright to this source code. In place of a legal notice, here is a blessing:
252
+
253
+ May you do good and not evil.
254
+ May you find forgiveness for yourself and forgive others.
255
+ May you share freely, never taking more than you give.
256
+
257
+
258
+ ------------------
259
+
260
+ Files: src/base/intrusive_tree.cc
261
+
262
+ $OpenBSD: tree.h,v 1.31 2023/03/08 04:43:09 guenther Exp $
263
+
264
+ Copyright 2002 Niels Provos <provos@citi.umich.edu>
265
+ All rights reserved.
266
+
267
+ Redistribution and use in source and binary forms, with or without
268
+ modification, are permitted provided that the following conditions
269
+ are met:
270
+ 1. Redistributions of source code must retain the above copyright
271
+ notice, this list of conditions and the following disclaimer.
272
+ 2. Redistributions in binary form must reproduce the above copyright
273
+ notice, this list of conditions and the following disclaimer in the
274
+ documentation and/or other materials provided with the distribution.
275
+
276
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
277
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
278
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
279
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
280
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
281
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
282
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
283
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
284
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
285
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,12 @@
1
+ Name: Perfetto
2
+ URL: https://github.com/google/perfetto/
3
+ Version: N/A
4
+ Revision: DEPS
5
+ Update Mechanism: Manual
6
+ License: blessing, BSD-3-Clause, Apache-2.0
7
+ License File: LICENSE
8
+ Security Critical: yes
9
+ Shipped: yes
10
+ License Android Compatible: yes
11
+ Description: Performance instrumentation and logging for Google client platforms
12
+ Local Modifications: None
@@ -0,0 +1,45 @@
1
+ Copyright (c) 2013 Julien Pommier ( pommier@modartt.com )
2
+
3
+ Based on original fortran 77 code from FFTPACKv4 from NETLIB,
4
+ authored by Dr Paul Swarztrauber of NCAR, in 1985.
5
+
6
+ As confirmed by the NCAR fftpack software curators, the following
7
+ FFTPACKv5 license applies to FFTPACKv4 sources. My changes are
8
+ released under the same terms.
9
+
10
+ FFTPACK license:
11
+
12
+ http://www.cisl.ucar.edu/css/software/fftpack5/ftpk.html
13
+
14
+ Copyright (c) 2004 the University Corporation for Atmospheric
15
+ Research ("UCAR"). All rights reserved. Developed by NCAR's
16
+ Computational and Information Systems Laboratory, UCAR,
17
+ www.cisl.ucar.edu.
18
+
19
+ Redistribution and use of the Software in source and binary forms,
20
+ with or without modification, is permitted provided that the
21
+ following conditions are met:
22
+
23
+ - Neither the names of NCAR's Computational and Information Systems
24
+ Laboratory, the University Corporation for Atmospheric Research,
25
+ nor the names of its sponsors or contributors may be used to
26
+ endorse or promote products derived from this Software without
27
+ specific prior written permission.
28
+
29
+ - Redistributions of source code must retain the above copyright
30
+ notices, this list of conditions, and the disclaimer below.
31
+
32
+ - Redistributions in binary form must reproduce the above copyright
33
+ notice, this list of conditions, and the disclaimer below in the
34
+ documentation and/or other materials provided with the
35
+ distribution.
36
+
37
+ THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38
+ EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF
39
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40
+ NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
41
+ HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, INCIDENTAL, SPECIAL,
42
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN AN
43
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
44
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
45
+ SOFTWARE.
@@ -0,0 +1,43 @@
1
+ Name: PFFFT: a pretty fast FFT.
2
+ Short Name: PFFFT
3
+ URL: https://bitbucket.org/jpommier/pffft/
4
+ Version: N/A
5
+ Date: 2014-08-09
6
+ Revision: 483453d8f766
7
+ Update Mechanism: Manual
8
+ License: pffft
9
+ License File: LICENSE
10
+ Security Critical: Yes
11
+ Shipped: yes
12
+ License Android Compatible: Yes
13
+
14
+ Description:
15
+ PFFFT does 1D Fast Fourier Transforms, of single precision real and complex vectors. It tries do it fast, it tries to be correct, and it tries to be small. Computations do take advantage of SSE1 instructions on x86 cpus, Altivec on powerpc cpus, and NEON on ARM cpus.
16
+
17
+ Note about the structure of //third_party/pffft:
18
+ The imported third party code (with patches applied, see "Local Modifications") lives in //third_party/pffft/src/, whereas the fuzzer and unit test code lives in //third_party/pffft.
19
+
20
+ Remarks on the C library and recommendations:
21
+ - The C API is unsafe: input and output arrays are passed as pointers without size
22
+ - When a scratch array is not provided (e.g., pffft_transform(/*work=*/nullptr)), VLA is used
23
+ * MSVC: stack or heap depending on size
24
+ * other compilers: always on the stack
25
+ - According to the PFFFT documentation, when SIMD is enabled, input, output and scratch arrays must be allocated as aligned memory (16-byte boundary on intel and PowerPC);
26
+ as long as the SIMD extension API requirements are met, one may use different options (and not only pffft_aligned_malloc) such as std::vector
27
+ - It is strongly recommended that a C++ wrapper is used to
28
+ (i) avoid pointer arguments (e.g., using absl::Span)
29
+ (ii) pre-allocate the scratch buffer for large FFT sizes
30
+ (iii) provide a function to check if an integer is a supported FFT size
31
+
32
+ Local Modifications:
33
+
34
+ Local modifications live in //third_party/pffft/patches/. To apply them run:
35
+ $ for patch in third_party/pffft/patches/*; do patch -s -p1 < $patch; done
36
+
37
+ In case of conflict, update those patches accordingly and save them back in //third_party/pffft/patches/.
38
+
39
+ * 01-rmv_printf.diff: remove printf and stop including stdio.h
40
+ * 02-decl_validate_simd.diff: declare validate_pffft_simd() in pffft.h
41
+ * 03-malloca.diff: replace _alloca (deprecated) with _malloca (MSVC case only) + cleanup
42
+ * 04-fix_ptr_cast.diff: avoid MSVC warnings by fixing pointer cast
43
+ * 05-fix-arch-detection.diff: better arch detection to avoid to define PFFFT_SIMD_DISABLE
@@ -0,0 +1,32 @@
1
+ Copyright 2008 Google Inc. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are
5
+ met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above
10
+ copyright notice, this list of conditions and the following disclaimer
11
+ in the documentation and/or other materials provided with the
12
+ distribution.
13
+ * Neither the name of Google Inc. nor the names of its
14
+ contributors may be used to endorse or promote products derived from
15
+ this software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+
29
+ Code generated by the Protocol Buffer compiler is owned by the owner
30
+ of the input file used when generating it. This code is not
31
+ standalone and requires a support library to be linked with it. This
32
+ support library is itself covered by the above license.