/dports/devel/hyperscan/hyperscan-5.4.0/src/nfagraph/ |
H A D | ng_limex.cpp | 104 if (!contains(state_ids, v)) { in sanityCheckGraph() 108 u32 s = state_ids.at(v); in sanityCheckGraph() 514 if (state_ids.at(v) != NO_STATE) { in findZombies() 524 for (auto &e : state_ids) { in reverseStateOrdering() 534 return state_ids.at(a) > state_ids.at(b); in reverseStateOrdering() 541 state_ids[v] = stateNum++; in reverseStateOrdering() 599 state_ids = numberStates(*h, topVerts); in prepareGraph() 604 reverseStateOrdering(state_ids); in prepareGraph() 652 u32 numStates = countStates(state_ids); in constructNFA() 725 auto state_ids = numberStates(h, {}); in constructReversedNFA_i() local [all …]
|
H A D | ng_restructuring.cpp | 205 u32 countStates(const unordered_map<NFAVertex, u32> &state_ids) { in countStates() argument 206 if (state_ids.empty()) { in countStates() 211 for (const auto &m : state_ids) { in countStates()
|
/dports/devel/tree-sitter/tree-sitter-0.20.1/cli/src/generate/ |
H A D | dedup.rs | 12 let state_ids = &state_ids_by_group_id[group_id]; in split_state_id_groups() localVariable 16 while i < state_ids.len() { in split_state_id_groups() 17 let left_state_id = state_ids[i]; in split_state_id_groups() 28 while j < state_ids.len() { in split_state_id_groups() 29 let right_state_id = state_ids[j]; in split_state_id_groups()
|
H A D | nfa.rs | 38 pub(crate) state_ids: Vec<u32>, field 411 state_ids: Vec::new(), in new() 418 self.state_ids.clear(); in reset() 423 self.state_ids = states in force_reset() 435 self.state_ids.iter().filter_map(move |id| { in raw_transitions() 512 self.state_ids.iter().filter_map(move |state_id| { in completions() 547 } else if let Err(i) = self.state_ids.binary_search(&state_id) { in add_states() 548 self.state_ids.insert(i, state_id); in add_states()
|
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfa/ |
H A D | limex_compile.cpp | 129 for (const auto &m : state_ids) { in reindexByStateId() 168 tugs.set(state_ids.at(v)); in build_info() 327 const auto &state_ids = args.state_ids; in buildReachMapping() local 333 if (state_ids.at(v) != NO_STATE) { in buildReachMapping() 387 u32 state = bi.state_ids.at(v); in findStopLiterals() 614 const unordered_map<NFAVertex, u32> &state_ids = bi.state_ids; in fillAccelInfo() local 1144 u32 i = state_ids.at(v); in compressedStateSize() 1680 const auto &state_ids = args.state_ids; in cannotDie() local 2451 if (!contains(state_ids, v)) { in isSane() 2455 const u32 i = state_ids.at(v); in isSane() [all …]
|
/dports/www/drupal8/drupal-8.9.20/core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ |
H A D | PredefinedStatesWorkflowTestType.php | 27 public function getStates($state_ids = NULL) { argument 33 ], function ($state) use ($state_ids) { 34 return is_array($state_ids) ? in_array($state->id(), $state_ids) : TRUE;
|
/dports/www/drupal9/drupal-9.2.10/core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ |
H A D | PredefinedStatesWorkflowTestType.php | 27 public function getStates($state_ids = NULL) { argument 33 ], function ($state) use ($state_ids) { 34 return is_array($state_ids) ? in_array($state->id(), $state_ids) : TRUE;
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/handlers/ |
H A D | event_auth.py | 165 state_ids: StateMap[str], 196 if not await self.has_restricted_join_rules(state_ids, room_version): 201 allowed_rooms = await self.get_rooms_that_allow_join(state_ids) 221 self, state_ids: StateMap[str], room_version: RoomVersion 238 join_rules_event_id = state_ids.get((EventTypes.JoinRules, ""), None) 247 self, state_ids: StateMap[str] 259 join_rules_event_id = state_ids.get((EventTypes.JoinRules, ""), None)
|
H A D | sync.py | 657 state_ids = dict(state_ids) 659 return state_ids 735 name_id = state_ids.get((EventTypes.Name, "")) 916 state_ids = current_state_ids 918 state_ids = _calculate_state( 920 timeline_start=state_ids, 973 state_ids = _calculate_state( 982 state_ids = {} 1017 state_ids = { 1032 if state_ids: [all …]
|
H A D | room_summary.py | 822 state_ids = await self._store.get_current_state_ids(room_id) 825 if not state_ids: 843 join_rules_event_id = state_ids.get((EventTypes.JoinRules, "")) 853 hist_vis_event_id = state_ids.get((EventTypes.RoomHistoryVisibility, "")) 865 member_event_id = state_ids.get((EventTypes.Member, requester), None) 875 state_ids, room_version 878 await self._event_auth_handler.get_rooms_that_allow_join(state_ids) 897 state_ids, room_version 900 await self._event_auth_handler.get_rooms_that_allow_join(state_ids)
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/website_sale_delivery/models/ |
H A D | res_country.py | 17 if not carrier.country_ids and not carrier.state_ids: 34 if not carrier.country_ids or not carrier.state_ids: 37 states |= carrier.state_ids
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/delivery/models/ |
H A D | delivery_carrier.py | 55 …state_ids = fields.Many2many('res.country.state', 'delivery_carrier_state_rel', 'carrier_id', 'sta… variable in DeliveryCarrier 103 if self.state_ids and partner.state_id not in self.state_ids: 128 self.country_ids = [(6, 0, self.country_ids.ids + self.state_ids.mapped('country_id.id'))] 132 …self.state_ids = [(6, 0, self.state_ids.filtered(lambda state: state.id in self.country_ids.mapped…
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scpui/ |
H A D | SoundPlugin.cpp | 15 SCP_unordered_map<SCP_string, interface_snd_id> state_ids; member 56 def.state_ids.emplace(state_name, snd); in parse_sound_value() 136 auto snd_iter = snds.state_ids.find(SCP_string(state.CString())); in PlayElementSound() 138 if (snd_iter == snds.state_ids.end()) { in PlayElementSound()
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/crm/tests/ |
H A D | test_crm_pls.py | 72 state_ids = self.env['res.country.state'].search([], limit=3).ids 82 …self._get_lead_values(team_ids[0], 'team_1_%s' % str(i), country_ids[i], state_ids[i], state_value… 84 …self._get_lead_values(team_ids[0], 'team_1_%s' % str(3), country_ids[0], state_ids[1], state_value… 86 …self._get_lead_values(team_ids[0], 'team_1_%s' % str(4), country_ids[1], state_ids[1], state_value… 89 …self._get_lead_values(team_ids[1], 'team_2_%s' % str(5), country_ids[0], state_ids[1], state_value… 91 …self._get_lead_values(team_ids[1], 'team_2_%s' % str(6), country_ids[0], state_ids[1], state_value… 93 …self._get_lead_values(team_ids[1], 'team_2_%s' % str(7), country_ids[0], state_ids[2], state_value… 95 …self._get_lead_values(team_ids[1], 'team_2_%s' % str(8), country_ids[0], state_ids[1], state_value… 97 …self._get_lead_values(team_ids[1], 'team_2_%s' % str(9), country_ids[1], state_ids[0], state_value…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/workflows/src/Plugin/ |
H A D | WorkflowTypeBase.php | 141 public function getStates($state_ids = NULL) { argument 142 if ($state_ids === NULL) { 143 $state_ids = array_keys($this->configuration['states']); 146 $states = array_combine($state_ids, array_map([$this, 'getState'], $state_ids));
|
/dports/www/drupal9/drupal-9.2.10/core/modules/workflows/src/Plugin/ |
H A D | WorkflowTypeBase.php | 141 public function getStates($state_ids = NULL) { argument 142 if ($state_ids === NULL) { 143 $state_ids = array_keys($this->configuration['states']); 146 $states = array_combine($state_ids, array_map([$this, 'getState'], $state_ids));
|
/dports/devel/tree-sitter/tree-sitter-0.20.1/cli/src/generate/build_tables/ |
H A D | build_lex_table.rs | 150 .entry((self.cursor.state_ids.clone(), eof_valid)) in add_state() 224 } else if self.cursor.state_ids.is_empty() { in populate_state() 297 for (group_id, state_ids) in state_ids_by_group_id.iter().enumerate() { in minimize_lex_table() 298 for state_id in state_ids { in minimize_lex_table() 314 for state_ids in &state_ids_by_group_id { in minimize_lex_table() 316 mem::swap(&mut new_state, &mut table.states[state_ids[0]]); in minimize_lex_table()
|
/dports/biology/p5-Bio-Phylo/Bio-Phylo-v2.0.1/lib/Bio/Phylo/Matrices/ |
H A D | DatumRole.pm | 742 my $state_ids = $args{'-states'}; 760 if ( $state_ids and $state_ids->{ uc $char[$i] } ) { 761 $s = $state_ids->{ uc $char[$i] }; 835 my $state_ids = $args{'-states'}; 853 if ( $state_ids and $state_ids->{ uc $char[$i] } ) { 854 $s = $state_ids->{ uc $char[$i] };
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/tests/rest/client/ |
H A D | test_upgrade_room.py | 205 state_ids = self.get_success(self.store.get_current_state_ids(new_space_id)) 209 self.store.get_event(state_ids[(EventTypes.Create, "")]) 216 self.assertIn((EventTypes.SpaceChild, self.room_id), state_ids) 218 self.assertNotIn((EventTypes.SpaceChild, old_room_id), state_ids)
|
/dports/devel/hyperscan/hyperscan-5.4.0/src/smallwrite/ |
H A D | smallwrite_build.cpp | 660 unordered_map<LitTrieVertex, u32> state_ids; in makeStateMap() local 661 state_ids.reserve(num_vertices(trie)); in makeStateMap() 663 state_ids.emplace(trie.root, idx++); in makeStateMap() 665 state_ids.emplace(v, idx++); in makeStateMap() 667 assert(state_ids.size() == num_vertices(trie)); in makeStateMap() 668 return state_ids; in makeStateMap() 681 const auto state_ids = makeStateMap(trie, ordering); in buildDfa() local 691 const u16 root_state = state_ids.at(trie.root); in buildDfa() 702 auto u_state = state_ids.at(u); in buildDfa() 716 ds.daddy = state_ids.at(failure_map.at(u)); in buildDfa() [all …]
|
/dports/www/drupal9/drupal-9.2.10/core/modules/workflows/src/ |
H A D | WorkflowTypeInterface.php | 124 * @param string[] $state_ids 133 public function getStates($state_ids = NULL); argument
|
/dports/www/drupal8/drupal-8.9.20/core/modules/workflows/src/ |
H A D | WorkflowTypeInterface.php | 125 * @param string[] $state_ids 134 public function getStates($state_ids = NULL); argument
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/crm_iap_lead/models/ |
H A D | crm_iap_lead_mining_request.py | 59 state_ids = fields.Many2many('res.country.state', string='States') variable in CRMLeadMiningRequest 128 self.state_ids = [] 150 if self.state_ids: 151 payload['states'] = self.state_ids.mapped('code')
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/events/ |
H A D | third_party_rules.py | 365 state_ids = await self.store.get_filtered_current_state_ids(room_id) 366 room_state_events = await self.store.get_events(state_ids.values()) 369 for key, event_id in state_ids.items():
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/module_api/ |
H A D | __init__.py | 790 state_ids = yield defer.ensureDeferred( 795 state = yield defer.ensureDeferred(self._store.get_events(state_ids.values())) 1170 state_ids = await self._store.get_filtered_current_state_ids( 1179 state_ids = await self._store.get_current_state_ids(room_id) 1181 state_events = await self._store.get_events(state_ids.values()) 1183 return {key: state_events[event_id] for key, event_id in state_ids.items()}
|