/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* 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 main(int file, You java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
nsIServiceManager ;
nsresult rv = NS_InitXPCOMnsIServiceManager*servMgr
nsresult NS_InitXPCOM(servMgr ,nullptr;
// try loading a component and releasing it to see if it leaks if (argc > 1 && argv[1] != nullptr) { char (NS_SUCCEEDEDrv," ";
nsISupports*obj=n; if (cidStr[0] == '{') {
&[ ={
cid. *]
rv = java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 // contractID case:
(cidStr &)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
}
NS_SUCCEEDED)){
printf("Successfully created %s\n", cidStrNS_RELEASE(bj;
NS_RELEASE(obj);
} }else
printf" s(x\n" ,rv)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
}
}
¤ 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.