Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.29
Domains :
Cant Read [ /etc/named.conf ]
User : celfico1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
unicode /
Delete
Unzip
Name
Size
Permission
Date
Action
alphaindex.h
25.29
KB
-rw-r--r--
2020-03-25 14:47
appendable.h
8.38
KB
-rw-r--r--
2020-03-25 14:47
basictz.h
8.77
KB
-rw-r--r--
2020-03-25 14:47
bms.h
8.68
KB
-rw-r--r--
2020-03-25 14:47
bmsearch.h
7.33
KB
-rw-r--r--
2020-03-25 14:47
brkiter.h
24.24
KB
-rw-r--r--
2020-03-25 14:47
bytestream.h
9.16
KB
-rw-r--r--
2020-03-25 14:47
bytestrie.h
19.19
KB
-rw-r--r--
2020-03-25 14:47
bytestriebuilder.h
6.73
KB
-rw-r--r--
2020-03-25 14:47
calendar.h
102.76
KB
-rw-r--r--
2020-03-25 14:47
caniter.h
7.23
KB
-rw-r--r--
2020-03-25 14:47
chariter.h
23.71
KB
-rw-r--r--
2020-03-25 14:47
choicfmt.h
27.82
KB
-rw-r--r--
2020-03-25 14:47
coleitr.h
12.69
KB
-rw-r--r--
2020-03-25 14:47
coll.h
53.44
KB
-rw-r--r--
2020-03-25 14:47
colldata.h
12.42
KB
-rw-r--r--
2020-03-25 14:47
curramt.h
3.57
KB
-rw-r--r--
2020-03-25 14:47
currpinf.h
6.93
KB
-rw-r--r--
2020-03-25 14:47
currunit.h
2.99
KB
-rw-r--r--
2020-03-25 14:47
datefmt.h
33.67
KB
-rw-r--r--
2020-03-25 14:47
dbbi.h
966
B
-rw-r--r--
2020-03-25 14:47
dcfmtsym.h
14.91
KB
-rw-r--r--
2020-03-25 14:47
decimfmt.h
97.38
KB
-rw-r--r--
2020-03-25 14:47
docmain.h
6.28
KB
-rw-r--r--
2020-03-25 14:47
dtfmtsym.h
30.27
KB
-rw-r--r--
2020-03-25 14:47
dtintrv.h
3.65
KB
-rw-r--r--
2020-03-25 14:47
dtitvfmt.h
39.24
KB
-rw-r--r--
2020-03-25 14:47
dtitvinf.h
18.56
KB
-rw-r--r--
2020-03-25 14:47
dtptngen.h
19.54
KB
-rw-r--r--
2020-03-25 14:47
dtrule.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
enumset.h
1.8
KB
-rw-r--r--
2020-03-25 14:47
errorcode.h
4.67
KB
-rw-r--r--
2020-03-25 14:47
fieldpos.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
fmtable.h
22.09
KB
-rw-r--r--
2020-03-25 14:47
format.h
12.33
KB
-rw-r--r--
2020-03-25 14:47
fpositer.h
2.97
KB
-rw-r--r--
2020-03-25 14:47
gender.h
3.02
KB
-rw-r--r--
2020-03-25 14:47
gregocal.h
33.28
KB
-rw-r--r--
2020-03-25 14:47
icudataver.h
990
B
-rw-r--r--
2020-03-25 14:47
icuplug.h
11.49
KB
-rw-r--r--
2020-03-25 14:47
idna.h
12.68
KB
-rw-r--r--
2020-03-25 14:47
listformatter.h
3.97
KB
-rw-r--r--
2020-03-25 14:47
localpointer.h
9.13
KB
-rw-r--r--
2020-03-25 14:47
locdspnm.h
7.14
KB
-rw-r--r--
2020-03-25 14:47
locid.h
30.48
KB
-rw-r--r--
2020-03-25 14:47
measfmt.h
1.94
KB
-rw-r--r--
2020-03-25 14:47
measunit.h
1.6
KB
-rw-r--r--
2020-03-25 14:47
measure.h
3.24
KB
-rw-r--r--
2020-03-25 14:47
messagepattern.h
33.6
KB
-rw-r--r--
2020-03-25 14:47
msgfmt.h
43.59
KB
-rw-r--r--
2020-03-25 14:47
normalizer2.h
28.34
KB
-rw-r--r--
2020-03-25 14:47
normlzr.h
29.26
KB
-rw-r--r--
2020-03-25 14:47
numfmt.h
43.59
KB
-rw-r--r--
2020-03-25 14:47
numsys.h
5.37
KB
-rw-r--r--
2020-03-25 14:47
parseerr.h
2.97
KB
-rw-r--r--
2020-03-25 14:47
parsepos.h
5.34
KB
-rw-r--r--
2020-03-25 14:47
platform.h
24.23
KB
-rw-r--r--
2020-03-25 14:47
plurfmt.h
24.58
KB
-rw-r--r--
2020-03-25 14:47
plurrule.h
14.56
KB
-rw-r--r--
2020-03-25 14:47
ptypes.h
3.36
KB
-rw-r--r--
2020-03-25 14:47
putil.h
5.61
KB
-rw-r--r--
2020-03-25 14:47
rbbi.h
29.15
KB
-rw-r--r--
2020-03-25 14:47
rbnf.h
45.32
KB
-rw-r--r--
2020-03-25 14:47
rbtz.h
15.33
KB
-rw-r--r--
2020-03-25 14:47
regex.h
83.1
KB
-rw-r--r--
2020-03-25 14:47
rep.h
9.33
KB
-rw-r--r--
2020-03-25 14:47
resbund.h
17.89
KB
-rw-r--r--
2020-03-25 14:47
schriter.h
6.15
KB
-rw-r--r--
2020-03-25 14:47
search.h
22.1
KB
-rw-r--r--
2020-03-25 14:47
selfmt.h
14.13
KB
-rw-r--r--
2020-03-25 14:47
simpletz.h
45.1
KB
-rw-r--r--
2020-03-25 14:47
smpdtfmt.h
57.58
KB
-rw-r--r--
2020-03-25 14:47
sortkey.h
10.98
KB
-rw-r--r--
2020-03-25 14:47
std_string.h
783
B
-rw-r--r--
2020-03-25 14:47
strenum.h
9.92
KB
-rw-r--r--
2020-03-25 14:47
stringpiece.h
6.38
KB
-rw-r--r--
2020-03-25 14:47
stringtriebuilder.h
14.75
KB
-rw-r--r--
2020-03-25 14:47
stsearch.h
21.76
KB
-rw-r--r--
2020-03-25 14:47
symtable.h
4.1
KB
-rw-r--r--
2020-03-25 14:47
tblcoll.h
34.23
KB
-rw-r--r--
2020-03-25 14:47
timezone.h
37.28
KB
-rw-r--r--
2020-03-25 14:47
tmunit.h
3.39
KB
-rw-r--r--
2020-03-25 14:47
tmutamt.h
4.69
KB
-rw-r--r--
2020-03-25 14:47
tmutfmt.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
translit.h
53.76
KB
-rw-r--r--
2020-03-25 14:47
tzfmt.h
32.06
KB
-rw-r--r--
2020-03-25 14:47
tznames.h
14.83
KB
-rw-r--r--
2020-03-25 14:47
tzrule.h
35.21
KB
-rw-r--r--
2020-03-25 14:47
tztrans.h
5.96
KB
-rw-r--r--
2020-03-25 14:47
ubidi.h
88.57
KB
-rw-r--r--
2020-03-25 14:47
ubrk.h
19.13
KB
-rw-r--r--
2020-03-25 14:47
ucal.h
50.49
KB
-rw-r--r--
2020-03-25 14:47
ucasemap.h
16.45
KB
-rw-r--r--
2020-03-25 14:47
ucat.h
5.25
KB
-rw-r--r--
2020-03-25 14:47
uchar.h
115.43
KB
-rw-r--r--
2020-03-25 14:47
ucharstrie.h
20.8
KB
-rw-r--r--
2020-03-25 14:47
ucharstriebuilder.h
6.83
KB
-rw-r--r--
2020-03-25 14:47
uchriter.h
12.82
KB
-rw-r--r--
2020-03-25 14:47
uclean.h
10.38
KB
-rw-r--r--
2020-03-25 14:47
ucnv.h
82.6
KB
-rw-r--r--
2020-03-25 14:47
ucnv_cb.h
6.48
KB
-rw-r--r--
2020-03-25 14:47
ucnv_err.h
20.87
KB
-rw-r--r--
2020-03-25 14:47
ucnvsel.h
6.03
KB
-rw-r--r--
2020-03-25 14:47
ucol.h
57.93
KB
-rw-r--r--
2020-03-25 14:47
ucoleitr.h
12.25
KB
-rw-r--r--
2020-03-25 14:47
uconfig.h
10.79
KB
-rw-r--r--
2020-03-25 14:47
ucsdet.h
12.6
KB
-rw-r--r--
2020-03-25 14:47
ucurr.h
12.96
KB
-rw-r--r--
2020-03-25 14:47
udat.h
46.47
KB
-rw-r--r--
2020-03-25 14:47
udata.h
14.81
KB
-rw-r--r--
2020-03-25 14:47
udateintervalformat.h
6.5
KB
-rw-r--r--
2020-03-25 14:47
udatpg.h
23.24
KB
-rw-r--r--
2020-03-25 14:47
udisplaycontext.h
4.34
KB
-rw-r--r--
2020-03-25 14:47
uenum.h
7.79
KB
-rw-r--r--
2020-03-25 14:47
ugender.h
1.85
KB
-rw-r--r--
2020-03-25 14:47
uidna.h
32.81
KB
-rw-r--r--
2020-03-25 14:47
uiter.h
22.67
KB
-rw-r--r--
2020-03-25 14:47
uldnames.h
10.5
KB
-rw-r--r--
2020-03-25 14:47
uloc.h
44.07
KB
-rw-r--r--
2020-03-25 14:47
ulocdata.h
10.37
KB
-rw-r--r--
2020-03-25 14:47
umachine.h
10.23
KB
-rw-r--r--
2020-03-25 14:47
umisc.h
1.23
KB
-rw-r--r--
2020-03-25 14:47
umsg.h
24.12
KB
-rw-r--r--
2020-03-25 14:47
unifilt.h
3.52
KB
-rw-r--r--
2020-03-25 14:47
unifunct.h
3.87
KB
-rw-r--r--
2020-03-25 14:47
unimatch.h
5.93
KB
-rw-r--r--
2020-03-25 14:47
unirepl.h
3.21
KB
-rw-r--r--
2020-03-25 14:47
uniset.h
63.07
KB
-rw-r--r--
2020-03-25 14:47
unistr.h
164.33
KB
-rw-r--r--
2020-03-25 14:47
unorm.h
22.89
KB
-rw-r--r--
2020-03-25 14:47
unorm2.h
21.91
KB
-rw-r--r--
2020-03-25 14:47
unum.h
39.21
KB
-rw-r--r--
2020-03-25 14:47
uobject.h
12.21
KB
-rw-r--r--
2020-03-25 14:47
upluralrules.h
4.47
KB
-rw-r--r--
2020-03-25 14:47
uregex.h
71.47
KB
-rw-r--r--
2020-03-25 14:47
urename.h
120.88
KB
-rw-r--r--
2020-03-25 14:47
urep.h
5.27
KB
-rw-r--r--
2020-03-25 14:47
ures.h
35.92
KB
-rw-r--r--
2020-03-25 14:47
uscript.h
20.46
KB
-rw-r--r--
2020-03-25 14:47
usearch.h
36.09
KB
-rw-r--r--
2020-03-25 14:47
uset.h
39.45
KB
-rw-r--r--
2020-03-25 14:47
usetiter.h
9.38
KB
-rw-r--r--
2020-03-25 14:47
ushape.h
17.89
KB
-rw-r--r--
2020-03-25 14:47
uspoof.h
38.91
KB
-rw-r--r--
2020-03-25 14:47
usprep.h
8.02
KB
-rw-r--r--
2020-03-25 14:47
ustdio.h
37.05
KB
-rw-r--r--
2020-03-25 14:47
ustream.h
1.6
KB
-rw-r--r--
2020-03-25 14:47
ustring.h
73.01
KB
-rw-r--r--
2020-03-25 14:47
ustringtrie.h
3.04
KB
-rw-r--r--
2020-03-25 14:47
utext.h
57.97
KB
-rw-r--r--
2020-03-25 14:47
utf.h
7.64
KB
-rw-r--r--
2020-03-25 14:47
utf16.h
18.24
KB
-rw-r--r--
2020-03-25 14:47
utf32.h
653
B
-rw-r--r--
2020-03-25 14:47
utf8.h
23.02
KB
-rw-r--r--
2020-03-25 14:47
utf_old.h
42.5
KB
-rw-r--r--
2020-03-25 14:47
utmscale.h
13.37
KB
-rw-r--r--
2020-03-25 14:47
utrace.h
13.09
KB
-rw-r--r--
2020-03-25 14:47
utrans.h
23.08
KB
-rw-r--r--
2020-03-25 14:47
utypes.h
30.72
KB
-rw-r--r--
2020-03-25 14:47
uvernum.h
5.53
KB
-rw-r--r--
2020-03-25 14:47
uversion.h
6.29
KB
-rw-r--r--
2020-03-25 14:47
vtzone.h
20.09
KB
-rw-r--r--
2020-03-25 14:47
Save
Rename
/* ******************************************************************************* * * Copyright (C) 2009-2012, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* * file name: localpointer.h * encoding: US-ASCII * tab size: 8 (not used) * indentation:4 * * created on: 2009nov13 * created by: Markus W. Scherer */ #ifndef __LOCALPOINTER_H__ #define __LOCALPOINTER_H__ /** * \file * \brief C++ API: "Smart pointers" for use with and in ICU4C C++ code. * * These classes are inspired by * - std::auto_ptr * - boost::scoped_ptr & boost::scoped_array * - Taligent Safe Pointers (TOnlyPointerTo) * * but none of those provide for all of the goals for ICU smart pointers: * - Smart pointer owns the object and releases it when it goes out of scope. * - No transfer of ownership via copy/assignment to reduce misuse. Simpler & more robust. * - ICU-compatible: No exceptions. * - Need to be able to orphan/release the pointer and its ownership. * - Need variants for normal C++ object pointers, C++ arrays, and ICU C service objects. * * For details see http://site.icu-project.org/design/cpp/scoped_ptr */ #include "unicode/utypes.h" #if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN /** * "Smart pointer" base class; do not use directly: use LocalPointer etc. * * Base class for smart pointer classes that do not throw exceptions. * * Do not use this base class directly, since it does not delete its pointer. * A subclass must implement methods that delete the pointer: * Destructor and adoptInstead(). * * There is no operator T *() provided because the programmer must decide * whether to use getAlias() (without transfer of ownership) or orpan() * (with transfer of ownership and NULLing of the pointer). * * @see LocalPointer * @see LocalArray * @see U_DEFINE_LOCAL_OPEN_POINTER * @stable ICU 4.4 */ template<typename T> class LocalPointerBase { public: /** * Constructor takes ownership. * @param p simple pointer to an object that is adopted * @stable ICU 4.4 */ explicit LocalPointerBase(T *p=NULL) : ptr(p) {} /** * Destructor deletes the object it owns. * Subclass must override: Base class does nothing. * @stable ICU 4.4 */ ~LocalPointerBase() { /* delete ptr; */ } /** * NULL check. * @return TRUE if ==NULL * @stable ICU 4.4 */ UBool isNull() const { return ptr==NULL; } /** * NULL check. * @return TRUE if !=NULL * @stable ICU 4.4 */ UBool isValid() const { return ptr!=NULL; } /** * Comparison with a simple pointer, so that existing code * with ==NULL need not be changed. * @param other simple pointer for comparison * @return true if this pointer value equals other * @stable ICU 4.4 */ bool operator==(const T *other) const { return ptr==other; } /** * Comparison with a simple pointer, so that existing code * with !=NULL need not be changed. * @param other simple pointer for comparison * @return true if this pointer value differs from other * @stable ICU 4.4 */ bool operator!=(const T *other) const { return ptr!=other; } /** * Access without ownership change. * @return the pointer value * @stable ICU 4.4 */ T *getAlias() const { return ptr; } /** * Access without ownership change. * @return the pointer value as a reference * @stable ICU 4.4 */ T &operator*() const { return *ptr; } /** * Access without ownership change. * @return the pointer value * @stable ICU 4.4 */ T *operator->() const { return ptr; } /** * Gives up ownership; the internal pointer becomes NULL. * @return the pointer value; * caller becomes responsible for deleting the object * @stable ICU 4.4 */ T *orphan() { T *p=ptr; ptr=NULL; return p; } /** * Deletes the object it owns, * and adopts (takes ownership of) the one passed in. * Subclass must override: Base class does not delete the object. * @param p simple pointer to an object that is adopted * @stable ICU 4.4 */ void adoptInstead(T *p) { // delete ptr; ptr=p; } protected: /** * Actual pointer. * @internal */ T *ptr; private: // No comparison operators with other LocalPointerBases. bool operator==(const LocalPointerBase &other); bool operator!=(const LocalPointerBase &other); // No ownership transfer: No copy constructor, no assignment operator. LocalPointerBase(const LocalPointerBase &other); void operator=(const LocalPointerBase &other); // No heap allocation. Use only on the stack. static void * U_EXPORT2 operator new(size_t size); static void * U_EXPORT2 operator new[](size_t size); #if U_HAVE_PLACEMENT_NEW static void * U_EXPORT2 operator new(size_t, void *ptr); #endif }; /** * "Smart pointer" class, deletes objects via the standard C++ delete operator. * For most methods see the LocalPointerBase base class. * * Usage example: * \code * LocalPointer<UnicodeString> s(new UnicodeString((UChar32)0x50005)); * int32_t length=s->length(); // 2 * UChar lead=s->charAt(0); // 0xd900 * if(some condition) { return; } // no need to explicitly delete the pointer * s.adoptInstead(new UnicodeString((UChar)0xfffc)); * length=s->length(); // 1 * // no need to explicitly delete the pointer * \endcode * * @see LocalPointerBase * @stable ICU 4.4 */ template<typename T> class LocalPointer : public LocalPointerBase<T> { public: /** * Constructor takes ownership. * @param p simple pointer to an object that is adopted * @stable ICU 4.4 */ explicit LocalPointer(T *p=NULL) : LocalPointerBase<T>(p) {} /** * Destructor deletes the object it owns. * @stable ICU 4.4 */ ~LocalPointer() { delete LocalPointerBase<T>::ptr; } /** * Deletes the object it owns, * and adopts (takes ownership of) the one passed in. * @param p simple pointer to an object that is adopted * @stable ICU 4.4 */ void adoptInstead(T *p) { delete LocalPointerBase<T>::ptr; LocalPointerBase<T>::ptr=p; } }; /** * "Smart pointer" class, deletes objects via the C++ array delete[] operator. * For most methods see the LocalPointerBase base class. * Adds operator[] for array item access. * * Usage example: * \code * LocalArray<UnicodeString> a(new UnicodeString[2]); * a[0].append((UChar)0x61); * if(some condition) { return; } // no need to explicitly delete the array * a.adoptInstead(new UnicodeString[4]); * a[3].append((UChar)0x62).append((UChar)0x63).reverse(); * // no need to explicitly delete the array * \endcode * * @see LocalPointerBase * @stable ICU 4.4 */ template<typename T> class LocalArray : public LocalPointerBase<T> { public: /** * Constructor takes ownership. * @param p simple pointer to an array of T objects that is adopted * @stable ICU 4.4 */ explicit LocalArray(T *p=NULL) : LocalPointerBase<T>(p) {} /** * Destructor deletes the array it owns. * @stable ICU 4.4 */ ~LocalArray() { delete[] LocalPointerBase<T>::ptr; } /** * Deletes the array it owns, * and adopts (takes ownership of) the one passed in. * @param p simple pointer to an array of T objects that is adopted * @stable ICU 4.4 */ void adoptInstead(T *p) { delete[] LocalPointerBase<T>::ptr; LocalPointerBase<T>::ptr=p; } /** * Array item access (writable). * No index bounds check. * @param i array index * @return reference to the array item * @stable ICU 4.4 */ T &operator[](ptrdiff_t i) const { return LocalPointerBase<T>::ptr[i]; } }; /** * \def U_DEFINE_LOCAL_OPEN_POINTER * "Smart pointer" definition macro, deletes objects via the closeFunction. * Defines a subclass of LocalPointerBase which works just * like LocalPointer<Type> except that this subclass will use the closeFunction * rather than the C++ delete operator. * * Requirement: The closeFunction must tolerate a NULL pointer. * (We could add a NULL check here but it is normally redundant.) * * Usage example: * \code * LocalUCaseMapPointer csm(ucasemap_open(localeID, options, &errorCode)); * utf8OutLength=ucasemap_utf8ToLower(csm.getAlias(), * utf8Out, (int32_t)sizeof(utf8Out), * utf8In, utf8InLength, &errorCode); * if(U_FAILURE(errorCode)) { return; } // no need to explicitly delete the UCaseMap * \endcode * * @see LocalPointerBase * @see LocalPointer * @stable ICU 4.4 */ #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ class LocalPointerClassName : public LocalPointerBase<Type> { \ public: \ explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \ ~LocalPointerClassName() { closeFunction(ptr); } \ void adoptInstead(Type *p) { \ closeFunction(ptr); \ ptr=p; \ } \ } U_NAMESPACE_END #endif /* U_SHOW_CPLUSPLUS_API */ #endif /* __LOCALPOINTER_H__ */