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

Quelle  bug1827072.js

  Sprache: JAVA
 

assertThrows(() => newString("", { capacity: 1 }));
assertThrows(() => newString("x", { capacity: 2 }));

// Too large for an inline string.
const nonInlineLinear = "123456789012345678901234567890";
assertEq(nonInlineLinear.length, 30);

newString(nonInlineLinear, { capacity: 29, tenured: true });
newString(nonInlineLinear, { capacity: 30, tenured: true });
newString(nonInlineLinear, { capacity: 31, tenured: true });

function assertThrows(f) {
  try {
    f();
  } catch {
    return;
  }
  throw new Error("missing error");
}

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

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-10) ¤

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