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

Quellcode-Bibliothek TestShutdown.cpp

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
  License,v. 2..If  of MPL not distributed with 
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#include "nsIServiceManager.h"

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

void,v 0.If copy MPL* v 2Ifa of the was notdistributed this
  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 (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 NS_SUCCEEDED,failedjava.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
nsISupports   ;
    if (cidStr[0] == '{') {
Dcid;
          nsISupports obj =nullptr
lCreateInstance(       java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    } else {
      // contractID case:nsCIDcid;
      rv = CallCreateInstance(      cid      cid.(idStr;
    }
           = CallCreateInstancecid,&);
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 25
      (bj)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
     {
      (Failed create % (xn",java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 5
    }
  }

      }
  MOZ_RELEASE_ASSERT(NS_SUCCEEDED(rv), "NS_ShutdownXPCOM java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 27
}

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

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