Home
last modified time | relevance | path

Searched refs:size_in_bytes (Results 1 – 25 of 2622) sorted by relevance

12345678910>>...105

/dports/science/py-pydicom/pydicom-2.2.2/pydicom/tests/
H A Dtest_misc.py9 from pydicom.misc import is_dicom, size_in_bytes
37 assert size_in_bytes(None) is None
39 assert size_in_bytes(1234) == 1234
42 assert size_in_bytes('1234') == 1234
43 assert size_in_bytes('4 kb') == 4000
44 assert size_in_bytes('4 kib') == 4096
48 assert size_in_bytes('3 MB') == 3e6
50 assert size_in_bytes('2gB') == 2e9
54 size_in_bytes('2 TB')
56 size_in_bytes('KB 2')
[all …]
/dports/lang/v8/v8-9.6.180.12/src/heap/
H A Dpaged-spaces-inl.h92 return RefillLabMain(size_in_bytes, origin); in EnsureLabMain()
96 if (!allocation_info_.CanIncrementTop(size_in_bytes)) { in AllocateFastUnaligned()
104 int size_in_bytes, int* aligned_size_in_bytes, in AllocateFastAligned() argument
108 int aligned_size = filler_size + size_in_bytes; in AllocateFastAligned()
124 if (!EnsureLabMain(size_in_bytes, origin)) { in AllocateRawUnaligned()
131 size_in_bytes); in AllocateRawUnaligned()
137 InvokeAllocationObservers(result.ToAddress(), size_in_bytes, size_in_bytes, in AllocateRawUnaligned()
138 size_in_bytes); in AllocateRawUnaligned()
148 int allocation_size = size_in_bytes; in AllocateRawAligned()
161 size_in_bytes); in AllocateRawAligned()
[all …]
H A Dfree-list.cc80 available_ += size_in_bytes; in Free()
154 if (size_in_bytes < min_block_size_) { in Free()
155 page->add_wasted_memory(size_in_bytes); in Free()
156 wasted_bytes_ += size_in_bytes; in Free()
157 return size_in_bytes; in Free()
214 DCHECK_GE(kMaxBlockSize, size_in_bytes); in Allocate()
280 if (size_in_bytes < min_block_size_) { in Free()
282 wasted_bytes_ += size_in_bytes; in Free()
283 return size_in_bytes; in Free()
308 DCHECK_GE(kMaxBlockSize, size_in_bytes); in Allocate()
[all …]
H A Dpaged-spaces.h132 int size_in_bytes, AllocationAlignment alignment, in NON_EXPORTED_BASE()
150 if (size_in_bytes == 0) return 0; in NON_EXPORTED_BASE()
152 start, static_cast<int>(size_in_bytes), in NON_EXPORTED_BASE()
155 return AccountedFree(start, size_in_bytes); in NON_EXPORTED_BASE()
157 return UnaccountedFree(start, size_in_bytes); in NON_EXPORTED_BASE()
169 DCHECK_GE(size_in_bytes, wasted); in NON_EXPORTED_BASE()
170 return size_in_bytes - wasted; in NON_EXPORTED_BASE()
175 DCHECK_GE(size_in_bytes, wasted); in NON_EXPORTED_BASE()
176 return size_in_bytes - wasted; in NON_EXPORTED_BASE()
216 Page* RemovePageSafe(int size_in_bytes); in NON_EXPORTED_BASE()
[all …]
H A Dfree-list.h240 size_t size_in_bytes) = 0;
280 Page* GetPageForSize(size_t size_in_bytes) final { in GetPageForSize() argument
300 Page* GetPageForSize(size_t size_in_bytes) override;
334 size_t size_in_bytes) override { in SelectFreeListCategoryType() argument
335 if (size_in_bytes <= kPreciseCategoryMaxSize) { in SelectFreeListCategoryType()
336 if (size_in_bytes < categories_min[1]) return 0; in SelectFreeListCategoryType()
341 if (size_in_bytes < categories_min[cat + 1]) { in SelectFreeListCategoryType()
456 size_t size_in_bytes) { in SelectFastAllocationFreeListCategoryType() argument
457 DCHECK(size_in_bytes < kMaxBlockSize); in SelectFastAllocationFreeListCategoryType()
461 size_in_bytes += kFastPathOffset; in SelectFastAllocationFreeListCategoryType()
[all …]
H A Dnew-spaces-inl.h88 AllocationResult NewSpace::AllocateRaw(int size_in_bytes, in AllocateRaw() argument
100 result = AllocateFastAligned(size_in_bytes, nullptr, alignment, origin); in AllocateRaw()
102 result = AllocateFastUnaligned(size_in_bytes, origin); in AllocateRaw()
108 return AllocateRawSlow(size_in_bytes, alignment, origin); in AllocateRaw()
112 AllocationResult NewSpace::AllocateFastUnaligned(int size_in_bytes, in AllocateFastUnaligned() argument
114 if (!allocation_info_.CanIncrementTop(size_in_bytes)) { in AllocateFastUnaligned()
121 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(obj.address(), size_in_bytes); in AllocateFastUnaligned()
131 int size_in_bytes, int* result_aligned_size_in_bytes, in AllocateFastAligned() argument
135 int aligned_size_in_bytes = size_in_bytes + filler_size; in AllocateFastAligned()
150 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(obj.address(), size_in_bytes); in AllocateFastAligned()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/heap/
H A Dpaged-spaces-inl.h97 return RefillLabMain(size_in_bytes, origin); in EnsureLabMain()
102 Address new_top = current_top + size_in_bytes; in AllocateFastUnaligned()
112 int size_in_bytes, int* aligned_size_in_bytes, in AllocateFastAligned() argument
123 *aligned_size_in_bytes = filler_size + size_in_bytes; in AllocateFastAligned()
134 if (!EnsureLabMain(size_in_bytes, origin)) { in AllocateRawUnaligned()
141 size_in_bytes); in AllocateRawUnaligned()
147 InvokeAllocationObservers(result.ToAddress(), size_in_bytes, size_in_bytes, in AllocateRawUnaligned()
148 size_in_bytes); in AllocateRawUnaligned()
157 int allocation_size = size_in_bytes; in AllocateRawAligned()
170 size_in_bytes); in AllocateRawAligned()
[all …]
H A Dfree-list.cc79 available_ += size_in_bytes; in Free()
153 if (size_in_bytes < min_block_size_) { in Free()
154 page->add_wasted_memory(size_in_bytes); in Free()
155 wasted_bytes_ += size_in_bytes; in Free()
156 return size_in_bytes; in Free()
213 DCHECK_GE(kMaxBlockSize, size_in_bytes); in Allocate()
279 if (size_in_bytes < min_block_size_) { in Free()
281 wasted_bytes_ += size_in_bytes; in Free()
282 return size_in_bytes; in Free()
307 DCHECK_GE(kMaxBlockSize, size_in_bytes); in Allocate()
[all …]
H A Dpaged-spaces.h131 int size_in_bytes, AllocationAlignment alignment, in NON_EXPORTED_BASE()
149 if (size_in_bytes == 0) return 0; in NON_EXPORTED_BASE()
151 start, static_cast<int>(size_in_bytes), in NON_EXPORTED_BASE()
154 return AccountedFree(start, size_in_bytes); in NON_EXPORTED_BASE()
156 return UnaccountedFree(start, size_in_bytes); in NON_EXPORTED_BASE()
168 DCHECK_GE(size_in_bytes, wasted); in NON_EXPORTED_BASE()
169 return size_in_bytes - wasted; in NON_EXPORTED_BASE()
174 DCHECK_GE(size_in_bytes, wasted); in NON_EXPORTED_BASE()
175 return size_in_bytes - wasted; in NON_EXPORTED_BASE()
215 Page* RemovePageSafe(int size_in_bytes); in NON_EXPORTED_BASE()
[all …]
H A Dfree-list.h240 size_t size_in_bytes) = 0;
280 Page* GetPageForSize(size_t size_in_bytes) final { in GetPageForSize() argument
300 Page* GetPageForSize(size_t size_in_bytes) override;
334 size_t size_in_bytes) override { in SelectFreeListCategoryType() argument
335 if (size_in_bytes <= kPreciseCategoryMaxSize) { in SelectFreeListCategoryType()
336 if (size_in_bytes < categories_min[1]) return 0; in SelectFreeListCategoryType()
341 if (size_in_bytes < categories_min[cat + 1]) { in SelectFreeListCategoryType()
456 size_t size_in_bytes) { in SelectFastAllocationFreeListCategoryType() argument
457 DCHECK(size_in_bytes < kMaxBlockSize); in SelectFastAllocationFreeListCategoryType()
461 size_in_bytes += kFastPathOffset; in SelectFastAllocationFreeListCategoryType()
[all …]
H A Dnew-spaces-inl.h87 AllocationResult NewSpace::AllocateRaw(int size_in_bytes, in AllocateRaw() argument
99 result = AllocateFastUnaligned(size_in_bytes, origin); in AllocateRaw()
105 return AllocateRawSlow(size_in_bytes, alignment, origin); in AllocateRaw()
109 AllocationResult NewSpace::AllocateFastUnaligned(int size_in_bytes, in AllocateFastUnaligned() argument
112 if (allocation_info_.limit() < top + size_in_bytes) { in AllocateFastUnaligned()
117 allocation_info_.set_top(top + size_in_bytes); in AllocateFastUnaligned()
120 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(obj.address(), size_in_bytes); in AllocateFastUnaligned()
130 int size_in_bytes, int* result_aligned_size_in_bytes, in AllocateFastAligned() argument
134 int aligned_size_in_bytes = size_in_bytes + filler_size; in AllocateFastAligned()
151 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(obj.address(), size_in_bytes); in AllocateFastAligned()
[all …]
/dports/www/node10/node-v10.24.1/deps/v8/src/heap/
H A Dspaces-inl.h292 Address new_top = current_top + size_in_bytes; in AllocateLinearly()
308 *size_in_bytes += filler_size; in TryAllocateLinearlyAligned()
319 if (!EnsureLinearAllocationArea(size_in_bytes)) { in AllocateRawUnaligned()
336 int allocation_size = size_in_bytes; in AllocateRawAligned()
346 allocation_size = size_in_bytes; in AllocateRawAligned()
374 : AllocateRawUnaligned(size_in_bytes); in AllocateRaw()
404 if (!EnsureAllocation(size_in_bytes, alignment)) { in AllocateRawAligned()
439 allocation_info_.set_top(top + size_in_bytes); in AllocateRawUnaligned()
459 : AllocateRawUnaligned(size_in_bytes); in AllocateRaw()
461 return AllocateRawUnaligned(size_in_bytes); in AllocateRaw()
[all …]
/dports/math/dbcsr/dbcsr-2.1.0/src/acc/
H A Ddbcsr_acc_devmem.F266 res = this%size_in_bytes
305 MARK_USED(size_in_bytes)
314 IF (pointee%size_in_bytes < 0 .AND. size_in_bytes > 0) &
316 IF (size_in_bytes > 0) THEN
317 IF ((lb_in_bytes + size_in_bytes) .GT. pointee%size_in_bytes) &
319 this%size_in_bytes = size_in_bytes
323 this%size_in_bytes = pointee%size_in_bytes
354 MARK_USED(size_in_bytes)
361 this%size_in_bytes = size_in_bytes
362 IF (size_in_bytes > 0) THEN
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/heap/
H A Dspaces-inl.h366 int size_in_bytes, AllocationAlignment alignment) { in AllocateRawAligned() argument
392 Address new_top = current_top + size_in_bytes; in AllocateLinearly()
408 *size_in_bytes += filler_size; in TryAllocateLinearlyAligned()
422 HeapObject object = AllocateLinearly(size_in_bytes); in AllocateRawUnaligned()
438 int allocation_size = size_in_bytes; in AllocateRawAligned()
448 allocation_size = size_in_bytes; in AllocateRawAligned()
488 heap_obj.address(), size_in_bytes); in AllocateRaw()
510 if (!EnsureAllocation(size_in_bytes, alignment)) { in AllocateRawAligned()
539 if (allocation_info_.limit() < top + size_in_bytes) { in AllocateRawUnaligned()
549 allocation_info_.set_top(top + size_in_bytes); in AllocateRawUnaligned()
[all …]
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/exts/dbcsr/src/acc/
H A Ddbcsr_acc_devmem.F269 res = this%size_in_bytes
311 MARK_USED(size_in_bytes)
320 IF (pointee%size_in_bytes < 0 .AND. size_in_bytes > 0) &
322 IF (size_in_bytes > 0) THEN
323 IF ((lb_in_bytes + size_in_bytes) .GT. pointee%size_in_bytes) &
325 this%size_in_bytes = size_in_bytes
329 this%size_in_bytes = pointee%size_in_bytes
363 MARK_USED(size_in_bytes)
373 this%size_in_bytes = size_in_bytes
374 IF (size_in_bytes > 0) THEN
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/memory/
H A DresourceArea.hpp89 _size_in_bytes = _area->size_in_bytes(); in initialize()
135 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
136 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
139 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
163 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
207 _size_in_bytes = _area->size_in_bytes(); in initialize()
227 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
238 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
239 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
242 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/memory/
H A DresourceArea.hpp100 _size_in_bytes = _area->size_in_bytes(); in initialize()
146 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
147 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
150 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
174 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
218 _size_in_bytes = _area->size_in_bytes(); in initialize()
238 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
249 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
250 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
253 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/memory/
H A DresourceArea.hpp100 _size_in_bytes = _area->size_in_bytes(); in initialize()
146 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
147 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
150 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
174 size_t size_in_bytes() { return _size_in_bytes; } in size_in_bytes() function in ResourceMark
218 _size_in_bytes = _area->size_in_bytes(); in initialize()
238 _size_in_bytes = _area->size_in_bytes(); in DeoptResourceMark()
249 assert(_area->size_in_bytes() > size_in_bytes(), "Sanity check"); in reset_to_mark()
250 _area->set_size_in_bytes(size_in_bytes()); in reset_to_mark()
253 assert(_area->size_in_bytes() == size_in_bytes(), "Sanity check"); in reset_to_mark()
[all …]
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/nvidia/tegra/drivers/memctrl/
H A Dmemctrl_v2.c97 void tegra_memctrl_tzdram_setup(uint64_t phys_base, uint32_t size_in_bytes) in tegra_memctrl_tzdram_setup() argument
102 plat_memctrl_tzdram_setup(phys_base, size_in_bytes); in tegra_memctrl_tzdram_setup()
111 void tegra_memctrl_tzram_setup(uint64_t phys_base, uint32_t size_in_bytes) in tegra_memctrl_tzram_setup() argument
172 uint64_t size_in_bytes) in tegra_lock_videomem_nonoverlap() argument
175 uint64_t total_128kb_blocks = size_in_bytes >> 17; in tegra_lock_videomem_nonoverlap()
257 unsigned long size_in_bytes) in tegra_clear_videomem_nonoverlap() argument
260 uintptr_t vmem_end_new = phys_base + size_in_bytes; in tegra_clear_videomem_nonoverlap()
316 tegra_mc_write_32(MC_VIDEO_PROTECT_SIZE_MB, size_in_bytes >> 20); in tegra_memctrl_videomem_setup()
324 == (size_in_bytes >> 20)); in tegra_memctrl_videomem_setup()
334 tegra_clear_videomem_nonoverlap(phys_base, size_in_bytes); in tegra_memctrl_videomem_setup()
[all …]
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/nvidia/tegra/drivers/memctrl/
H A Dmemctrl_v2.c97 void tegra_memctrl_tzdram_setup(uint64_t phys_base, uint32_t size_in_bytes) in tegra_memctrl_tzdram_setup() argument
102 plat_memctrl_tzdram_setup(phys_base, size_in_bytes); in tegra_memctrl_tzdram_setup()
111 void tegra_memctrl_tzram_setup(uint64_t phys_base, uint32_t size_in_bytes) in tegra_memctrl_tzram_setup() argument
172 uint64_t size_in_bytes) in tegra_lock_videomem_nonoverlap() argument
175 uint64_t total_128kb_blocks = size_in_bytes >> 17; in tegra_lock_videomem_nonoverlap()
257 unsigned long size_in_bytes) in tegra_clear_videomem_nonoverlap() argument
260 uintptr_t vmem_end_new = phys_base + size_in_bytes; in tegra_clear_videomem_nonoverlap()
316 tegra_mc_write_32(MC_VIDEO_PROTECT_SIZE_MB, size_in_bytes >> 20); in tegra_memctrl_videomem_setup()
324 == (size_in_bytes >> 20)); in tegra_memctrl_videomem_setup()
334 tegra_clear_videomem_nonoverlap(phys_base, size_in_bytes); in tegra_memctrl_videomem_setup()
[all …]

12345678910>>...105