Home
last modified time | relevance | path

Searched refs:maxAlloc (Results 1 – 25 of 102) sorted by relevance

12345

/dports/devel/poco/poco-1.10.1-all/Foundation/src/
H A DMemoryPool.cpp22 MemoryPool::MemoryPool(std::size_t blockSize, int preAlloc, int maxAlloc): in MemoryPool() argument
24 _maxAlloc(maxAlloc), in MemoryPool()
27 poco_assert (maxAlloc == 0 || maxAlloc >= preAlloc); in MemoryPool()
28 poco_assert (preAlloc >= 0 && maxAlloc >= 0); in MemoryPool()
33 if (maxAlloc > 0 && maxAlloc < r) in MemoryPool()
34 r = maxAlloc; in MemoryPool()
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/runtime/
H A Dslice.go52 if overflow || tomem > maxAlloc || tolen < 0 {
103 if overflow || mem > maxAlloc || len < 0 || len > cap {
110 if overflow || mem > maxAlloc || len < 0 {
142 if overflow || mem > maxAlloc || len < 0 {
227 overflow = uintptr(newcap) > maxAlloc
233 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
246 overflow = uintptr(newcap) > (maxAlloc >> shift)
269 if overflow || capmem > maxAlloc {
H A Dstring.go279 if uintptr(size) > maxAlloc/4 {
298 if n < 0 || uintptr(n) > maxAlloc {
410 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
448 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
465 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/lang/gcc11/gcc-11.2.0/libgo/go/runtime/
H A Dslice.go50 if overflow || tomem > maxAlloc || tolen < 0 {
101 if overflow || mem > maxAlloc || len < 0 || len > cap {
108 if overflow || mem > maxAlloc || len < 0 {
186 overflow = uintptr(newcap) > maxAlloc
192 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
205 overflow = uintptr(newcap) > (maxAlloc >> shift)
228 if overflow || capmem > maxAlloc {
H A Dstring.go279 if uintptr(size) > maxAlloc/4 {
298 if n < 0 || uintptr(n) > maxAlloc {
410 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
448 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
465 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/lang/gcc11-devel/gcc-11-20211009/libgo/go/runtime/
H A Dslice.go50 if overflow || tomem > maxAlloc || tolen < 0 {
101 if overflow || mem > maxAlloc || len < 0 || len > cap {
108 if overflow || mem > maxAlloc || len < 0 {
186 overflow = uintptr(newcap) > maxAlloc
192 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
205 overflow = uintptr(newcap) > (maxAlloc >> shift)
228 if overflow || capmem > maxAlloc {
H A Dstring.go279 if uintptr(size) > maxAlloc/4 {
298 if n < 0 || uintptr(n) > maxAlloc {
410 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
448 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
465 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libgo/go/runtime/
H A Dslice.go50 if overflow || tomem > maxAlloc || tolen < 0 {
101 if overflow || mem > maxAlloc || len < 0 || len > cap {
108 if overflow || mem > maxAlloc || len < 0 {
186 overflow = uintptr(newcap) > maxAlloc
192 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
205 overflow = uintptr(newcap) > (maxAlloc >> shift)
228 if overflow || capmem > maxAlloc {
H A Dstring.go279 if uintptr(size) > maxAlloc/4 {
298 if n < 0 || uintptr(n) > maxAlloc {
410 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
448 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
465 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/runtime/
H A Dslice.go36 if overflow || mem > maxAlloc || len < 0 || len > cap {
43 if overflow || mem > maxAlloc || len < 0 {
127 overflow = uintptr(newcap) > maxAlloc
133 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
146 overflow = uintptr(newcap) > (maxAlloc >> shift)
169 if overflow || capmem > maxAlloc {
/dports/lang/gcc10/gcc-10.3.0/libgo/go/runtime/
H A Dslice.go46 if overflow || mem > maxAlloc || len < 0 || len > cap {
53 if overflow || mem > maxAlloc || len < 0 {
132 overflow = uintptr(newcap) > maxAlloc
138 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
151 overflow = uintptr(newcap) > (maxAlloc >> shift)
174 if overflow || capmem > maxAlloc {
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/runtime/
H A Dslice.go45 if overflow || mem > maxAlloc || len < 0 || len > cap {
52 if overflow || mem > maxAlloc || len < 0 {
131 overflow = uintptr(newcap) > maxAlloc
137 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
150 overflow = uintptr(newcap) > (maxAlloc >> shift)
173 if overflow || capmem > maxAlloc {
H A Dstring.go294 if uintptr(size) > maxAlloc/4 {
313 if n < 0 || uintptr(n) > maxAlloc {
435 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
473 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
490 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/devel/avr-gcc/gcc-10.2.0/libgo/go/runtime/
H A Dslice.go46 if overflow || mem > maxAlloc || len < 0 || len > cap {
53 if overflow || mem > maxAlloc || len < 0 {
132 overflow = uintptr(newcap) > maxAlloc
138 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
151 overflow = uintptr(newcap) > (maxAlloc >> shift)
174 if overflow || capmem > maxAlloc {
/dports/lang/gcc10-devel/gcc-10-20211008/libgo/go/runtime/
H A Dslice.go46 if overflow || mem > maxAlloc || len < 0 || len > cap {
53 if overflow || mem > maxAlloc || len < 0 {
132 overflow = uintptr(newcap) > maxAlloc
138 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
151 overflow = uintptr(newcap) > (maxAlloc >> shift)
174 if overflow || capmem > maxAlloc {
/dports/lang/gcc9/gcc-9.4.0/libgo/go/runtime/
H A Dslice.go45 if overflow || mem > maxAlloc || len < 0 || len > cap {
52 if overflow || mem > maxAlloc || len < 0 {
131 overflow = uintptr(newcap) > maxAlloc
137 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
150 overflow = uintptr(newcap) > (maxAlloc >> shift)
173 if overflow || capmem > maxAlloc {
H A Dstring.go294 if uintptr(size) > maxAlloc/4 {
313 if n < 0 || uintptr(n) > maxAlloc {
435 p := (*[maxAlloc/2 - 1]byte)(unsafe.Pointer(s))
473 p := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(s))
490 str := (*[maxAlloc/2/2 - 1]uint16)(unsafe.Pointer(strw))
/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/runtime/
H A Dslice.go45 if overflow || mem > maxAlloc || len < 0 || len > cap {
52 if overflow || mem > maxAlloc || len < 0 {
131 overflow = uintptr(newcap) > maxAlloc
137 overflow = uintptr(newcap) > maxAlloc/sys.PtrSize
150 overflow = uintptr(newcap) > (maxAlloc >> shift)
173 if overflow || capmem > maxAlloc {
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/runtime/
H A Dslice.go43 if overflow || tomem > maxAlloc || tolen < 0 {
90 if overflow || mem > maxAlloc || len < 0 || len > cap {
97 if overflow || mem > maxAlloc || len < 0 {
224 overflow = uintptr(newcap) > maxAlloc
230 overflow = uintptr(newcap) > maxAlloc/goarch.PtrSize
243 overflow = uintptr(newcap) > (maxAlloc >> shift)
266 if overflow || capmem > maxAlloc {
/dports/biology/canu/canu-2.2/src/overlapInCore/
H A DoverlapInCore-Build_Hash_Index.C455 uint64 maxAlloc = 0; in Build_Hash_Index() local
476 maxAlloc += readLen + 1; in Build_Hash_Index()
481 nLoadable, maxAlloc, nShort, nSkipped); in Build_Hash_Index()
485 if (maxAlloc >= G.Max_Hash_Data_Len + AS_MAX_READLEN) in Build_Hash_Index()
486 …oc = " F_U64 " G.Max_Hash_Data_Len = " F_U64 " AS_MAX_READLEN = %u\n", maxAlloc, G.Max_Hash_Data_… in Build_Hash_Index()
487 assert(maxAlloc < G.Max_Hash_Data_Len + AS_MAX_READLEN); in Build_Hash_Index()
491 uint64 nextRef_Len = maxAlloc / (HASH_KMER_SKIP + 1); in Build_Hash_Index()
492 Extra_Data_Len = Data_Len = maxAlloc; in Build_Hash_Index()
559 if (total_len > maxAlloc) in Build_Hash_Index()
560 …intf(stderr, "total_len=" F_U64 " len=" F_U32 " maxAlloc=" F_U64 "\n", total_len, len, maxAlloc); in Build_Hash_Index()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/
H A DTestInMemoryPlan.java52 private Resource maxAlloc; field in TestInMemoryPlan
65 maxAlloc = Resource.newInstance(64 * 1024, 20); in setUp()
80 maxAlloc = null; in tearDown()
93 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testAddReservation()
125 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testAddEmptyReservation()
151 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testAddReservationAlreadyExists()
194 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testUpdateReservation()
252 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testUpdateNonExistingReservation()
283 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testDeleteReservation()
331 resCalc, minAlloc, maxAlloc, planName, replanner, true); in testDeleteNonExistingReservation()
[all …]
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/
H A DHeapMemStoreLAB.java68 final int maxAlloc; field in HeapMemStoreLAB
87 maxAlloc = conf.getInt(MAX_ALLOC_KEY, MAX_ALLOC_DEFAULT); in HeapMemStoreLAB()
92 maxAlloc <= chunkSize, in HeapMemStoreLAB()
108 if (size > maxAlloc) { in allocateBytes()
/dports/games/xblast/xblast-2.10.4/
H A Ddebug.c68 static size_t maxAlloc = 0; variable
563 sumBytes, maxAlloc, sumTotal); in Dbg_FinishAlloc()
565 …u current=%lu bytes max=%lu bytes\n", count, (unsigned long)currentAlloc, (unsigned long)maxAlloc); in Dbg_FinishAlloc()
589 if (currentAlloc > maxAlloc) { in Dbg_Malloc()
590 maxAlloc = currentAlloc; in Dbg_Malloc()
622 if (currentAlloc > maxAlloc) { in Dbg_Calloc()
623 maxAlloc = currentAlloc; in Dbg_Calloc()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/
H A DInMemoryPlan.java70 private final Resource minAlloc, maxAlloc; field in InMemoryPlan
81 ResourceCalculator resCalc, Resource minAlloc, Resource maxAlloc, in InMemoryPlan() argument
84 maxAlloc, queueName, replanner, getMoveOnExpiry, new UTCClock()); in InMemoryPlan()
89 ResourceCalculator resCalc, Resource minAlloc, Resource maxAlloc, in InMemoryPlan() argument
98 this.maxAlloc = maxAlloc; in InMemoryPlan()
489 return Resources.clone(maxAlloc); in getMaximumAllocation()
/dports/devel/poco/poco-1.10.1-all/Foundation/include/Poco/
H A DMemoryPool.h45 MemoryPool(std::size_t blockSize, int preAlloc = 0, int maxAlloc = 0);
258 …ucket = POCO_FAST_MEMORY_POOL_PREALLOC, std::size_t bucketPreAlloc = 10, std::size_t maxAlloc = 0):
260 _maxAlloc(maxAlloc), in _blocksPerBucket()

12345