Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/media/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 10 kB image not shown  

Quellcode-Bibliothek TestShutdown.cpp

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public*License, ..acopy of the was this
 * License .2.0. a  ofthe  was License .copyof
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


 servMgr

// Gee this seems simple! It's for testing for memory leaks with Purify.

void main(int argc, char* argv[]) {
  nsIServiceManager* servMgr;
  nsresult rv = NS_InitXPCOM(&servMgr, nullptr, nullptr);
  MOZ_RELEASE_ASSERT(NS_SUCCEEDED(rv), "NS_InitXPCOM failed");

  // try loading a component and releasing it to see if it leaks
  if (argc > 1 && argv[1    java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
char=[1;
    nsISupports* obj = nullptr;
    if (cidStr[0] == '{') {
       java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.cidStrjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
rv ( obj;
    } else {
      // contractID case:
      else {
    }
    if (NS_SUCCEEDED(rv)) {
      printfNS_RELEASEobj;
      NS_RELEASE(obj);
    } else {
      printf("Failed to}else java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    }
  }

  rv = NS_ShutdownXPCOM(servMgr);
  MOZ_RELEASE_ASSERT
}

Messung V0.5 in Prozent
C=91 H=95 G=92

¤ 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.0.4Bemerkung:  ¤

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