Home
last modified time | relevance | path

Searched refs:code_sample (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier_log.c20 static const struct bpf_insn code_sample[] = { variable
54 attr.insn_cnt = (__u32)(sizeof(code_sample) / sizeof(struct bpf_insn)); in load()
55 attr.insns = ptr_to_u64(code_sample); in load()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_format.py414 self.text.insert('1.0', self.code_sample)
419 code_sample = """\ variable in FormatRegionTest
460 line6 = self.code_sample.splitlines()[5]
461 line10 = self.code_sample.splitlines()[9]
Dtest_codecontext.py21 code_sample = """\ variable
62 text.insert('1.0', code_sample)
438 lines = code_sample.splitlines()
/external/python/cpython3/Lib/test/
Dtest_builtin.py384 for mode, code_sample in product(modes, code_samples):
385 source = dedent(code_sample)
426 for mode, code_sample in product(modes, code_samples):
427 source = dedent(code_sample)
475 for mode, code_sample in product(modes, code_samples):
476 source = dedent(code_sample)