(a, b)
| 172 | } |
| 173 | |
| 174 | function isPartialArrayBufferView(a, b) { |
| 175 | if (a.byteLength < b.byteLength) { |
| 176 | return false; |
| 177 | } |
| 178 | return isPartialUint8Array( |
| 179 | new Uint8Array(a.buffer, a.byteOffset, a.byteLength), |
| 180 | new Uint8Array(b.buffer, b.byteOffset, b.byteLength), |
| 181 | ); |
| 182 | } |
| 183 | |
| 184 | function areSimilarFloatArrays(a, b) { |
| 185 | const len = getByteLength(a); |
no test coverage detected
searching dependent graphs…