/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucet-runtime/lucet-runtime-internals/src/alloc/ |
H A D | tests.rs | 880 let total_slots = 10; localVariable 883 assert_eq!(region.capacity(), total_slots); 888 for i in 1..=total_slots { 895 assert_eq!(region.capacity(), total_slots); 910 for i in 1..=total_slots { 913 assert_eq!(region.free_slots(), total_slots - (total_slots - i)); 945 let total_slots = 10; localVariable 948 assert_eq!(region.capacity(), total_slots); 953 for i in 1..=total_slots { 984 for i in 1..=total_slots { [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/ |
H A D | BLI_map.hh | 624 BaseIterator(const Slot *slots, int64_t total_slots, int64_t current_slot) in BaseIterator() 669 KeyIterator(const Slot *slots, int64_t total_slots, int64_t current_slot) in KeyIterator() argument 670 : BaseIterator<KeyIterator>(slots, total_slots, current_slot) in KeyIterator() 683 : BaseIterator<ValueIterator>(slots, total_slots, current_slot) in ValueIterator() 724 : BaseIterator<ItemIterator>(slots, total_slots, current_slot) in ItemIterator() 738 : BaseIterator<MutableItemIterator>(slots, total_slots, current_slot) in MutableItemIterator() 889 int64_t total_slots, usable_slots; in realloc_and_reinsert() local 892 BLI_assert(total_slots >= 1); in realloc_and_reinsert() 893 const uint64_t new_slot_mask = static_cast<uint64_t>(total_slots) - 1; in realloc_and_reinsert() 900 slots_.reinitialize(total_slots); in realloc_and_reinsert() [all …]
|
H A D | BLI_hash_tables.hh | 139 int64_t total_slots = this->compute_total_slots(min_usable_slots, numerator_, denominator_); in compute_total_and_usable_slots() local 140 total_slots = std::max(total_slots, min_total_slots); in compute_total_and_usable_slots() 142 total_slots, numerator_, denominator_); in compute_total_and_usable_slots() 145 *r_total_slots = total_slots; in compute_total_and_usable_slots()
|
H A D | BLI_set.hh | 410 Iterator(const Slot *slots, int64_t total_slots, int64_t current_slot) in Iterator() argument 411 : slots_(slots), total_slots_(total_slots), current_slot_(current_slot) in Iterator() 578 int64_t total_slots, usable_slots; in realloc_and_reinsert() local 580 SlotArray::inline_buffer_capacity(), min_usable_slots, &total_slots, &usable_slots); in realloc_and_reinsert() 581 BLI_assert(total_slots >= 1); in realloc_and_reinsert() 582 const uint64_t new_slot_mask = static_cast<uint64_t>(total_slots) - 1; in realloc_and_reinsert() 589 slots_.reinitialize(total_slots); in realloc_and_reinsert() 603 SlotArray new_slots(total_slots); in realloc_and_reinsert()
|
H A D | BLI_vector_set.hh | 488 int64_t total_slots, usable_slots; in realloc_and_reinsert() local 490 SlotArray::inline_buffer_capacity(), min_usable_slots, &total_slots, &usable_slots); in realloc_and_reinsert() 491 BLI_assert(total_slots >= 1); in realloc_and_reinsert() 492 const uint64_t new_slot_mask = static_cast<uint64_t>(total_slots) - 1; in realloc_and_reinsert() 497 slots_.reinitialize(total_slots); in realloc_and_reinsert() 511 SlotArray new_slots(total_slots); in realloc_and_reinsert()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | exc3000.c | 140 int ret, total_slots; in exc3000_handle_mt_event() local 143 total_slots = buf[3]; in exc3000_handle_mt_event() 144 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event() 149 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event() 167 while (total_slots > 0) { in exc3000_handle_mt_event() 168 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event() 171 total_slots -= slots; in exc3000_handle_mt_event()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | exc3000.c | 140 int ret, total_slots; in exc3000_handle_mt_event() local 143 total_slots = buf[3]; in exc3000_handle_mt_event() 144 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event() 149 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event() 167 while (total_slots > 0) { in exc3000_handle_mt_event() 168 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event() 171 total_slots -= slots; in exc3000_handle_mt_event()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | exc3000.c | 140 int ret, total_slots; in exc3000_handle_mt_event() local 143 total_slots = buf[3]; in exc3000_handle_mt_event() 144 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event() 149 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event() 167 while (total_slots > 0) { in exc3000_handle_mt_event() 168 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event() 171 total_slots -= slots; in exc3000_handle_mt_event()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/firmware/efi/libstub/ |
H A D | randomalloc.c | 56 unsigned long map_size, desc_size, total_slots = 0, target_slot; in efi_random_alloc() local 86 total_slots += slots; in efi_random_alloc() 90 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/firmware/efi/libstub/ |
H A D | randomalloc.c | 56 unsigned long map_size, desc_size, total_slots = 0, target_slot; in efi_random_alloc() local 86 total_slots += slots; in efi_random_alloc() 90 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/firmware/efi/libstub/ |
H A D | randomalloc.c | 56 unsigned long map_size, desc_size, total_slots = 0, target_slot; in efi_random_alloc() local 86 total_slots += slots; in efi_random_alloc() 90 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-client/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/backend/postmaster/ |
H A D | bgworker.c | 85 int total_slots; member 149 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 228 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 233 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 491 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 875 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker()
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-server/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/postmaster/ |
H A D | bgworker.c | 99 int total_slots; member 171 BackgroundWorkerData->total_slots = max_worker_processes; in BackgroundWorkerShmemInit() 254 if (max_worker_processes != BackgroundWorkerData->total_slots) in BackgroundWorkerStateChange() 259 BackgroundWorkerData->total_slots); in BackgroundWorkerStateChange() 637 Assert(slotno < BackgroundWorkerData->total_slots); in BackgroundWorkerEntry() 1058 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; ++slotno) in RegisterDynamicBackgroundWorker() 1343 for (slotno = 0; slotno < BackgroundWorkerData->total_slots; slotno++) in GetBackgroundWorkerTypeByPid()
|