/dports/devel/py-taskflow/taskflow-4.6.3/taskflow/tests/unit/ |
H A D | test_check_transition.py | 27 def assertTransitionAllowed(self, from_state, to_state): argument 28 msg = self._DISALLOWED_TPL % (from_state, to_state) 31 def assertTransitionIgnored(self, from_state, to_state): argument 32 msg = self._NOT_IGNORED_TPL % (from_state, to_state) 43 self.assertTransitionAllowed(from_state, a) 45 self.assertTransitionIgnored(from_state, i) 47 self.assertTransitionForbidden(from_state, f) 81 self.assertTransitions(from_state=states.PENDING, 88 self.assertTransitions(from_state=states.RUNNING, 94 self.assertTransitions(from_state=states.SUCCESS, [all …]
|
/dports/biology/py-biopython/biopython-1.79/Bio/HMM/ |
H A D | MarkovModel.py | 46 for from_state, to_state in trans_probs: 47 transitions[from_state].append(to_state) 62 for from_state, to_state in trans_probs: 63 transitions[to_state].append(from_state) 266 for from_state in transitions_from: 268 for to_state in transitions_from[from_state]: 343 for state in [from_state, to_state]: 351 from_state, 368 def destroy_transition(self, from_state, to_state): argument 381 % (from_state, to_state) [all …]
|
/dports/emulators/elliott-803/Elliott-803-0.1.8/emulator/io5/ |
H A D | put.c | 21 switch (conv->from_state) { in process_hex_data() 25 conv->from_state = state_hash; in process_hex_data() 28 conv->from_state = state_hex; in process_hex_data() 41 conv->from_state = state_eol; in process_hex_data() 46 conv->from_state = state_begin; in process_hex_data() 52 conv->from_state = state_skip; in process_hex_data() 54 conv->from_state = state_eol; in process_hex_data() 66 conv->from_state = state_hash; in process_hex_data() 91 switch (conv->from_state) { in process_utf8_data() 116 ++conv->from_state; in process_utf8_data() [all …]
|
/dports/sysutils/cfengine-masterfiles316/cfengine-masterfiles-3.16.0/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 362 def calc_transitions(from_state, to_state): argument 364 if states[from_state][("64_bit", "1")]: 366 elif states[from_state][("64_bit", "2")]: 370 if states[from_state][("32_bit", "1")]: 372 elif states[from_state][("32_bit", "2")]: 420 for from_state in states: 422 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 439 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 475 if states[from_state][(arch, version)]: 510 file_state_to_check = from_state [all …]
|
/dports/sysutils/cfengine-masterfiles317/cfengine-masterfiles-3.17.0/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 362 def calc_transitions(from_state, to_state): argument 364 if states[from_state][("64_bit", "1")]: 366 elif states[from_state][("64_bit", "2")]: 370 if states[from_state][("32_bit", "1")]: 372 elif states[from_state][("32_bit", "2")]: 420 for from_state in states: 422 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 439 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 475 if states[from_state][(arch, version)]: 510 file_state_to_check = from_state [all …]
|
/dports/sysutils/cfengine-masterfiles/cfengine-masterfiles-3.19.0/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 375 def calc_transitions(from_state, to_state): argument 377 if states[from_state][("64_bit", "1")]: 379 elif states[from_state][("64_bit", "2")]: 383 if states[from_state][("32_bit", "1")]: 385 elif states[from_state][("32_bit", "2")]: 433 for from_state in states: 435 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 452 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 488 if states[from_state][(arch, version)]: 523 file_state_to_check = from_state [all …]
|
/dports/sysutils/cfengine-masterfiles-devel/masterfiles-f98dca2d/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 375 def calc_transitions(from_state, to_state): argument 377 if states[from_state][("64_bit", "1")]: 379 elif states[from_state][("64_bit", "2")]: 383 if states[from_state][("32_bit", "1")]: 385 elif states[from_state][("32_bit", "2")]: 433 for from_state in states: 435 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 452 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 488 if states[from_state][(arch, version)]: 523 file_state_to_check = from_state [all …]
|
/dports/sysutils/cfengine-masterfiles318/cfengine-masterfiles-3.18.1/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 375 def calc_transitions(from_state, to_state): argument 377 if states[from_state][("64_bit", "1")]: 379 elif states[from_state][("64_bit", "2")]: 383 if states[from_state][("32_bit", "1")]: 385 elif states[from_state][("32_bit", "2")]: 433 for from_state in states: 435 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 452 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 488 if states[from_state][(arch, version)]: 523 file_state_to_check = from_state [all …]
|
/dports/sysutils/cfengine-masterfiles319/cfengine-masterfiles-3.19.0/tests/acceptance/17_packages/10_new/unsafe/ |
H A D | the_great_package_test_generator.py | 375 def calc_transitions(from_state, to_state): argument 377 if states[from_state][("64_bit", "1")]: 379 elif states[from_state][("64_bit", "2")]: 383 if states[from_state][("32_bit", "1")]: 385 elif states[from_state][("32_bit", "2")]: 433 for from_state in states: 435 transitions[(from_state, to_state)] = calc_transitions(from_state, to_state) 452 …if states[from_state][("64_bit", "1")] or states[from_state][("64_bit", "2")] or states[to_state][… 488 if states[from_state][(arch, version)]: 523 file_state_to_check = from_state [all …]
|
/dports/audio/sphinx3/sphinx3-0.8/src/libs3decoder/libcfg/ |
H A D | s3_cfg_convert.c | 92 trans->from_state = cur; 125 trans->from_state = cur; 135 trans->from_state = cur; 150 trans->from_state = cur; 187 edges[trans->from_state] = trans; 188 states[trans->from_state]++; 207 if (states[trans->from_state] != -1) { 272 trans->from_state = states[trans->from_state]; 331 int from_state; 382 add_trans(fsg,from_state,0,rule->prob_score,word); [all …]
|
/dports/net/ipsumdump/ipsumdump-1.86/src/ |
H A D | classification.hh | 289 int from_state = stateno(brno); in br_implies() local 290 unsigned kl = _known_length[from_state]; in br_implies() 292 return insn(from_state).implies(insn(state), kl); in br_implies() 294 return insn(from_state).not_implies(insn(state), kl); in br_implies() 299 int from_state = stateno(brno); in br_implies_not() local 300 unsigned kl = _known_length[from_state]; in br_implies_not() 302 return insn(from_state).implies_not(insn(state), kl); in br_implies_not() 304 return insn(from_state).not_implies_not(insn(state), kl); in br_implies_not() 341 inline void set_branch(int from_state, bool branch, int to_state) { in set_branch() argument 342 Insn &in = insn(from_state); in set_branch() [all …]
|
/dports/mail/mairix/mairix-0.24/dfasyn/ |
H A D | n2d.c | 139 int from_state = s->index; in generate_epsilon_closure() local 140 set_bit(b->eclo[from_state], from_state); /* Always reflexive */ in generate_epsilon_closure() 147 set_bit(b->eclo[from_state], to_state); in generate_epsilon_closure() 398 dfa->s[dfa->n]->from_state = from_state; in add_dfa() 591 int from_state, via_token; in display_route() local 592 from_state = dfa->s[idx]->from_state; in display_route() 593 if (from_state >= 0) { in display_route() 594 display_route(dfa, from_state, out); in display_route() 615 int from_state, this_state; in print_dfa() local 637 from_state = dfa->s[i]->from_state; in print_dfa() [all …]
|
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/storage/ |
H A D | workflow.py | 131 def add_edge(self, from_state, to_state): argument 132 if isinstance(from_state, str): 133 from_state = self.get_state_by_name(from_state) 136 for s in (from_state, to_state): 139 if (from_state, to_state) in self.edges: 142 self._edges.append((from_state, to_state))
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/docs/doxygen/other/ |
H A D | doxypy.py | 75 def addTransition(self, from_state, to_state, condition, callback): argument 76 self.transitions.append([from_state, to_state, condition, callback]) 84 [from_state, to_state, condition, callback] = transition 85 if from_state == self.current_state: 92 …print("# FSM: executing (%s -> %s) for line '%s'" % (from_state, to_state, input), file=sys.stderr) 282 (from_state, to_state, condition, callback) = self.fsm.current_transition 285 if (from_state == "DEFCLASS" and to_state == "DEFCLASS_BODY") \ 286 or (from_state == "FILEHEAD" and to_state == "FILEHEAD"): 296 elif from_state == "DEFCLASS" or from_state == "FILEHEAD":
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/src/docs/tools/ |
H A D | doxypy.py | 72 def addTransition(self, from_state, to_state, condition, callback): argument 73 self.transitions.append([from_state, to_state, condition, callback]) 81 [from_state, to_state, condition, callback] = transition 82 if from_state == self.current_state: 89 … print >>sys.stderr, "# FSM: executing (%s -> %s) for line '%s'" % (from_state, to_state, input) 279 (from_state, to_state, condition, callback) = self.fsm.current_transition 282 if (from_state == "DEFCLASS" and to_state == "DEFCLASS_BODY") \ 283 or (from_state == "FILEHEAD" and to_state == "FILEHEAD"): 293 elif from_state == "DEFCLASS" or from_state == "FILEHEAD":
|
/dports/lang/mono/mono-5.10.1.57/mono/utils/ |
H A D | checked-build.h | 206 #define CHECKED_BUILD_THREAD_TRANSITION(transition, info, from_state, suspend_count, next_state, su… argument 207 …checked_build_thread_transition (transition, info, from_state, suspend_count, next_state, suspend_… 210 void checked_build_thread_transition(const char *transition, void *info, int from_state, int suspen… 216 #define CHECKED_BUILD_THREAD_TRANSITION(transition, info, from_state, suspend_count, next_state, su… argument
|
/dports/www/anyterm/anyterm-1.1.29/libpbe/include/charset/ |
H A D | contig_sequence_conv.hh | 85 typename charset_traits<from_cs>::state_t& from_state, in operator ()() 105 *(result++) = char_conv<from_cs,to_cs,error_policy>()(*first,from_state,to_state); in operator ()() 132 typename charset_traits<from_cs>::state_t& from_state, in operator ()() 139 sc(first_p,last_p,result,from_state,to_state); in operator ()()
|
H A D | char_conv.hh | 73 typename charset_traits<from_cs>::state_t& from_state in operator ()() 79 char32_t tmp = char_conv<from_cs, cs::ucs4, error_policy>() (c,from_state,ucs4_state); in operator ()() 90 PBE_UNUSED_ARG(typename charset_traits<cset>::state_t& from_state) in operator ()()
|
/dports/www/py-django-sortedm2m/django-sortedm2m-3.0.2/sortedm2m/ |
H A D | operations.py | 11 def database_forwards(self, app_label, schema_editor, from_state, to_state): argument 17 from_apps = get_apps_from_state(from_state) 37 def database_backwards(self, app_label, schema_editor, from_state, to_state): argument 38 from_apps = get_apps_from_state(from_state)
|
/dports/devel/py-pyparsing/pyparsing-3.0.6/examples/statemachine/ |
H A D | statemachine.py | 70 states.add(tn.from_state) 72 fromTo[tn.from_state] = tn.to_state 141 states.add(tn.from_state) 144 if tn.from_state in fromTo: 145 fromTo[tn.from_state][tn.transition] = tn.to_state 147 fromTo[tn.from_state] = {tn.transition: tn.to_state}
|
/dports/devel/py-pyparsing2/pyparsing-2.4.7/examples/statemachine/ |
H A D | statemachine.py | 62 states.add(tn.from_state) 64 fromTo[tn.from_state] = tn.to_state 130 states.add(tn.from_state) 133 if tn.from_state in fromTo: 134 fromTo[tn.from_state][tn.transition] = tn.to_state 136 fromTo[tn.from_state] = {tn.transition: tn.to_state}
|
/dports/devel/bison/bison-3.7.6/src/ |
H A D | lalr.c | 46 state_number *from_state = NULL; variable 91 const state_number src = from_state[i]; in goto_print() 132 from_state = xcalloc (ngotos, sizeof *from_state); in set_goto_map() 141 from_state[k] = s; in set_goto_map() 167 state_number s = from_state[middle]; in map_goto() 328 const state_number src = from_state[i]; in build_relations() 591 if (old_to_new[from_state[i]] != nstates_old) in lalr_update_state_numbers() 596 from_state[ngotos_reachable] = old_to_new[from_state[i]]; in lalr_update_state_numbers()
|
/dports/audio/sphinx3/sphinx3-0.8/src/libs3decoder/libsearch/ |
H A D | word_fsg.c | 221 link->from_state = from; in word_fsg_trans_add() 272 link->from_state = from; in word_fsg_null_trans_add() 313 if (tl1->to_state == tl2->from_state) { in word_fsg_null_trans_closure() 315 tl1->from_state, in word_fsg_null_trans_closure() 555 if ((trans->from_state < 0) || (trans->from_state >= fsg->n_state) in word_fsg_load() 559 trans->from_state, trans->to_state, trans->prob); in word_fsg_load() 618 i = trans->from_state; in word_fsg_load() 862 trans->from_state = i; in word_fsg_read() 991 tl->from_state, tl->to_state, tl->logs2prob, in word_fsg_write() 994 tl->from_state, tl->to_state, in word_fsg_write() [all …]
|
/dports/biology/wise/wise2.4.1/src/dyc/ |
H A D | compugen.c | 16 static OneModelTrans * update_transition_fields(CellSource * from_state, CellState * to_state, 250 om->trans[OM_TMPSTART]->from_state = copy_str ( "START" ); in update_transitions() 257 om->trans[OM_TMPEND]->from_state = copy_str ( "TMPEND" ); in update_transitions() 333 om->trans[transition_num]->from_state = copy_str ( "TMPSTART" ); in update_transitions() 366 static OneModelTrans * update_transition_fields(CellSource * from_state, CellState * to_state, in update_transition_fields() argument 376 out->from_state = copy_str ( "TMPSTART" ); in update_transition_fields() 378 out->from_state = copy_str ( from_state->state_source ); in update_transition_fields() 390 out->dx = (from_state->offj < 0) ? MAX(to_state->offj, 0) : from_state->offj; in update_transition_fields() 391 out->dy = (from_state->offi < 0) ? MAX(to_state->offi, 0) : from_state->offi; in update_transition_fields() 423 out->from_state = create_semistate_name ( state->name ); in update_transition_from_semistate() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/VideoBackends/D3D12/ |
H A D | Common.h | 17 D3D12_RESOURCE_STATES from_state, D3D12_RESOURCE_STATES to_state) in ResourceBarrier() argument 22 {{resource, D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, from_state, to_state}}}; in ResourceBarrier()
|