Home
last modified time | relevance | path

Searched refs:error_loc (Results 1 – 25 of 165) sorted by relevance

1234567

/dports/science/py-cirq-aqt/Cirq-0.12.0/examples/
H A Dstabilizer_code_test.py15 error_loc: int,
34 circuit.append(error_gate(qubits[error_loc]))
66 five_qubit_code, input_val, error_gate=None, error_loc=None
85 code, input_val, error_gate=None, error_loc=None
89 for error_loc in range(code.n):
91 code, input_val, error_gate, error_loc
103 bit_flip_code, input_val, error_gate=None, error_loc=None
107 for error_loc in range(bit_flip_code.n):
109 bit_flip_code, input_val, error_gate, error_loc
117 bit_flip_code, input_val=1, error_gate=None, error_loc=None
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/examples/
H A Dstabilizer_code_test.py15 error_loc: int,
34 circuit.append(error_gate(qubits[error_loc]))
66 five_qubit_code, input_val, error_gate=None, error_loc=None
85 code, input_val, error_gate=None, error_loc=None
89 for error_loc in range(code.n):
91 code, input_val, error_gate, error_loc
103 bit_flip_code, input_val, error_gate=None, error_loc=None
107 for error_loc in range(bit_flip_code.n):
109 bit_flip_code, input_val, error_gate, error_loc
117 bit_flip_code, input_val=1, error_gate=None, error_loc=None
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/examples/
H A Dstabilizer_code_test.py15 error_loc: int,
34 circuit.append(error_gate(qubits[error_loc]))
66 five_qubit_code, input_val, error_gate=None, error_loc=None
85 code, input_val, error_gate=None, error_loc=None
89 for error_loc in range(code.n):
91 code, input_val, error_gate, error_loc
103 bit_flip_code, input_val, error_gate=None, error_loc=None
107 for error_loc in range(bit_flip_code.n):
109 bit_flip_code, input_val, error_gate, error_loc
117 bit_flip_code, input_val=1, error_gate=None, error_loc=None
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/examples/
H A Dstabilizer_code_test.py15 error_loc: int,
34 circuit.append(error_gate(qubits[error_loc]))
66 five_qubit_code, input_val, error_gate=None, error_loc=None
85 code, input_val, error_gate=None, error_loc=None
89 for error_loc in range(code.n):
91 code, input_val, error_gate, error_loc
103 bit_flip_code, input_val, error_gate=None, error_loc=None
107 for error_loc in range(bit_flip_code.n):
109 bit_flip_code, input_val, error_gate, error_loc
117 bit_flip_code, input_val=1, error_gate=None, error_loc=None
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/examples/
H A Dstabilizer_code_test.py15 error_loc: int,
34 circuit.append(error_gate(qubits[error_loc]))
66 five_qubit_code, input_val, error_gate=None, error_loc=None
85 code, input_val, error_gate=None, error_loc=None
89 for error_loc in range(code.n):
91 code, input_val, error_gate, error_loc
103 bit_flip_code, input_val, error_gate=None, error_loc=None
107 for error_loc in range(bit_flip_code.n):
109 bit_flip_code, input_val, error_gate, error_loc
117 bit_flip_code, input_val=1, error_gate=None, error_loc=None
[all …]
/dports/math/yices/yices-2.6.2/src/parser_utils/
H A Dterm_stack_error.c385 opcode2string[tstack->error_op], tstack->error_loc.line, tstack->error_loc.column); in yices_error()
422 opcode2string[tstack->error_op], tstack->error_loc.line, tstack->error_loc.column); in base_term_stack_error()
443 tstack->error_string, tstack->error_loc.line, tstack->error_loc.column); in base_term_stack_error()
460 tstack->error_loc.line, tstack->error_loc.column); in base_term_stack_error()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/nvme/target/
H A Dfabrics-cmd.c19 req->error_loc = in nvmet_execute_prop_set()
30 req->error_loc = in nvmet_execute_prop_set()
74 req->error_loc = in nvmet_execute_prop_get()
77 req->error_loc = in nvmet_execute_prop_get()
99 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_fabrics_cmd()
117 req->error_loc = offsetof(struct nvmf_connect_command, opcode); in nvmet_install_queue()
122 req->error_loc = offsetof(struct nvmf_connect_command, sqsize); in nvmet_install_queue()
178 req->error_loc = offsetof(struct nvmf_connect_command, recfmt); in nvmet_execute_admin_connect()
289 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_connect_cmd()
295 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_connect_cmd()
H A Ddiscovery.c179 req->error_loc = in nvmet_execute_disc_get_log_page()
187 req->error_loc = in nvmet_execute_disc_get_log_page()
254 req->error_loc = offsetof(struct nvme_identify, cns); in nvmet_execute_disc_identify()
316 req->error_loc = in nvmet_execute_disc_set_features()
341 req->error_loc = in nvmet_execute_disc_get_features()
357 req->error_loc = in nvmet_parse_discovery_cmd()
383 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_discovery_cmd()
H A Dcore.c53 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
57 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
61 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
72 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
78 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
90 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_report_invalid_opcode()
101 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
110 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
119 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
722 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
[all …]
H A Dio-cmd-bdev.c120 req->error_loc = offsetof(struct nvme_rw_command, length); in blk_to_nvme_status()
124 req->error_loc = offsetof(struct nvme_rw_command, slba); in blk_to_nvme_status()
127 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
139 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status()
144 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/nvme/target/
H A Dfabrics-cmd.c19 req->error_loc = in nvmet_execute_prop_set()
30 req->error_loc = in nvmet_execute_prop_set()
74 req->error_loc = in nvmet_execute_prop_get()
77 req->error_loc = in nvmet_execute_prop_get()
99 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_fabrics_cmd()
117 req->error_loc = offsetof(struct nvmf_connect_command, opcode); in nvmet_install_queue()
122 req->error_loc = offsetof(struct nvmf_connect_command, sqsize); in nvmet_install_queue()
178 req->error_loc = offsetof(struct nvmf_connect_command, recfmt); in nvmet_execute_admin_connect()
289 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_connect_cmd()
295 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_connect_cmd()
H A Ddiscovery.c179 req->error_loc = in nvmet_execute_disc_get_log_page()
187 req->error_loc = in nvmet_execute_disc_get_log_page()
254 req->error_loc = offsetof(struct nvme_identify, cns); in nvmet_execute_disc_identify()
316 req->error_loc = in nvmet_execute_disc_set_features()
341 req->error_loc = in nvmet_execute_disc_get_features()
357 req->error_loc = in nvmet_parse_discovery_cmd()
383 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_discovery_cmd()
H A Dcore.c53 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
57 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
61 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
72 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
78 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
90 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_report_invalid_opcode()
101 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
110 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
119 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
722 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
[all …]
H A Dio-cmd-bdev.c120 req->error_loc = offsetof(struct nvme_rw_command, length); in blk_to_nvme_status()
124 req->error_loc = offsetof(struct nvme_rw_command, slba); in blk_to_nvme_status()
127 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
139 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status()
144 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/nvme/target/
H A Dfabrics-cmd.c19 req->error_loc = in nvmet_execute_prop_set()
30 req->error_loc = in nvmet_execute_prop_set()
74 req->error_loc = in nvmet_execute_prop_get()
77 req->error_loc = in nvmet_execute_prop_get()
99 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_fabrics_cmd()
117 req->error_loc = offsetof(struct nvmf_connect_command, opcode); in nvmet_install_queue()
122 req->error_loc = offsetof(struct nvmf_connect_command, sqsize); in nvmet_install_queue()
178 req->error_loc = offsetof(struct nvmf_connect_command, recfmt); in nvmet_execute_admin_connect()
289 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_connect_cmd()
295 req->error_loc = offsetof(struct nvmf_common_command, fctype); in nvmet_parse_connect_cmd()
H A Ddiscovery.c179 req->error_loc = in nvmet_execute_disc_get_log_page()
187 req->error_loc = in nvmet_execute_disc_get_log_page()
254 req->error_loc = offsetof(struct nvme_identify, cns); in nvmet_execute_disc_identify()
316 req->error_loc = in nvmet_execute_disc_set_features()
341 req->error_loc = in nvmet_execute_disc_get_features()
357 req->error_loc = in nvmet_parse_discovery_cmd()
383 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_parse_discovery_cmd()
H A Dcore.c53 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
57 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
61 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
72 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
78 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
90 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_report_invalid_opcode()
101 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
110 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
119 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
722 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
[all …]
H A Dio-cmd-bdev.c120 req->error_loc = offsetof(struct nvme_rw_command, length); in blk_to_nvme_status()
124 req->error_loc = offsetof(struct nvme_rw_command, slba); in blk_to_nvme_status()
127 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
139 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status()
144 req->error_loc = offsetof(struct nvme_common_command, opcode); in blk_to_nvme_status()
/dports/lang/gnu-apl/apl-1.8/src/APs/
H A DAPmain.cc67 string error_loc = "?"; variable
381 error_loc = LOC; error = get_value(cv, data); in main()
392 error_loc = LOC; error = E_VALUE_ERROR; in main()
395 VALUE_IS_c response(tcp2, key, error, error_loc, data); in main()
412 error_loc = LOC; error = assign_value(cv, in main()
424 error_loc = LOC; error = E_VALUE_ERROR; in main()
427 SVAR_ASSIGNED_c response(tcp, key, error, error_loc); in main()
H A DAP210.cc642 { error_loc = LOC; return E_LENGTH_ERROR; } in assign_value()
661 { error_loc = LOC; return E_RANK_ERROR; } in assign_value()
664 if (key_D == 0) { error_loc = LOC; return E_VALUE_ERROR; } in assign_value()
685 error_loc = LOC; return E_VALUE_ERROR; in assign_value()
705 if (!Svar_DB::get_svar_name(key_D)) { error_loc = LOC; in assign_value()
714 if (!Svar_DB::get_svar_name(key_D)) { error_loc = LOC; in assign_value()
720 error_loc = "no_error"; return E_NO_ERROR; in assign_value()
729 error_loc = "no_error"; return E_NO_ERROR; in get_value()
H A DAP100.cc160 { error_loc = LOC; return E_LENGTH_ERROR; } in assign_value()
174 error_loc = "no_error"; return E_NO_ERROR; in get_value()
/dports/finance/gnucash/gnucash-4.9/gnucash/register/register-gnome/
H A Dpricecell-gnome.c78 char *error_loc; in gnc_price_cell_direct_update() local
87 &amount, &error_loc); in gnc_price_cell_direct_update()
95 *cursor_position = error_loc - cell->cell.value; in gnc_price_cell_direct_update()
/dports/devel/py-pydantic/pydantic-1.8.2/pydantic/
H A Derror_wrappers.py95 error_loc = loc + error.loc_tuple()
97 error_loc = error.loc_tuple()
100 yield from flatten_errors(error.exc.raw_errors, config, error_loc)
102 yield error_dict(error.exc, config, error_loc)
/dports/finance/gnucash/gnucash-4.9/libgnucash/app-utils/test/
H A Dtest-exp-parser.c85 char *error_loc; in run_parser_test() local
94 succeeded = gnc_exp_parser_parse (node->exp, &result, &error_loc); in run_parser_test()
127 if (error_loc != node->exp + node->expected_error_offset) in run_parser_test()
130 node->expected_error_offset, (error_loc - node->exp)); in run_parser_test()
/dports/shells/fish/fish-3.3.1/src/
H A Dtokenizer.cpp63 const wchar_t *error_loc, maybe_t<size_t> token_length) { in call_error() argument
65 assert(error_loc >= token_start && "Invalid error location"); in call_error()
71 assert(this->token_cursor < error_loc + *token_length && "Unable to continue past error"); in call_error()
72 this->token_cursor = error_loc + *token_length; in call_error()
82 result.error_offset_within_token = error_loc - token_start; in call_error()
232 const wchar_t *error_loc = this->token_cursor; in read_string() local
236 error_loc); in read_string()

1234567