ATLAS Offline Software
Control
CxxUtils
Root
xmalloc.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
3
*/
12
#include "
CxxUtils/xmalloc.h
"
13
#include <malloc.h>
14
#include <new>
15
16
17
18
namespace
CxxUtils
{
19
20
31
void
*
xmalloc
(
size_t
size
)
32
{
33
void
*
p
=
malloc
(
size
);
34
if
(!
p
)
throw
std::bad_alloc();
35
return
p
;
36
}
37
38
39
40
}
// namespace CxxUtils
41
42
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:209
CxxUtils
Definition:
aligned_vector.h:29
TrigInDetValidation_Base.malloc
malloc
Definition:
TrigInDetValidation_Base.py:127
CxxUtils::xmalloc
void * xmalloc(size_t size)
Trapping version of malloc.
Definition:
xmalloc.cxx:31
xmalloc.h
Trapping version of malloc.
Generated on Fri Sep 5 2025 21:23:58 for ATLAS Offline Software by
1.8.18