Shnatsel

All uses of resize_with on crates.io

Apr 15th, 2020
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fast-rustc-ap-rustc_index-1.0.0/vec.rs: self.raw.resize_with(min_new_len, fill_value);
  2. fast-rustc-ap-rustc_index-1.0.0/vec.rs: self.raw.resize_with(min_new_len, fill_value);
  3. rustc-ap-rustc_index-653.0.0/vec.rs: self.raw.resize_with(min_new_len, fill_value);
  4. rustc-ap-rustc_index-653.0.0/vec.rs: self.raw.resize_with(min_new_len, fill_value);
  5. msiz_rustc-ap-rustc_data_structures-3.0.0/indexed_vec.rs: self.raw.resize_with(min_new_len, fill_value);
  6. msiz_rustc-ap-rustc_data_structures-3.0.0/indexed_vec.rs: self.raw.resize_with(min_new_len, fill_value);
  7. noodle-0.2.0/src/lib.rs: self.buffer.resize_with(full_len, || 0);
  8. noodle-0.2.0/src/lib.rs: self.buffer.resize_with(old_len + self.alloc_size, || 0);
  9. jtm-0.0.1/src/lib.rs: data.resize_with(32, Default::default);
  10. jtm-0.0.1/src/lib.rs: x_data.resize_with(32, Default::default);
  11. jtm-0.0.1/src/lib.rs: y_data.resize_with(32, Default::default);
  12. jtm-0.0.1/src/lib.rs: data.resize_with(33, Default::default);
  13. sonogram-0.4.3/src/spectrograph.rs: signal.resize_with(new_len, || Complex::new(0.0, 0.0));
  14. bumblebee-0.1.1/src/rules.rs: arr.resize_with(*index + 1, Value::default);
  15. bumblebee-0.1.1/src/rules.rs: arr.resize_with(*index + 1, Value::default);
  16. zkp-0.7.0/src/util.rs: entries.resize_with(rows * cols, Default::default);
  17. sled-0.31.0/src/lru.rs: shards.resize_with(n_shards, || {
  18. sled-0.31.0/src/histogram.rs: vals.resize_with(BUCKETS, Default::default);
  19. cpt-0.4.1/src/model.rs: b.resize_with(b_l, || vec![]);
  20. definitive-0.1.0/src/vector.rs: self.resize_with(Default::default)
  21. definitive-0.1.0/src/vector.rs: self.resize_with(One::one)
  22. definitive-0.1.0/src/vector.rs: self.resize_with(Zero::zero)
  23. esl01-indexedlog-0.1.1/src/index.rs: result.checked.resize_with(checked_needed, Default::default);
  24. pixels-0.0.2/src/lib.rs: pixels.resize_with(capacity, Default::default);
  25. grid_2d-0.14.4/src/lib.rs: cells.resize_with(count, || value);
  26. grid_2d-0.14.4/src/lib.rs: cells.resize_with(count, Default::default);
  27. bls_eth_rust-0.0.2/tests/test.rs: msgs.resize_with(n * MSG_SIZE, Default::default);
  28. mech-core-0.0.4/src/runtime.rs: self.scratch.column_index_to_alias.resize_with(iix + 1, ||{None});
  29. oqueue-0.1.0/src/sequencer.rs: self.pending.resize_with(offset + 1, || Output {
  30. arrsac-0.3.0/src/lib.rs: hypotheses.resize_with(num_retain, || {
  31. pagecache-0.19.4/src/histogram.rs: vals.resize_with(BUCKETS, Default::default);
  32. rio-0.9.2/src/histogram.rs: vals.resize_with(BUCKETS, Default::default);
  33. algebraics-0.2.0/src/array2d.rs: data.resize_with(len, f);
  34. solana_libra_canonical_serialization-0.0.1-sol4/src/canonical_serialization_test.rs: evil_bytes.resize_with(4 + 499, Default::default);
  35. historian-4.0.3/src/lib.rs: vals.resize_with(BUCKETS, Default::default);
  36. tabb-0.1.0/src/formatter.rs: columns_to_lengths.resize_with(column_value_lenghts.len(), Vec::new)
  37. reckoner-0.1.0/src/integer.rs: char_vec.resize_with(required_len, Default::default);
  38. reckoner-0.1.0/src/rational.rs: char_vec.resize_with(required_len, Default::default);
  39. reckoner-0.1.0/src/rational.rs: char_vec.resize_with(required_len, Default::default);
  40. indexed-ring-buffer-0.1.3/benches/bench.rs: progress.resize_with(READER_CNT, || AtomicUsize::new(PREV_ID));
  41. indexed-ring-buffer-0.1.3/src/lib.rs: data.resize_with(sz + 1, MaybeUninit::uninit);
  42. indexed-ring-buffer-0.1.3/src/lib.rs: temp_a.resize_with(a.len(), MaybeUninit::uninit);
  43. indexed-ring-buffer-0.1.3/src/lib.rs: temp_b.resize_with(b.len(), MaybeUninit::uninit);
  44. indexed-ring-buffer-0.1.3/tests/threads.rs: progress.resize_with(READER_CNT, || AtomicUsize::new(PREV_ID));
  45. voile-util-0.2.2/src/meta.rs: .resize_with(meta_count.0, Default::default);
  46. askii-0.6.0/src/editor.rs: self.chars.resize_with(y + 1, Vec::default);
  47. amethyst_tiles-0.3.0/src/map.rs: data.resize_with(size, T::default);
  48. safe-uninit-0.1.0/src/foreign_alloc.rs: self.resize_with(new_len, || T::safe_uninit())
  49. safe-uninit-0.1.0/src/foreign_alloc.rs: self.resize_with(new_len, || T::safe_uninit())
  50. hnsw-0.6.1/examples/recall.rs: v.resize_with(opt.k, || unreachable!());
  51. hnsw-0.6.1/examples/recall_discrete.rs: v.resize_with(opt.k, || unreachable!());
  52. kiro-editor-0.3.5/src/highlight.rs: self.lines.resize_with(rows.len(), Default::default);
  53. r-fairdist-0.1.0/src/counter.rs: v.resize_with(n, num::Zero::zero);
  54. hamming-heap-0.4.1/src/fixed_heap.rs: self.distances.resize_with(distances, || vec![]);
  55. hamming-heap-0.4.1/src/heap.rs: self.distances.resize_with(distances, || vec![]);
  56. jimage-0.2.3/tests/jdk13.rs: v.resize_with(res.size() as usize, || 0);
  57. der-oid-macro-0.1.0/src/lib.rs: enc.resize_with(enc.len() + octects_needed, Default::default);
  58. bufferpool-0.1.7/src/lib.rs: (*buffer).resize_with(new_len * self.buffer_size, V::default);
  59. basalt-0.6.1/src/atlas.rs: alloc.resize_with(alloc_cell_w, || {
  60. spool-0.1.2/src/pool.rs: data.resize_with(capacity, PoolItem::new);
  61. index_vec-0.1.0/src/lib.rs: self.raw.resize_with(new_len, f)
  62. lxtrace-0.1.0/src/tracer.rs: evaluated.resize_with(6, Default::default);
  63. bounded-vec-deque-0.1.1/src/lib.rs://! [`resize_with()`]: struct.BoundedVecDeque.html#method.resize_with
  64. bounded-vec-deque-0.1.1/src/lib.rs: /// deque.resize_with(5, Default::default);
  65. bounded-vec-deque-0.1.1/src/lib.rs: /// deque.resize_with(2, || unreachable!());
  66. bounded-vec-deque-0.1.1/src/lib.rs: /// deque.resize_with(5, || { state += 1; state });
  67. bounded-vec-deque-0.1.1/src/lib.rs: self.vec_deque.resize_with(new_len, producer)
  68. snare-0.3.0/src/jobrunner.rs: running.resize_with(maxjobs, || None);
  69. snare-0.3.0/src/jobrunner.rs: pollfds.resize_with(maxjobs * 2 + 1, || PollFd::new(-1, PollFlags::empty()));
  70. snare-0.3.0/src/jobrunner.rs: self.running.resize_with(new_maxjobs, || None);
  71. snare-0.3.0/src/jobrunner.rs: .resize_with(new_maxjobs * 2 + 1, || PollFd::new(-1, PollFlags::empty()));
  72. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  73. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  74. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  75. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  76. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  77. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  78. dicom-parser-0.1.0/src/parser.rs: self.buffer.resize_with(len, Default::default);
  79. fup-0.7.5/src/aggregate.rs: levels.resize_with(129, Vec::new);
  80. ringbuf-0.2.1/src/ring_buffer.rs: data.resize_with(capacity + 1, MaybeUninit::uninit);
  81. unseemly-0.0.0/src/earley.rs: chart.resize_with(toks.len() + 1, std::default::Default::default);
  82. unseemly-0.0.0/src/ty_compare.rs: envs_with_walked_drivers.resize_with(expected_len, Assoc::new);
  83. unseemly-0.0.0/src/ty_compare.rs: .resize_with(expected_len, || Subtype::underspecified(n("ddd_bit")).0);
  84. amethyst_nphysics-0.1.1/src/rigid_body_physics_server.rs: out_contacts.resize_with(contacts.len(), ContactEvent::default);
  85. screwsat-0.1.0/src/main.rs: self.assignments.resize_with(var_count, || BooleanValue::UNDEFINE);
  86. screwsat-0.1.0/src/main.rs: self.watches.resize_with(2 * var_count, || Vec::new());
  87. kas-wgpu-0.3.0/examples/dynamic.rs: self.list.inner_mut().resize_with(mgr, n, |i| EditBox::new(i.to_string()));
  88. vecarray-0.1.3/src/lib.rs: ret.resize_with(N::to_usize(), Default::default);
  89. kamadak-exif-0.5.1/src/writer.rs: self.ifd_list.resize_with(ifd_num + 1, Default::default);
  90. alloc-wg-0.8.0/src/vec.rs: /// vec.resize_with(5, Default::default);
  91. alloc-wg-0.8.0/src/vec.rs: /// vec.resize_with(4, || {
  92. alloc-wg-0.8.0/src/vec.rs: /// [`resize_with`]: #method.resize_with
  93. overloadable-0.4.1/tests/default.rs: val.resize_with(x, || self.clone());
  94. skew-forest-0.1.0/src/map.rs: self.inner.resize_with(inner_len, &mut f);
  95. skew-forest-0.1.0/src/map.rs: self.leaves.resize_with(leaf_len, f);
  96. win32job-1.0.1/src/limits.rs: big_vec.resize_with(test_vec_size, || 1);
  97. kmeans-0.1.0/src/lib.rs: allocation.resize_with(allocation.capacity(), Default::default);
  98. rust-simple-stack-processor-0.7.0/src/lib.rs: .resize_with(newaddress + num_cells, Default::default);
  99. sparse-merkle-tree-0.1.1/src/tree.rs: leaves_path.resize_with(keys.len(), Default::default);
  100. hecs-0.2.10/src/entities.rs: new_reserved.resize_with(new_len, || AtomicU32::new(0));
  101. ash-tray-0.16.0/src/vk_helper.rs: .resize_with(ret.1.last().unwrap().1 as _, Default::default);
  102. tracing-subscriber-0.2.4/src/thread.rs: data.resize_with(len, || None);
  103. tracing-subscriber-0.2.4/src/thread.rs: this.resize_with(i + 1, || None);
  104. luminance-0.39.0/src/texture.rs: texels.resize_with((w * h) as usize * pf.canals_len(), Default::default);
  105. lfsr-macro-lookup-0.3.0/src/lib.rs: reverse_lfsr_states.resize_with(lfsr_states.len() + 1, || 0);
  106. chunky-0.3.7/src/multi_arena.rs: self.bins.resize_with(index + 1, Default::default)
  107. qip-0.11.0/src/utils.rs: col_mat.resize_with(sparse_len, || Arc::new(Mutex::new(vec![])));
  108. mssql-browser-0.1.0/src/browse.rs: self.buffer.resize_with(65535 + 3, Default::default);
  109. mssql-browser-0.1.0/src/browse_host.rs: buffer.resize_with(buffer.capacity(), Default::default);
  110. filter-0.1.0/src/common.rs: result.resize_with(m as usize, F::zero);
  111. texture-synthesis-0.8.0/src/ms.rs: pixels_resolved_this_stage.resize_with(n_workers, || Mutex::new(Vec::new()));
  112. texture-synthesis-0.8.0/src/ms.rs: rtrees.resize_with((grid_width * grid_height) as usize, || {
  113. ochenslab-0.0.2/src/lib.rs: storage.resize_with(capacity, || None);
  114. ochenslab-0.0.2/src/lib.rs: free.resize_with(capacity, || {
  115. polynomial-ring-0.1.1/src/lib.rs: self.coef.resize_with(len, M::zero);
  116. bluetooth_mesh-0.1.4/src/reassembler.rs: storage.resize_with(header.max_len(), u8::default);
  117. bluetooth_mesh-0.1.4/src/control.rs: out.payload.resize_with(self.len(), u8::default);
  118. romy-window-0.2.7/src/lib.rs: pixels.resize_with(capacity, Default::default);
  119. sc-executor-0.8.0-alpha.5/src/wasm_runtime.rs: instances.resize_with(max_instances, || Mutex::new(None));
  120. sss-rs-0.6.1/tests/benchmarks.rs: unsafe { secret_buf.resize_with(secret_len, ||
  121. longest-increasing-subsequence-0.1.0/src/lib.rs:/// predecessors.resize_with(xs.len(), Default::default);
  122. longest-increasing-subsequence-0.1.0/src/lib.rs:/// starts.resize_with(xs.len(), Default::default);
  123. longest-increasing-subsequence-0.1.0/src/lib.rs:/// predecessors.resize_with(ys.len(), Default::default);
  124. longest-increasing-subsequence-0.1.0/src/lib.rs:/// starts.resize_with(ys.len(), Default::default);
  125. shticker_book_unwritten-1.0.0/src/patch.rs: old.resize_with(oldsize as usize, Default::default);
  126. shticker_book_unwritten-1.0.0/src/patch.rs: new.resize_with(newsize as usize, Default::default);
  127. ingrid-0.1.0/src/grid.rs: rows.resize_with(size.height, || {
  128. ingrid-0.1.0/src/grid.rs: rows.resize_with(capacity.height, || Vec::<T>::with_capacity(capacity.width));
  129. ingrid-0.1.0/src/grid.rs: self.rows.resize_with(size.height, || {
  130. ingrid-0.1.0/src/grid.rs: self.rows.resize_with(foobar, || Vec::<T>::with_capacity(row_capacity));
  131. antlr-rust-0.1.1/src/parser_atn_simulator.rs: alt_to_pred.resize_with(nalts + 1, || None);
  132. tinyvec-0.3.3/src/tinyvec.rs: /// tv.resize_with(5, Default::default);
  133. tinyvec-0.3.3/src/tinyvec.rs: /// tv.resize_with(4, || {
  134. tinyvec-0.3.3/src/tinyvec.rs: TinyVec::Inline(a) => a.resize_with(new_len, f),
  135. tinyvec-0.3.3/src/tinyvec.rs: TinyVec::Heap(v) => v.resize_with(new_len, f),
  136. tinyvec-0.3.3/src/arrayvec.rs: /// av.resize_with(5, Default::default);
  137. tinyvec-0.3.3/src/arrayvec.rs: /// av.resize_with(4, || { p *= 2; p });
  138. nuclear-router-0.1.0/src/router/core.rs: segments.resize_with(num, || Segment {
  139. ed25519-dalek-cosi-0.1.0/src/data_structures/varuint.rs: data_vec.resize_with(16, Default::default);
  140. shine-graph-0.2.0/src/svec/densestore.rs: self.values.resize_with(idx + 1, || None);
  141. lol_html-0.2.0/src/selectors_vm/compiler.rs: .resize_with(ast.cumulative_node_count, || InstrStub::new_boxed());
  142. pagecache-0.19.4/src/ds/lru.rs: shards.resize_with(n_shards, || Mutex::new(Shard::new(shard_capacity)));
  143. blip-0.1.0-alpha.6/src/collections/tumbler.rs: rings.resize_with(size, Default::default);
  144. drone-0.11.1/src/heap/generate.rs: output.resize_with(output.capacity(), Default::default);
  145. bumpalo-3.2.1/src/collections/vec.rs: /// [`resize_with`]: #method.resize_with
  146. ckb-vm-0.19.1/src/machine/trace.rs: self.traces.resize_with(TRACE_SIZE, Trace::default);
  147. sc-finality-grandpa-0.8.0-alpha.5/src/communication/gossip.rs: authorities.resize_with(30, || PeerId::random());
  148. sc-finality-grandpa-0.8.0-alpha.5/src/communication/gossip.rs: full_nodes.resize_with(30, || PeerId::random());
  149. prototty_ansi_terminal-0.29.0/src/terminal/byte_prefix_tree.rs: self.children.resize_with(ENTRIES_PER_NODE, || None);
  150. rustfst-0.5.0/src/algorithms/partition.rs: self.elements.resize_with(num_elements, Element::new);
  151. rustfst-0.5.0/src/algorithms/partition.rs: self.classes.resize_with(num_class + 1, Class::new);
  152. rustfst-0.5.0/src/algorithms/partition.rs: .resize_with(num_class + num_additional_classes, Class::new);
  153. rustfst-0.5.0/src/algorithms/partition.rs: self.classes.resize_with(self.classes.len() + 1, Class::new);
  154. salva2d-0.2.0/src/geometry/contacts.rs: fluid_fluid_contacts.resize_with(fluids.len(), || ParticlesContacts::new());
  155. salva2d-0.2.0/src/geometry/contacts.rs: fluid_boundary_contacts.resize_with(fluids.len(), || ParticlesContacts::new());
  156. salva2d-0.2.0/src/geometry/contacts.rs: boundary_boundary_contacts.resize_with(boundaries.len(), || ParticlesContacts::new());
  157. salva2d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()))
  158. salva2d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()))
  159. salva2d-0.2.0/src/geometry/contacts.rs: .resize_with(boundary.num_particles(), || RwLock::new(Vec::new()))
  160. salva2d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()));
  161. sudachiclone-0.2.1/src/darts/double_array_builder.rs: self.units.resize_with(dest_num_units, Default::default);
  162. bitvec-0.17.4/src/vec/api.rs: /// bv.resize_with(5, Default::default);
  163. bitvec-0.17.4/src/vec/api.rs: /// bv.resize_with(4, || { p += 1; p % 2 == 0});
  164. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  165. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  166. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  167. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  168. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  169. yottadb-0.3.0/src/simple_api/mod.rs: self.buffers.resize_with(ret_subs_used, || Vec::with_capacity(10));
  170. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  171. yottadb-0.3.0/src/simple_api/mod.rs: out_buffer.resize_with(out_buffer_t.len_used as usize, Default::default);
  172. bae_rs-0.12.1/src/channels/standard_channel.rs: self.output.resize_with(self.output.len(), Default::default);
  173. xoodyak-0.3.7/src/xoodyak/keyed.rs: in_out.resize_with(ct_len + AUTH_TAG_BYTES, || 0);
  174. dxplr-0.0.17/src/dwrite/dwrite.rs: metrics.resize_with(indices.len(), || Default::default());
  175. chargrid_ansi_terminal-0.1.0/src/terminal/byte_prefix_tree.rs: self.children.resize_with(ENTRIES_PER_NODE, || None);
  176. rustty-0.1.12/src/core/terminal.rs: try!(terminal.resize_with_cell(cell));
  177. rustty-0.1.12/src/core/terminal.rs: try!(self.resize_with_cell(cell));
  178. rustty-0.1.12/src/core/terminal.rs: self.resize_with_cell(Cell::default())
  179. specs-0.16.1/src/storage/storages.rs: self.0.resize_with(id, Default::default);
  180. salva3d-0.2.0/src/geometry/contacts.rs: fluid_fluid_contacts.resize_with(fluids.len(), || ParticlesContacts::new());
  181. salva3d-0.2.0/src/geometry/contacts.rs: fluid_boundary_contacts.resize_with(fluids.len(), || ParticlesContacts::new());
  182. salva3d-0.2.0/src/geometry/contacts.rs: boundary_boundary_contacts.resize_with(boundaries.len(), || ParticlesContacts::new());
  183. salva3d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()))
  184. salva3d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()))
  185. salva3d-0.2.0/src/geometry/contacts.rs: .resize_with(boundary.num_particles(), || RwLock::new(Vec::new()))
  186. salva3d-0.2.0/src/geometry/contacts.rs: .resize_with(fluid.num_particles(), || RwLock::new(Vec::new()));
  187. sss-rs-0.6.1/src/geometry/galois_polynomial.rs: self.coeffs.resize_with(index + 1, || Coeff(0));
  188. solang-0.1.1/tests/substrate_expressions/mod.rs: data.resize_with(length + 1, || rng.gen());
  189. caldera-0.2.0/src/player/resample.rs: interps.resize_with(channels as usize, || Interp::new(src_rate, out_rate));
  190. caldera-0.2.0/src/player/resample.rs: inputs.resize_with(self.interps.len(), || Vec::with_capacity(input.len() / self.interps.len()));
  191. parquet-0.16.0/src/arrow/array_reader.rs: data_buffer.resize_with(batch_size, T::T::default);
  192. parquet-0.16.0/src/arrow/array_reader.rs: buf.resize_with(batch_size, || 0);
  193. parquet-0.16.0/src/arrow/array_reader.rs: buf.resize_with(batch_size, || 0);
  194. rust-bert-0.6.2/src/gpt2/gpt2.rs: out.resize_with(self.h.len(), || None::<Tensor>);
  195. netstat2-0.8.1/src/integrations/osx/netstat.rs: pids.resize_with(number_of_pids as usize, Default::default);
  196. netstat2-0.8.1/src/integrations/osx/netstat.rs: fds.resize_with(number_of_fds as usize, || proc_fdinfo {
  197. glutin-0.24.0/src/api/egl/mod.rs: config_ids.resize_with(num_configs as usize, || std::mem::zeroed());
  198. graphannis-0.26.0/src/annis/db/plan.rs: result.resize_with(tmp.len(), Default::default);
  199. rustfst-0.5.0/src/fst_impls/const_fst/serializable_fst.rs: const_states.resize_with(_state, || ConstState {
  200. rustfst-0.5.0/src/fst_impls/const_fst/serializable_fst.rs: const_states.resize_with(num_states, || ConstState {
  201. rustfst-0.5.0/src/fst_impls/vector_fst/mutable_fst.rs: self.states.resize_with(len + n, VectorFstState::new);
  202. rustfst-0.5.0/src/algorithms/cache/vector_cache_state.rs: self.cache_states.resize_with(new_len, CacheState::new);
  203. nar-0.0.8/src/check/monad/meta.rs: .resize_with(meta_count.0, Default::default);
  204. proteus-0.1.1/src/actions/setter/setter.rs: arr.resize_with(index + 1, Value::default);
  205. retriever-0.0.3/src/internal/mr/rvec.rs: self.data.resize_with(new_size, Default::default);
  206. dynasm-0.6.0/src/arch/aarch64/matching.rs: new_args.resize_with(arg_count, || FlatArg::Default);
  207. io_bluetooth-0.1.0/src/sys/windows/bt.rs: c::WSAEFAULT => buffer.resize_with(len as usize, Default::default),
RAW Paste Data