/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/salsa-0.17.0-pre.2/src/ |
H A D | lru.rs | 37 fn lru_index(&self) -> &LruIndex; in lru_index() method 120 let index = node.lru_index().load(); in record_use() 180 entry.lru_index().clear(); in resize() 197 let index = node.lru_index().load(); in record_use() 215 debug_assert!(!node.lru_index().is_in_lru()); in insert_new() 222 node.lru_index().store(len); in insert_new() 232 victim_node.lru_index().clear(); in insert_new() 259 self.entries[red_index].lru_index().store(red_index); in promote_red_to_green() 283 self.entries[yellow_index].lru_index().store(yellow_index); in promote_yellow_to_green() 284 node.lru_index().store(green_index); in promote_yellow_to_green()
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/salsa-0.15.2/src/ |
H A D | lru.rs | 37 fn lru_index(&self) -> &LruIndex; in lru_index() method 120 let index = node.lru_index().load(); in record_use() 180 entry.lru_index().clear(); in resize() 197 let index = node.lru_index().load(); in record_use() 215 debug_assert!(!node.lru_index().is_in_lru()); in insert_new() 222 node.lru_index().store(len); in insert_new() 232 victim_node.lru_index().clear(); in insert_new() 259 self.entries[red_index].lru_index().store(red_index); in promote_red_to_green() 283 self.entries[yellow_index].lru_index().store(yellow_index); in promote_yellow_to_green() 284 node.lru_index().store(green_index); in promote_yellow_to_green()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/salsa/src/ |
H A D | lru.rs | 37 fn lru_index(&self) -> &LruIndex; in lru_index() method 120 let index = node.lru_index().load(); in record_use() 180 entry.lru_index().clear(); in resize() 197 let index = node.lru_index().load(); in record_use() 215 debug_assert!(!node.lru_index().is_in_lru()); in insert_new() 222 node.lru_index().store(len); in insert_new() 232 victim_node.lru_index().clear(); in insert_new() 259 self.entries[red_index].lru_index().store(red_index); in promote_red_to_green() 283 self.entries[yellow_index].lru_index().store(yellow_index); in promote_yellow_to_green() 284 node.lru_index().store(green_index); in promote_yellow_to_green()
|
/dports/net/xrdp-devel/xrdp-0.9.16/xrdp/ |
H A D | xrdp_cache.c | 239 if ((lru_index < 0) || (lru_index >= XRDP_MAX_BITMAP_CACHE_IDX)) in xrdp_cache_update_lru() 244 if (self->lru_tail[cache_id] == lru_index) in xrdp_cache_update_lru() 265 taillru->next = lru_index; in xrdp_cache_update_lru() 270 self->lru_tail[cache_id] = lru_index; in xrdp_cache_update_lru() 288 taillru->next = lru_index; in xrdp_cache_update_lru() 293 self->lru_tail[cache_id] = lru_index; in xrdp_cache_update_lru() 315 int lru_index; in xrdp_cache_add_bitmap() local 371 lru_index = self->bitmap_items[cache_id][cache_idx].lru_index; in xrdp_cache_add_bitmap() 396 lru_index = self->lru_head[cache_id]; in xrdp_cache_add_bitmap() 397 cache_idx = lru_index; in xrdp_cache_add_bitmap() [all …]
|
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/xrdp/ |
H A D | xrdp_cache.c | 239 if ((lru_index < 0) || (lru_index >= XRDP_MAX_BITMAP_CACHE_IDX)) in xrdp_cache_update_lru() 244 if (self->lru_tail[cache_id] == lru_index) in xrdp_cache_update_lru() 265 taillru->next = lru_index; in xrdp_cache_update_lru() 270 self->lru_tail[cache_id] = lru_index; in xrdp_cache_update_lru() 288 taillru->next = lru_index; in xrdp_cache_update_lru() 293 self->lru_tail[cache_id] = lru_index; in xrdp_cache_update_lru() 315 int lru_index; in xrdp_cache_add_bitmap() local 371 lru_index = self->bitmap_items[cache_id][cache_idx].lru_index; in xrdp_cache_add_bitmap() 396 lru_index = self->lru_head[cache_id]; in xrdp_cache_add_bitmap() 397 cache_idx = lru_index; in xrdp_cache_add_bitmap() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/regulator/ |
H A D | tps62360-regulator.c | 74 int lru_index[4]; member 100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register() 104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register() 114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register() 426 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 459 tps->lru_index[i] = i; in tps62360_probe() 460 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 461 tps->lru_index[tps->curr_vset_id] = 0; in tps62360_probe()
|
H A D | max8973-regulator.c | 119 int lru_index[MAX8973_MAX_VOUT_REG]; member 150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() 164 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 166 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register() 704 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 726 max->lru_index[i] = i; in max8973_probe() 727 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 728 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/regulator/ |
H A D | tps62360-regulator.c | 74 int lru_index[4]; member 100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register() 104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register() 114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register() 426 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 459 tps->lru_index[i] = i; in tps62360_probe() 460 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 461 tps->lru_index[tps->curr_vset_id] = 0; in tps62360_probe()
|
H A D | max8973-regulator.c | 119 int lru_index[MAX8973_MAX_VOUT_REG]; member 150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() 164 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 166 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register() 704 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 726 max->lru_index[i] = i; in max8973_probe() 727 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 728 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/regulator/ |
H A D | tps62360-regulator.c | 74 int lru_index[4]; member 100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register() 104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register() 114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register() 426 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 459 tps->lru_index[i] = i; in tps62360_probe() 460 tps->lru_index[0] = tps->curr_vset_id; in tps62360_probe() 461 tps->lru_index[tps->curr_vset_id] = 0; in tps62360_probe()
|
H A D | max8973-regulator.c | 119 int lru_index[MAX8973_MAX_VOUT_REG]; member 150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() 164 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 166 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register() 704 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 726 max->lru_index[i] = i; in max8973_probe() 727 max->lru_index[0] = max->curr_vout_reg; in max8973_probe() 728 max->lru_index[max->curr_vout_reg] = 0; in max8973_probe()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender/src/ |
H A D | lru_cache.rs | 51 lru_index: ItemIndex, field 93 lru_index: ItemIndex(num::NonZeroU32::new(1).unwrap()), in push_new() 103 let lru_index = self.lru[partition_index as usize].push_new(handle); in push_new() localVariable 105 entry.lru_index = lru_index; in push_new() 177 … let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in replace_or_insert() 178 let lru_index = self.lru[partition_index as usize].push_new(strong_handle); in replace_or_insert() localVariable 180 entry.lru_index = lru_index; in replace_or_insert() 194 let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in remove() 214 lru[entry.partition_index as usize].mark_used(entry.lru_index); in touch()
|
/dports/www/firefox/firefox-99.0/gfx/wr/webrender/src/ |
H A D | lru_cache.rs | 51 lru_index: ItemIndex, field 93 lru_index: ItemIndex(num::NonZeroU32::new(1).unwrap()), in push_new() 103 let lru_index = self.lru[partition_index as usize].push_new(handle); in push_new() localVariable 105 entry.lru_index = lru_index; in push_new() 177 … let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in replace_or_insert() 178 let lru_index = self.lru[partition_index as usize].push_new(strong_handle); in replace_or_insert() localVariable 180 entry.lru_index = lru_index; in replace_or_insert() 194 let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in remove() 214 lru[entry.partition_index as usize].mark_used(entry.lru_index); in touch()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/webrender/src/ |
H A D | lru_cache.rs | 51 lru_index: ItemIndex, field 93 lru_index: ItemIndex(num::NonZeroU32::new(1).unwrap()), in push_new() 103 let lru_index = self.lru[partition_index as usize].push_new(handle); in push_new() localVariable 105 entry.lru_index = lru_index; in push_new() 177 … let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in replace_or_insert() 178 let lru_index = self.lru[partition_index as usize].push_new(strong_handle); in replace_or_insert() localVariable 180 entry.lru_index = lru_index; in replace_or_insert() 194 let strong_handle = self.lru[entry.partition_index as usize].remove(entry.lru_index); in remove() 214 lru[entry.partition_index as usize].mark_used(entry.lru_index); in touch()
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/http/ |
H A D | http-loadbalancer.c | 112 gint lru_index = -1; in _get_least_recently_tried_failing_target() local 121 if (lru_index < 0 || lru > target->last_failure_time) in _get_least_recently_tried_failing_target() 124 lru_index = i; in _get_least_recently_tried_failing_target() 127 return &self->targets[lru_index >= 0 ? lru_index : 0]; in _get_least_recently_tried_failing_target()
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/prompter/ |
H A D | CommandTextPopup.C | 39 this->lru_index = -1; in CommandTextPopup() 148 this->lru_index = next; in createTextPopup() 232 kid = kids[this->lru_index]; in activateTextCallback() 235 char* trash = (char*)this->added_names->getElement(this->lru_index+1); in activateTextCallback() 236 this->added_names->deleteElement(this->lru_index+1); in activateTextCallback()
|
H A D | CommandTextPopup.h | 47 int lru_index; variable
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/audio/midi_drivers/ |
H A D | LowLevelMidiDriver.cpp | 1719 int lru_index = -1; in uploadTimbre() local 1728 lru_index = i; in uploadTimbre() 1746 lru_index = i; in uploadTimbre() 1751 if (lru_index == -1) return; in uploadTimbre() 1753 int lru_bank = mt32_timbre_used[lru_index][0]; in uploadTimbre() 1754 int lru_patch = mt32_timbre_used[lru_index][1]; in uploadTimbre() 1760 mt32_timbre_used[lru_index][0] = bank; in uploadTimbre() 1761 mt32_timbre_used[lru_index][1] = patch; in uploadTimbre() 1763 mt32_timbre_banks[bank][patch]->index = lru_index; in uploadTimbre() 1772 …stom Timbre `"<< name << "` from " << bank << ":" << patch << " into 2:" << lru_index << std::endl; in uploadTimbre() [all …]
|
/dports/graphics/zathura/zathura-0.4.5/zathura/ |
H A D | render.c | 942 ssize_t lru_index = 0; in page_cache_lru_invalidate() local 953 lru_index = i; in page_cache_lru_invalidate() 963 zathura_page_get_index(request_priv->page) + 1, lru_index); in page_cache_lru_invalidate() 964 priv->page_cache.cache[lru_index] = -1; in page_cache_lru_invalidate() 967 return lru_index; in page_cache_lru_invalidate()
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/salsa-0.15.2/src/derived/ |
H A D | slot.rs | 33 lru_index: LruIndex, field 117 lru_index: LruIndex::default(), in new() 1009 fn lru_index(&self) -> &LruIndex { in lru_index() function 1010 &self.lru_index in lru_index()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/salsa-0.17.0-pre.2/src/derived/ |
H A D | slot.rs | 32 lru_index: LruIndex, field 116 lru_index: LruIndex::default(), in new() 996 fn lru_index(&self) -> &LruIndex { in lru_index() function 997 &self.lru_index in lru_index()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/salsa/src/derived/ |
H A D | slot.rs | 32 lru_index: LruIndex, field 116 lru_index: LruIndex::default(), in new() 996 fn lru_index(&self) -> &LruIndex { in lru_index() function 997 &self.lru_index in lru_index()
|
/dports/multimedia/librav1e/rav1e-0.5.1/src/ |
H A D | encoder.rs | 3087 pub lru_index: [i32; MAX_PLANES], field 3111 if qe.lru_index[pli] > last_lru_ready[pli] { 3137 if qe.lru_index[pli] != -1 3147 if qe.lru_index[pli] != -1 3159 if qe.lru_index[pli] != -1 3162 last_lru_coded[pli] = qe.lru_index[pli]; 3211 lru_index: [-1; MAX_PLANES], in encode_tile() 3264 let lru_index = ts.restoration.planes[pli] in encode_tile() localVariable 3267 sbs_qe.lru_index[pli] = lru_index; in encode_tile() 3271 last_lru_ready[pli] = lru_index; in encode_tile() [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/src/ |
H A D | encoder.rs | 3087 pub lru_index: [i32; MAX_PLANES], field 3111 if qe.lru_index[pli] > last_lru_ready[pli] { 3137 if qe.lru_index[pli] != -1 3147 if qe.lru_index[pli] != -1 3159 if qe.lru_index[pli] != -1 3162 last_lru_coded[pli] = qe.lru_index[pli]; 3211 lru_index: [-1; MAX_PLANES], in encode_tile() 3264 let lru_index = ts.restoration.planes[pli] in encode_tile() localVariable 3267 sbs_qe.lru_index[pli] = lru_index; in encode_tile() 3271 last_lru_ready[pli] = lru_index; in encode_tile() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/rav1e-0.4.1/src/ |
H A D | encoder.rs | 3092 pub lru_index: [i32; MAX_PLANES], field 3116 if qe.lru_index[pli] > last_lru_ready[pli] { 3142 if qe.lru_index[pli] != -1 3152 if qe.lru_index[pli] != -1 3163 if qe.lru_index[pli] != -1 3166 last_lru_coded[pli] = qe.lru_index[pli]; 3213 lru_index: [-1; MAX_PLANES], in encode_tile() 3266 let lru_index = ts.restoration.planes[pli] in encode_tile() localVariable 3269 sbs_qe.lru_index[pli] = lru_index; in encode_tile() 3273 last_lru_ready[pli] = lru_index; in encode_tile() [all …]
|