File: preamble.js.lds

package info (click to toggle)
xnnpack 0.0~git20201031.beca652%2Breally.git20200323.1b35463-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,260 kB
  • sloc: cpp: 287,277; ansic: 197,749; asm: 25,609; python: 7,794; sh: 1,286; makefile: 14
file content (9 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
/*
 * Copyright 2019 Google LLC
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

/* mock crypto module for benchmarks and unit tests or std::random_device fails at runtime */
var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };