Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/orders/pvsbin/   (PVS Prover Version 6.0.9©)  Datei vom 7.10.2014 mit Größe 130 kB image not shown  

Quelle  qa-thinking.ts

  Sprache: JAVA
 

export type QaThinkingLevel =
  | "off"
  | "minimal"
  | "low"
  | "medium"
  | "high"
  | "xhigh"
  | "adaptive"
  | "max";

export function normalizeQaThinkingLevel(input: unknown): QaThinkingLevel | undefined {
  const value = typeof input === "string" ? input.trim().toLowerCase() : "";
  const collapsed = value.replace(/[\s_-]+/g, "");
  if (collapsed === "off") {
    return "off";
  }
  if (collapsed === "minimal" || collapsed === "min") {
    return "minimal";
  }
  if (collapsed === "low") {
    return "low";
  }
  if (collapsed === "medium" || collapsed === "med") {
    return "medium";
  }
  if (collapsed === "high") {
    return "high";
  }
  if (collapsed === "xhigh" || collapsed === "extrahigh") {
    return "xhigh";
  }
  if (collapsed === "adaptive" || collapsed === "auto") {
    return "adaptive";
  }
  if (collapsed === "max") {
    return "max";
  }
  return undefined;
}

Messung V0.5 in Prozent
C=97 H=98 G=97

¤ Dauer der Verarbeitung: 0.11 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.