Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
54bc0305
Kaydet (Commit)
54bc0305
authored
Nis 02, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal: reduce allocation thrash in URI encode / decode
This saves 1% of string allocation / destruction on startup.
üst
54a1a175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
uri.cxx
sal/rtl/source/uri.cxx
+4
-4
No files found.
sal/rtl/source/uri.cxx
Dosyayı görüntüle @
54bc0305
...
@@ -609,8 +609,8 @@ void SAL_CALL rtl_uriEncode(rtl_uString * pText, sal_Bool const * pCharClass,
...
@@ -609,8 +609,8 @@ void SAL_CALL rtl_uriEncode(rtl_uString * pText, sal_Bool const * pCharClass,
sal_Unicode
const
*
p
=
pText
->
buffer
;
sal_Unicode
const
*
p
=
pText
->
buffer
;
sal_Unicode
const
*
pEnd
=
p
+
pText
->
length
;
sal_Unicode
const
*
pEnd
=
p
+
pText
->
length
;
sal_Int32
nCapacity
=
0
;
sal_Int32
nCapacity
=
pText
->
length
;
rtl_uString_new
(
pResult
);
rtl_uString_new
_WithLength
(
pResult
,
nCapacity
);
while
(
p
<
pEnd
)
while
(
p
<
pEnd
)
{
{
EscapeType
eType
;
EscapeType
eType
;
...
@@ -676,8 +676,8 @@ void SAL_CALL rtl_uriDecode(rtl_uString * pText,
...
@@ -676,8 +676,8 @@ void SAL_CALL rtl_uriDecode(rtl_uString * pText,
{
{
sal_Unicode
const
*
p
=
pText
->
buffer
;
sal_Unicode
const
*
p
=
pText
->
buffer
;
sal_Unicode
const
*
pEnd
=
p
+
pText
->
length
;
sal_Unicode
const
*
pEnd
=
p
+
pText
->
length
;
sal_Int32
nCapacity
=
0
;
sal_Int32
nCapacity
=
pText
->
length
;
rtl_uString_new
(
pResult
);
rtl_uString_new
_WithLength
(
pResult
,
nCapacity
);
while
(
p
<
pEnd
)
while
(
p
<
pEnd
)
{
{
EscapeType
eType
;
EscapeType
eType
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment