Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 180) sorted by relevance

12345678

/wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
20 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
80 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/wasmtime-44.0.1/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
43 source = "registry+https://github.com/rust-lang/crates.io-index"
52 source = "registry+https://github.com/rust-lang/crates.io-index"
58 source = "registry+https://github.com/rust-lang/crates.io-index"
64 source = "registry+https://github.com/rust-lang/crates.io-index"
73 source = "registry+https://github.com/rust-lang/crates.io-index"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-winml/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
20 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
68 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-pytorch/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
20 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
68 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dserialize.rs76 source: BindingId,
338 source: Reverse<BindingId>, field
347 source: Reverse(source), in new()
440 .all(|&source| self.scope.ready[source.index()] >= BindingState::Available) in add_bindings()
512 self.use_expr(source); in use_expr()
540 self.use_expr(source); in make_control_flow()
692 let source = match kind { in best_control_flow() localVariable
693 HasControlFlow::Match(source) => source, in best_control_flow()
694 HasControlFlow::Loop(source) => source, in best_control_flow()
714 let source = candidate.source.0; in best_control_flow() localVariable
[all …]
H A Dtrie_again.rs95 source: BindingId,
111 source: BindingId,
131 source: BindingId,
138 source: BindingId,
270 Binding::Iterator { source } => std::slice::from_ref(source), in sources()
272 Binding::MatchVariant { source, .. } => std::slice::from_ref(source), in sources()
274 Binding::MatchSome { source } => std::slice::from_ref(source), in sources()
275 Binding::MatchTuple { source, .. } => std::slice::from_ref(source), in sources()
597 source in add_extract()
674 source in add_construct()
[all …]
H A Dcodegen.rs726 Binding::Iterator { source } => source, in emit_block_contents()
744 source.index() in emit_block_contents()
798 let source = *source; in emit_block_contents() localVariable
945 self.emit_expr(ctx, source)?; in emit_expr()
949 self.emit_expr(ctx, source)?; in emit_expr()
956 self.emit_expr(ctx, source)?; in emit_expr()
959 &Binding::Iterator { source } => { in emit_expr()
960 self.emit_expr(ctx, source)?; in emit_expr()
969 source: BindingId, in emit_source()
977 self.emit_expr(ctx, source) in emit_source()
[all …]
H A Derror.rs64 let mut source = e.source(); in fmt() localVariable
65 while let Some(e) = source { in fmt()
67 source = std::error::Error::source(e); in fmt()
178 for (name, source) in self in emit()
184 files.add(name, source); in emit()
231 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { in source() method
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-named/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
37 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
63 source = "registry+https://github.com/rust-lang/crates.io-index"
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dresult.rs51 fn source(&self) -> Option<&(dyn core::error::Error + 'static)> { in source() method
53 CodegenError::Verifier(source) => Some(source), in source()
79 fn from(source: VerifierErrors) -> Self { in from()
80 CodegenError::Verifier { 0: source } in from()
/wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/
H A Dstreams.rs76 source: Source<Self::Item>, in poll_consume()
99 let mut source = source.as_direct(store); in poll_consume() localVariable
100 let item = source.remaining()[0]; in poll_consume()
101 source.mark_read(1); in poll_consume()
300 source: Vec<T>, field
305 fn new(source: Vec<T>, delay: bool) -> Self { in new()
307 source, in new()
332 destination.set_buffer(mem::take(&mut self.get_mut().source).into()); in poll_produce()
362 mut source: Source<Self::Item>, in poll_consume()
370 source.read(store, value)?; in poll_consume()
H A Dtransmit.rs64 source: Source<Self::Item>, in poll_consume()
73 let mut source = source.as_direct(store); in poll_consume() localVariable
75 source.mark_read(me.expected.len()); in poll_consume()
110 mut source: Source<'_, Self::Item>, in poll_consume()
114 source.read(store, value)?; in poll_consume()
160 source: Source<Self::Item>, in poll_consume()
171 inner.poll_consume(cx, store, source, finish) in poll_consume()
213 source: Source<'_, Self::Item>, in poll_consume()
224 inner.poll_consume(cx, store, source, finish) in poll_consume()
261 source: Source<'_, Self::Item>, in poll_consume()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs133 source: Option<&VMGcRef>, in init_gc_ref()
138 self.write_gc_ref(destination, source); in init_gc_ref()
180 pub fn write_gc_ref(&mut self, destination: &mut Option<VMGcRef>, source: Option<&VMGcRef>) { in write_gc_ref()
184 if Self::needs_write_barrier(destination, source) { in write_gc_ref()
186 .write_gc_ref(&mut self.host_data_table, destination, source); in write_gc_ref()
188 *destination = source.map(|s| s.copy_i31()); in write_gc_ref()
H A Dcow.rs39 source: MemoryImageSource, field
120 source, in new()
134 if let Some(source) = MemoryImageSource::from_data(data)? { in new()
136 source, in new()
151 &self.source, in map_at()
161 self.source.remap_as_zeros_at( in remap_as_zeros_at()
177 source: &Arc<impl ModuleMemoryImageSource>, in new()
727 let mut source = TestDataSource { in create_memfd_with_data() localVariable
730 source.data[..data.len()].copy_from_slice(data); in create_memfd_with_data()
733 source: MemoryImageSource::from_data(data)?.unwrap(), in create_memfd_with_data()
[all …]
/wasmtime-44.0.1/crates/misc/component-async-tests/src/
H A Dutil.rs81 mut source: Source<Self::Item>, in poll_consume()
105 source.read(store, item)?; in poll_consume()
155 mut source: Source<'_, T>, in poll_consume()
159 source.read(store, value)?; in poll_consume()
/wasmtime-44.0.1/crates/core/src/error/
H A Dvtable.rs28 pub(crate) source: unsafe fn(SharedPtr<'_, DynError>) -> Option<&Error>, field
61 source: source::<E>, in of()
94 unsafe fn source<E>(error: SharedPtr<'_, DynError>) -> Option<&Error> in source() function
H A Derror.rs445 if let Some(source) = inner.source() { in fmt()
447 let multiple_causes = source.source().is_some(); in fmt()
448 for (i, e) in source.chain().enumerate() { in fmt()
477 if let Some(e) = inner.source() { in fmt()
862 cur = ret.inner.source(); in error_ext_chain()
1707 fn source(&self) -> Option<&Error> { in source() method
1714 unsafe { (vtable.source)(e) } in source()
1846 if let Some(source) = self.source() { in debug()
1847 f.field("source", &source); in debug()
1952 ChainState::Core(core.source()) in next()
[all …]
/wasmtime-44.0.1/cranelift/reader/src/
H A Dlexer.rs126 source: &'a str, field
144 source: s, in new()
168 self.pos = self.source.len(); in next_ch()
184 self.source[self.pos..].starts_with(prefix) in looking_at()
232 None | Some('\n') => return &self.source[begin..self.pos], in rest_of_line()
304 let text = &self.source[begin..self.pos]; in scan_number()
325 let text = &self.source[begin..self.pos]; in scan_word()
411 token(Token::Name(&self.source[begin..end]), loc) in scan_name()
432 token(Token::String(&self.source[begin..end]), loc) in scan_string()
448 token(Token::HexSequence(&self.source[begin..end]), loc) in scan_hex_sequence()
[all …]
/wasmtime-44.0.1/crates/wiggle/generate/src/types/
H A Derror.rs27 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { in define_error()
28 self.inner.source() in define_error()
/wasmtime-44.0.1/cranelift/module/src/
H A Dmodule.rs314 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { in source() method
321 Self::Compilation(source) => Some(source), in source()
322 Self::Allocation { err: source } => Some(source), in source()
323 Self::Backend(source) => Some(&**source), in source()
324 Self::Flag(source) => Some(source), in source()
366 fn from(source: CodegenError) -> Self { in from()
367 Self::Compilation { 0: source } in from()
372 fn from(source: SetError) -> Self { in from()
373 Self::Flag { 0: source } in from()
/wasmtime-44.0.1/tests/all/component_model/bindgen/
H A Dresults.rs104 format!("{}", e.source().expect("trap message is stored in source")), in run()
220 format!("{}", e.source().expect("trap message is stored in source")), in run()
400 format!("{}", e.source().expect("trap message is stored in source")), in run()
571 format!("{}", e.source().expect("trap message is stored in source")), in run()
767 format!("{}", e.source().expect("trap message is stored in source")), in run()
965 format!("{}", e.source().expect("trap message is stored in source")), in run()
1084 format!("{}", e.source().expect("trap message is stored in source")), in run()
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/
H A Dsolver.rs161 source: SExpr, in extend_concrete()
189 source, in extend_concrete()
239 source, in extend_concrete()
253 source: SExpr, in extend_symbolic()
258 return source; in extend_symbolic()
326 source: SExpr, in rotate_symbolic()
332 return source; in rotate_symbolic()
340 source, in rotate_symbolic()
378 source, in rotate_symbolic()
391 source: SExpr, in rotate_symbolic_dyn_source_width()
[all …]
/wasmtime-44.0.1/crates/core/tests/
H A Dtests.rs57 source: Option<Box<dyn core::error::Error + Send + Sync + 'static>>, field
67 fn source(&self) -> Option<&(dyn core::error::Error + 'static)> { in source() method
68 let source = self.source.as_ref()?; in source() localVariable
69 Some(&**source) in source()
76 source: Option<Box<dyn core::error::Error + Send + Sync + 'static>>, in new()
79 Self { message, source } in new()
162 let error = error.source().unwrap(); in into_boxed_dyn_error()
165 let error = error.source().unwrap(); in into_boxed_dyn_error()
168 assert!(error.source().is_none()); in into_boxed_dyn_error()
851 assert!(root.source().is_none()); in root_cause()
[all …]
/wasmtime-44.0.1/cranelift/isle/
H A DREADME.md46 Compile a `.isle` source file into Rust code:
66 > The full ISLE source code for this tutorial is available at
173 * There is a helpful comment documenting where in the ISLE source code a rule
329 If we recompile our ISLE source into Rust code once again, we see a new
331 arguments and returns are flipped around from the `decl` in the ISLE source
483 Relevant source files:
492 Relevant source files:
503 Relevant source files:
513 Relevant source files:
520 Code generation takes in the term trie and emits Rust source code that
[all …]
/wasmtime-44.0.1/tests/all/
H A Dmain.rs68 source: &str, in ref_types_module()
89 let module = Module::new(&engine, source)?; in ref_types_module()

12345678