Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  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

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-25) ¤

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002