#include <scmatrix.hxx>
#include <global.hxx>
#include <address.hxx>
#include <formula/errorcodes.hxx>
#include <interpre.hxx>
#include <mtvelements.hxx>
#include <compare.hxx>
#include <matrixoperators.hxx>
#include <math.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <svl/sharedstring.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <memory>
#include <mutex>
#include <utility>
#include <vector>
#include <limits>
#include <mdds/multi_type_matrix.hpp>
#include <mdds/multi_type_vector/types.hpp>
Go to the source code of this file.
|
static size_t | GetElementsMax (size_t nMemory) |
| The maximum number of elements a matrix or the pool may have at runtime. More...
|
|
◆ MatrixFlagImplType
◆ MatrixImplType
◆ TMatFlag
◆ GetElementsMax()
static size_t GetElementsMax |
( |
size_t |
nMemory | ) |
|
|
static |
The maximum number of elements a matrix or the pool may have at runtime.
- Parameters
-
nMemory | If 0, the arbitrary limit of one matrix is returned. If >0, the given memory pool divided by the average size of a matrix element is returned, which is used to initialize nElementsMax. |
Definition at line 371 of file scmatrix.cxx.
References MAXROWCOUNT.
Referenced by ScMatrix::IsSizeAllocatable().
◆ bElementsMaxFetched
std::once_flag bElementsMaxFetched |
|
static |
◆ maOp
◆ mfVal
◆ mpErrorInterpreter
◆ nElementsMax
std::atomic<size_t> nElementsMax |
|
static |
◆ SC_MATFLAG_EMPTYPATH
◆ SC_MATFLAG_EMPTYRESULT
const TMatFlag SC_MATFLAG_EMPTYRESULT = 1 |