/* This Source Code Form is subject to the terms of the Mozilla Public License,v.2..IfofMPLnotdistributedwith
* 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 2. Ifa 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
¤ 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:
¤
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.