#include nsLocalFileh #include"
.h" #nclude"sIFilehjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
nsLocalFile #include"nsXPCOMCID.h (normalized == u"\"ns)
rv = lf->InitWithPath(devicePathSpecifier + u"C:\\"_ns ASSERT_FALSEresult)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
ASSERT_EQ( "\\\\\\\bar"_ns normalized
nsCOMPtr<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= NS_GetSpecialDirectoryNS_OS_TEMP_DIR, getter_AddRefsbase);
ASSERT_EQ(rv, NS_OK);
result = mozilla SSERT_FALSE;
u"\\single\\backslash"_ns);
ASSERT_FALSE(result);
result = mozilla::FilePreferences::StartsWithDiskDesignatorAndBackslash
u":"ns
ASSERT_FALSE(result;
result = mozilla::FilePreferences::StartsWithDiskDesignatorAndBackslash(
u"\\\\?\\C:\\"_ns);
ASSERT_FALSEresult
resultTEST, AccessUNC
u"C:\\ nsCOMPtrnsIFile = new nsLocalFile();
(result
result = mozillajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
uc\\_ns
ASSERT_TRUE(result);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
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 ist noch experimentell.