Home
last modified time | relevance | path

Searched refs:type_params (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/lang/generator/
H A Dgenerate_fun_inst_templ_params.hpp33 std::vector<std::string> type_params; in generate_function_instantiation_template_parameters() local
34 type_params.reserve(fun.arg_decls_.size()); in generate_function_instantiation_template_parameters()
38 type_params.push_back(propto_value); in generate_function_instantiation_template_parameters()
44 type_params.push_back("double"); in generate_function_instantiation_template_parameters()
48 type_params.push_back(rng_class); in generate_function_instantiation_template_parameters()
50 type_params.push_back("double"); in generate_function_instantiation_template_parameters()
52 type_params.push_back("stan::math::accumulator<double> "); in generate_function_instantiation_template_parameters()
55 if (!type_params.empty()) { in generate_function_instantiation_template_parameters()
57 for (size_t param_i = 0; param_i < type_params.size(); ++param_i) { in generate_function_instantiation_template_parameters()
60 out << type_params[param_i]; in generate_function_instantiation_template_parameters()
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/core/property/
H A Deither.py66 …def __init__(self, tp1, tp2, *type_params, default=Intrinsic, help=None, serialized=None, readonly… argument
67 type_params = list(map(self._validate_type_param, (tp1, tp2) + type_params))
68 default = default if default is not Intrinsic else type_params[0]._raw_default()
70 self._type_params = type_params
76 return self.__class__(*(self.type_params + [other]), default=self._default, help=self.help)
80 item_types = ", ".join(str(x) for x in self.type_params)
84 def type_params(self): member in Either
88 for tp in self.type_params:
96 for param in self.type_params:
107 if any(param.is_valid(value) for param in self.type_params):
[all …]
H A Dcontainer.py65 def type_params(self): member in Seq
169 def type_params(self): member in Dict
275 def __init__(self, tp1, tp2, *type_params, **kwargs): argument
276 self._type_params = list(map(self._validate_type_param, (tp1, tp2) + type_params))
280 item_types = ", ".join(str(x) for x in self.type_params)
284 def type_params(self): member in Tuple
296 if isinstance(value, (tuple, list)) and len(self.type_params) == len(value):
297 if all(type_param.is_valid(item) for type_param, item in zip(self.type_params, value)):
307 return tuple(typ.transform(x) for (typ, x) in zip(self.type_params, value))
313 return tuple(typ.serialize_value(x) for (typ, x) in zip(self.type_params, value))
[all …]
/dports/www/drupal9/drupal-9.2.10/core/modules/node/src/
H A DNodePermissions.php43 $type_params = ['%type_name' => $type->label()];
47 'title' => $this->t('%type_name: Create new content', $type_params),
50 'title' => $this->t('%type_name: Edit own content', $type_params),
53 'title' => $this->t('%type_name: Edit any content', $type_params),
56 'title' => $this->t('%type_name: Delete own content', $type_params),
59 'title' => $this->t('%type_name: Delete any content', $type_params),
62 'title' => $this->t('%type_name: View revisions', $type_params),
66 'title' => $this->t('%type_name: Revert revisions', $type_params),
70 'title' => $this->t('%type_name: Delete revisions', $type_params),
/dports/www/drupal8/drupal-8.9.20/core/modules/node/src/
H A DNodePermissions.php43 $type_params = ['%type_name' => $type->label()];
47 'title' => $this->t('%type_name: Create new content', $type_params),
50 'title' => $this->t('%type_name: Edit own content', $type_params),
53 'title' => $this->t('%type_name: Edit any content', $type_params),
56 'title' => $this->t('%type_name: Delete own content', $type_params),
59 'title' => $this->t('%type_name: Delete any content', $type_params),
62 'title' => $this->t('%type_name: View revisions', $type_params),
66 'title' => $this->t('%type_name: Revert revisions', $type_params),
70 'title' => $this->t('%type_name: Delete revisions', $type_params),
/dports/www/drupal8/drupal-8.9.20/core/modules/media/src/
H A DMediaPermissions.php71 $type_params = ['%type_name' => $type->label()];
75 'title' => $this->t('%type_name: Create new media', $type_params),
78 'title' => $this->t('%type_name: Edit own media', $type_params),
81 'title' => $this->t('%type_name: Edit any media', $type_params),
84 'title' => $this->t('%type_name: Delete own media', $type_params),
87 'title' => $this->t('%type_name: Delete any media', $type_params),
/dports/www/drupal9/drupal-9.2.10/core/modules/media/src/
H A DMediaPermissions.php71 $type_params = ['%type_name' => $type->label()];
75 'title' => $this->t('%type_name: Create new media', $type_params),
78 'title' => $this->t('%type_name: Edit own media', $type_params),
81 'title' => $this->t('%type_name: Edit any media', $type_params),
84 'title' => $this->t('%type_name: Delete own media', $type_params),
87 'title' => $this->t('%type_name: Delete any media', $type_params),
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/relay/ir/
H A Dfunction.cc30 tvm::Array<TypeVar> type_params, DictAttrs attrs, Span span) { in Function() argument
33 CHECK(type_params.defined()); in Function()
37 n->type_params = std::move(type_params); in Function()
52 return FuncType(param_types, ret_type, this->type_params, {}); in func_type_annotation()
67 << ", " << node->type_params << ", " << node->attrs << ")"; in __anon8f3f69270202()
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/library/net/http/httpheader/
H A Dtype_params_spec.rb12 @headers.type_params.should == {"charset" => "utf-8"}
15 @headers.type_params.should == {"charset" => "utf-8", "rubyspec" => "rocks"}
19 @headers.type_params.should == {}
22 @headers.type_params.should == {}
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/games/dose-response/dose-response-179c326/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/sysutils/tealdeer/tealdeer-1.4.1/cargo-crates/combine-3.8.1/src/
H A Dlib.rs349 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
379 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
418 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
452 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),* )
485 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
526 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
567 fn $name: ident [$($type_params: tt)*]( $($arg: ident : $arg_type: ty),*)
575 $($pub_)* struct $type_name<$($type_params)*>
590 impl<$($type_params)*> $crate::Parser for $type_name<$($type_params)*>
649 $($pub_)* fn $name< $($type_params)* >(
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_ir_nodes.py79 type_params = tvm.convert([])
83 tf = relay.FuncType(arg_types, ret_type, type_params, type_constraints)
84 assert tf.type_params == type_params
169 type_params = tvm.convert([])
170 fn = relay.Function(params, body, ret_type, type_params)
173 assert fn.type_params == type_params
184 type_params = tvm.convert([])
185 fn = relay.Function(params, body, ret_type, type_params)
194 assert fn.type_params == type_params
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_ir_nodes.py79 type_params = tvm.convert([])
83 tf = relay.FuncType(arg_types, ret_type, type_params, type_constraints)
84 assert tf.type_params == type_params
169 type_params = tvm.convert([])
170 fn = relay.Function(params, body, ret_type, type_params)
173 assert fn.type_params == type_params
184 type_params = tvm.convert([])
185 fn = relay.Function(params, body, ret_type, type_params)
194 assert fn.type_params == type_params
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/relay/
H A Dfunction.py49 def __init__(self, params, body, ret_type=None, type_params=None, attrs=None): argument
50 if type_params is None:
51 type_params = convert([])
54 _ffi_api.Function, params, body, ret_type, type_params, attrs
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/include/tvm/relay/
H A Dfunction.h59 tvm::Array<TypeVar> type_params; variable
65 v->Visit("type_params", &type_params); in VisitAttrs()
75 equal.DefEqual(type_params, other->type_params) && equal(ret_type, other->ret_type) && in SEqualReduce()
82 hash_reduce.DefHash(type_params); in SHashReduce()
/dports/devel/horde-whups/whups-3.0.12/lib/Form/Ticket/
H A DCreateStepTwo.php33 $type_params = array(
37 $type_params = array($types);
39 $type_params[] = _("Choose:");
43 _("Ticket Type"), 'type', $typetype, true, false, null, $type_params);
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/derive_more-0.99.16/src/
H A Derror.rs26 let type_params: HashSet<_> = generics in expand() localVariable
36 DeriveType::Named | DeriveType::Unnamed => render_struct(&type_params, &state)?, in expand()
37 DeriveType::Enum => render_enum(&type_params, &state)?, in expand()
58 if !type_params.is_empty() { in expand()
93 type_params: &HashSet<syn::Ident>, in render_struct()
96 let parsed_fields = parse_fields(type_params, state)?; in render_struct()
105 type_params: &HashSet<syn::Ident>, in render_enum()
128 let parsed_fields = parse_fields(type_params, &state)?; in render_enum()
227 type_params: &HashSet<syn::Ident>, in parse_fields()
274 type_params, in parse_fields()
[all …]
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/derive_more/src/
H A Derror.rs26 let type_params: HashSet<_> = generics in expand() localVariable
36 DeriveType::Named | DeriveType::Unnamed => render_struct(&type_params, &state)?, in expand()
37 DeriveType::Enum => render_enum(&type_params, &state)?, in expand()
58 if !type_params.is_empty() { in expand()
93 type_params: &HashSet<syn::Ident>, in render_struct()
96 let parsed_fields = parse_fields(type_params, state)?; in render_struct()
105 type_params: &HashSet<syn::Ident>, in render_enum()
128 let parsed_fields = parse_fields(type_params, &state)?; in render_enum()
227 type_params: &HashSet<syn::Ident>, in parse_fields()
274 type_params, in parse_fields()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/derive_more-0.99.17/src/
H A Derror.rs26 let type_params: HashSet<_> = generics in expand() localVariable
36 DeriveType::Named | DeriveType::Unnamed => render_struct(&type_params, &state)?, in expand()
37 DeriveType::Enum => render_enum(&type_params, &state)?, in expand()
58 if !type_params.is_empty() { in expand()
93 type_params: &HashSet<syn::Ident>, in render_struct()
96 let parsed_fields = parse_fields(type_params, state)?; in render_struct()
105 type_params: &HashSet<syn::Ident>, in render_enum()
128 let parsed_fields = parse_fields(type_params, &state)?; in render_enum()
227 type_params: &HashSet<syn::Ident>, in parse_fields()
274 type_params, in parse_fields()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/derive_more/src/
H A Derror.rs26 let type_params: HashSet<_> = generics in expand() localVariable
36 DeriveType::Named | DeriveType::Unnamed => render_struct(&type_params, &state)?, in expand()
37 DeriveType::Enum => render_enum(&type_params, &state)?, in expand()
58 if !type_params.is_empty() { in expand()
93 type_params: &HashSet<syn::Ident>, in render_struct()
96 let parsed_fields = parse_fields(&type_params, &state)?; in render_struct()
105 type_params: &HashSet<syn::Ident>, in render_enum()
126 let parsed_fields = parse_fields(&type_params, &state)?; in render_enum()
225 type_params: &HashSet<syn::Ident>, in parse_fields()
272 type_params, in parse_fields()
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/derive_more-0.99.9/src/
H A Derror.rs26 let type_params: HashSet<_> = generics in expand() localVariable
36 DeriveType::Named | DeriveType::Unnamed => render_struct(&type_params, &state)?, in expand()
37 DeriveType::Enum => render_enum(&type_params, &state)?, in expand()
58 if !type_params.is_empty() { in expand()
93 type_params: &HashSet<syn::Ident>, in render_struct()
96 let parsed_fields = parse_fields(&type_params, &state)?; in render_struct()
105 type_params: &HashSet<syn::Ident>, in render_enum()
126 let parsed_fields = parse_fields(&type_params, &state)?; in render_enum()
225 type_params: &HashSet<syn::Ident>, in parse_fields()
272 type_params, in parse_fields()
[all …]

12345678910>>...45