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
871f1f72
Kaydet (Commit)
871f1f72
authored
Tem 18, 2017
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Followup to final followup
647382f5
of my followup
Change-Id: I0ee075cadb26eb0ceedec1dd047fc157f3929dad
üst
7a743b47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
file.cxx
sal/osl/unx/file.cxx
+2
-2
file.cxx
sal/osl/w32/file.cxx
+3
-3
No files found.
sal/osl/unx/file.cxx
Dosyayı görüntüle @
871f1f72
...
@@ -200,8 +200,8 @@ FileHandle_Impl::Allocator::~Allocator()
...
@@ -200,8 +200,8 @@ FileHandle_Impl::Allocator::~Allocator()
void
FileHandle_Impl
::
Allocator
::
allocate
(
sal_uInt8
**
ppBuffer
,
size_t
*
pnSize
)
void
FileHandle_Impl
::
Allocator
::
allocate
(
sal_uInt8
**
ppBuffer
,
size_t
*
pnSize
)
{
{
assert
(
ppBuffer
!=
nullptr
);
assert
(
ppBuffer
);
assert
(
pnSize
!=
nullptr
);
assert
(
pnSize
);
*
ppBuffer
=
static_cast
<
sal_uInt8
*
>
(
rtl_cache_alloc
(
m_cache
));
*
ppBuffer
=
static_cast
<
sal_uInt8
*
>
(
rtl_cache_alloc
(
m_cache
));
*
pnSize
=
m_bufsiz
;
*
pnSize
=
m_bufsiz
;
}
}
...
...
sal/osl/w32/file.cxx
Dosyayı görüntüle @
871f1f72
...
@@ -181,8 +181,8 @@ FileHandle_Impl::Allocator::~Allocator()
...
@@ -181,8 +181,8 @@ FileHandle_Impl::Allocator::~Allocator()
void
FileHandle_Impl
::
Allocator
::
allocate
(
sal_uInt8
**
ppBuffer
,
SIZE_T
*
pnSize
)
void
FileHandle_Impl
::
Allocator
::
allocate
(
sal_uInt8
**
ppBuffer
,
SIZE_T
*
pnSize
)
{
{
assert
(
ppBuffer
!=
nullptr
);
assert
(
ppBuffer
);
assert
(
pnSize
!=
nullptr
);
assert
(
pnSize
);
*
ppBuffer
=
static_cast
<
sal_uInt8
*
>
(
rtl_cache_alloc
(
m_cache
));
*
ppBuffer
=
static_cast
<
sal_uInt8
*
>
(
rtl_cache_alloc
(
m_cache
));
*
pnSize
=
m_bufsiz
;
*
pnSize
=
m_bufsiz
;
}
}
...
@@ -196,7 +196,7 @@ void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer)
...
@@ -196,7 +196,7 @@ void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer)
FileHandle_Impl
::
Guard
::
Guard
(
LPCRITICAL_SECTION
pMutex
)
FileHandle_Impl
::
Guard
::
Guard
(
LPCRITICAL_SECTION
pMutex
)
:
m_mutex
(
pMutex
)
:
m_mutex
(
pMutex
)
{
{
assert
(
pMutex
!=
nullptr
);
assert
(
pMutex
);
::
EnterCriticalSection
(
m_mutex
);
::
EnterCriticalSection
(
m_mutex
);
}
}
...
...
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