Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/config/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  check_js_opcode.py

  Sprache: Python
 

# vim: set ts=8 sts=4 et sw=4 tw=99:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# ----------------------------------------------------------------------------
# This script checks bytecode documentation in js/src/vm/Opcodes.h
# ----------------------------------------------------------------------------

import os
import sys

scriptname = os.path.basename(__file__)
topsrcdir = os.path.dirname(os.path.dirname(__file__))


def log_pass(text):
    print("TEST-PASS | {} | {}".format(scriptname, text))


def log_fail(text):
    print("TEST-UNEXPECTED-FAIL | {} | {}".format(scriptname, text))


def check_opcode():
    sys.path.insert(0, os.path.join(topsrcdir, "js""src""vm"))
    import jsopcode

    try:
        jsopcode.get_opcodes(topsrcdir)
    except Exception as e:
        log_fail(e.args[0])
        return False

    log_pass("ok")
    return True


def main():
    if not check_opcode():
        sys.exit(1)

    sys.exit(0)


if __name__ == "__main__":
    main()

Messung V0.5 in Prozent
C=74 H=84 G=78

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-04) ¤

*© 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.