Home
last modified time | relevance | path

Searched refs:repeat (Results 1 – 20 of 20) sorted by relevance

/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dfunc_type.rs19 iter::repeat(ValType::ANYREF).take(i), in func_type_try_new()
20 iter::repeat(ValType::ANYREF).take(i), in func_type_try_new()
27 iter::repeat(ValType::ANYREF).take(i), in func_type_try_new()
28 iter::repeat(ValType::ANYREF).take(i), in func_type_try_new()
H A Dvec.rs144 iter::repeat(1).take(0).try_collect::<TryVec<_>, _>()?; in try_vec_try_collect()
145 iter::repeat(1).take(1).try_collect::<TryVec<_>, _>()?; in try_vec_try_collect()
146 iter::repeat(1).take(100).try_collect::<TryVec<_>, _>()?; in try_vec_try_collect()
147 iter::repeat(()).take(100).try_collect::<TryVec<_>, _>()?; in try_vec_try_collect()
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp2_http_outbound_request_large_post.rs13 io::repeat(0b001).read_exact(&mut buffer).unwrap(); in main()
19 Some(&buffer.repeat(REPEAT)), in main()
H A Dp3_http_outbound_request_large_post.rs21 io::repeat(0b001).read_exact(&mut buffer).unwrap(); in run()
27 Some(&buffer.repeat(REPEAT)), in run()
/wasmtime-44.0.1/crates/cache/src/worker/
H A Dtests.rs3 use std::iter::repeat;
315 let content_1k = "a".repeat(1_000); in test_on_update_cleanup_limits_trash_locks()
316 let content_10k = "a".repeat(10_000); in test_on_update_cleanup_limits_trash_locks()
396 for content in repeat(&content_10k) in test_on_update_cleanup_limits_trash_locks()
398 .chain(repeat(&content_1k).take(*files_1k)) in test_on_update_cleanup_limits_trash_locks()
450 let content_1k = "a".repeat(1_000); in test_on_update_cleanup_lru_policy()
451 let content_5k = "a".repeat(5_000); in test_on_update_cleanup_lru_policy()
452 let content_10k = "a".repeat(10_000); in test_on_update_cleanup_lru_policy()
581 let content_1k = "a".repeat(1_000); in test_on_update_cleanup_future_files()
/wasmtime-44.0.1/crates/explorer/src/
H A Dindex.js186 const repeat = (s, n) => { function
187 return s.repeat(n >= 0 ? n : 0);
192 return repeat("0", 8 - hex.length) + hex;
204 return s + repeat(" ", 30 - s.length);
/wasmtime-44.0.1/crates/wasi-io/src/
H A Dstreams.rs244 let bs = Bytes::from_iter(core::iter::repeat(0).take(nelem)); in write_zeroes()
H A Dimpls.rs169 let bs = Bytes::from_iter(core::iter::repeat(0).take(len as usize)); in blocking_write_zeroes_and_flush()
/wasmtime-44.0.1/tests/all/
H A Dcomponent_model.rs196 &iter::repeat(Type::I32) in make_echo_component()
H A Dcli_tests.rs2430 let expected = iter::repeat('a').take(total_write_size).collect::<String>(); in run_much_stdout()
2433 let string = iter::repeat('a').take(1 << i).collect::<String>(); in run_much_stdout()
/wasmtime-44.0.1/cranelift/bitset/src/
H A Dcompound.rs300 new_elems.try_extend(iter::repeat(ScalarBitSet::new()).take(to_grow))?; in try_ensure_capacity()
/wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/
H A Dsettings.rs98 let mut layout: Vec<(u8, u8)> = iter::repeat((0, 0)) in layout()
/wasmtime-44.0.1/crates/environ/src/
H A Dmodule_artifacts.rs204 .try_extend(iter::repeat(null_func_loc).take(gap)) in push_func()
211 .try_extend(iter::repeat(FilePos::none()).take(gap)) in push_func()
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/
H A Dimms.rs1149 fn repeat(value: u64, width: u64) -> u64 { in repeat() function
1195 return repeat(bits.rotate_right(r & mask), width.into()); in get_logical_imm()
/wasmtime-44.0.1/src/commands/
H A Dobjdump.rs272 let mut bytes = bytes.iter().map(Some).chain(iter::repeat(None)); in execute()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dfunction_runner.rs158 .chain(std::iter::repeat(ControlPlane::default())); in add_functions()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dpipe.rs405 let mut reader = AsyncReadStream::new(tokio::io::repeat(0)); in infinite_read_stream()
/wasmtime-44.0.1/pulley/
H A DCONTRIBUTING.md192 repeat these steps. Be sure to skim the rest of `lower.isle` for inspiration on
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dinterpreter.rs260 .extend(iter::repeat(0).take(function.fixed_stack_size() as usize)); in push_frame()
/wasmtime-44.0.1/crates/test-util/src/
H A Dcomponent_fuzz.rs718 iter::repeat(CoreType::I32).take(u32_count_from_flag_count(*count as usize)), in lower()