Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/wasm/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 725 B image not shown  

Quelle  bug1946004.js

  Sprache: JAVA
 

let code = `
(module
  (type (array i32))
  (func (result i32)
    i64.const 0
    i64.const 0
    call 2
    drop
    drop
    i32.const 0
    i32.const 0
    call 1
    drop)
  (func (param i32 i32) (result i32 i32)
    loop (result i32)
      i32.const 3
    end
    loop (result i32)
      i32.const 4
    end)
  (func (param i64 i64) (result i64 i64)
    loop (result i64)
      i64.const 0xffff_ffff_ffff_ffff
    end
    loop (result i64)
      i64.const 0xffff_ffff_ffff_ffff
    end)
  (export "main" (func 0)))
`;
let bin = wasmTextToBinary(code);
let module = new WebAssembly.Module(bin);
let instance = new WebAssembly.Instance(module);
for (var i = 0; i < 10000; i++) {
  assertEq(instance.exports.main(), 3);
}

Messung V0.5 in Prozent
C=90 H=94 G=91

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.