Home
last modified time | relevance | path

Searched refs:As1 (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/dports/lang/rust/rustc-1.58.1-src/src/test/ui/associated-type-bounds/
H A Dstruct-bounds.rs6 trait Tr1 { type As1; } typedef
19 struct St1<T: Tr1<As1: Tr2>> {
21 outer: T::As1,
25 fn unwrap_1_st1<T: Tr1<As1: Tr2>>(x: St1<T>) -> (T, T::As1, <T::As1 as Tr2>::As2) { in unwrap_1_st1() argument
29 fn unwrap_2_st1<T>(x: St1<T>) -> (T, T::As1, <T::As1 as Tr2>::As2) in unwrap_2_st1() argument
32 T::As1: Tr2, in unwrap_2_st1()
39 outer: T::As1,
45 outer: &'static T::As1,
64 f2: &'static T::As1,
70 T: Tr1<As1: Tr2>,
[all …]
H A Denum-bounds.rs5 trait Tr1 { type As1; } typedef
18 enum En1<T: Tr1<As1: Tr2>> {
20 Outer(T::As1),
28 fn wrap_en1_2<T>(x: T::As1) -> En1<T> where T: Tr1, T::As1: Tr2 { in wrap_en1_2()
32 fn wrap_en1_3<T>(x: <T::As1 as Tr2>::As2) -> En1<T> where T: Tr1, T::As1: Tr2 { in wrap_en1_3()
38 V1(T::As1),
45 V1(&'static T::As1),
64 V2(&'static T::As1),
70 T: Tr1<As1: Tr2>,
78 T: Tr1<As1: Tr2>, in _make_en7()
[all …]
H A Dunion-bounds.rs9 trait Tr1: Copy { type As1: Copy; } typedef
22 union Un1<T: Tr1<As1: Tr2>> {
24 outer: T::As1,
30 outer: T::As1,
36 outer: &'static T::As1,
54 f1: <T::As1 as Tr2>::As2,
55 f2: &'static T::As1,
56 f3: <T::As1 as Tr5>::As5,
61 T: Tr1<As1: Tr2>,
70 T::As1: Tr2, in _use_un7()
[all …]
H A Drpit.rs7 trait Tr1 { type As1; fn mk(self) -> Self::As1; } in mk() typedef
17 impl Tr1 for S1 { type As1 = S2; fn mk(self) -> Self::As1 { S2 } } in mk() typedef
19 fn def_et1() -> impl Tr1<As1: Copy> { S1 } in def_et1()
22 fn def_et2() -> impl Tr1<As1: 'static> { S1 } in def_et2()
25 fn def_et3() -> impl Tr1<As1: Clone + Iterator<Item: Add<u8, Output: Into<u8>>>> { in def_et3()
28 type As1 = core::ops::Range<u8>; in def_et3() typedef
29 fn mk(self) -> Self::As1 { 0..10 } in def_et3() argument
44 fn def_et4() -> impl Tr1<As1: for<'a> Tr2<'a>> { in def_et4()
48 type As1 = A; in def_et4() typedef
H A Dtrait-alias-impl-trait.rs9 type As1; typedef
10 fn mk(self) -> Self::As1; in mk() argument
27 type As1 = S2; typedef
28 fn mk(self) -> Self::As1 { in mk() argument
33 type Et1 = impl Tr1<As1: Copy>;
41 type Et2 = impl Tr1<As1: 'static>;
49 type Et3 = impl Tr1<As1: Clone + Iterator<Item: Add<u8, Output: Into<u8>>>>;
53 type As1 = core::ops::Range<u8>; in def_et3() typedef
54 fn mk(self) -> Self::As1 { in def_et3() argument
70 type Et4 = impl Tr1<As1: for<'a> Tr2<'a>>;
[all …]
H A Ddyn-impl-trait-type.rs7 trait Tr1 { type As1; fn mk(&self) -> Self::As1; } in mk() argument
17 impl Tr1 for S1 { type As1 = S2; fn mk(&self) -> Self::As1 { S2 } } in mk() typedef
19 type Et1 = Box<dyn Tr1<As1: Copy>>;
23 type Et2 = Box<dyn Tr1<As1: 'static>>;
27 type Et3 = Box<dyn Tr1<As1: Clone + Iterator<Item: Add<u8, Output: Into<u8>>>>>;
31 type As1 = core::ops::Range<u8>; in def_et3() typedef
32 fn mk(&self) -> Self::As1 { 0..10 } in def_et3() argument
46 type Et4 = Box<dyn Tr1<As1: for<'a> Tr2<'a>>>;
51 type As1 = A; in def_et4() typedef
H A Ddyn-rpit-and-let.rs9 trait Tr1 { type As1; fn mk(&self) -> Self::As1; } in mk() typedef
19 impl Tr1 for S1 { type As1 = S2; fn mk(&self) -> Self::As1 { S2 } } in mk() typedef
21 fn def_et1() -> Box<dyn Tr1<As1: Copy>> { in def_et1()
27 fn def_et2() -> Box<dyn Tr1<As1: Send + 'static>> { in def_et2()
33 fn def_et3() -> Box<dyn Tr1<As1: Clone + Iterator<Item: Add<u8, Output: Into<u8>>>>> { in def_et3()
36 type As1 = core::ops::Range<u8>; in def_et3() typedef
37 fn mk(&self) -> Self::As1 { 0..10 } in def_et3() argument
53 fn def_et4() -> Box<dyn Tr1<As1: for<'a> Tr2<'a>>> { in def_et4()
57 type As1 = A; in def_et4() typedef
H A Dentails-sized-object-safety.rs5 trait Tr1: Sized { type As1; } typedef
8 trait ObjTr1 { fn foo() -> Self where Self: Tr1<As1: Copy>; } in foo()
11 trait ObjTr2 { fn foo() -> Self where Self: Tr1<As1: 'static>; } in foo()
14 trait ObjTr3 { fn foo() -> Self where Self: Tr1<As1: Into<u8> + 'static + Copy>; } in foo()
17 trait ObjTr4 { fn foo() -> Self where Self: Tr1<As1: for<'a> Tr2<'a>>; } in foo()
20 trait ObjTr5 { fn foo() -> Self where for<'a> Self: Tr1<As1: Tr2<'a>>; } in foo()
23 trait ObjTr6 { fn foo() -> Self where Self: for<'a> Tr1<As1: Tr2<'a, As2: for<'b> Tr2<'b>>>; } in foo()
H A Dimplied-region-constraints.rs3 trait Tr1 { type As1; } typedef
6 struct St<'a, 'b, T: Tr1<As1: Tr2>> { // `T: 'b` is *not* implied!
8 f1: &'b <T::As1 as Tr2>::As2, // `<T::As1 as Tr2>::As2: 'a` is implied.
14 T::As1: Tr2, in _bad_st()
24 T::As1: Tr2,
27 V1(&'b <T::As1 as Tr2>::As2),
33 T::As1: Tr2, in _bad_en7()
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/feature-gates/
H A Dfeature-gate-associated_type_bounds.rs6 trait Tr1 { type As1: Copy; } typedef
12 impl Tr1 for S1 { type As1 = S2; } typedef
23 struct _St1<T: Tr1<As1: Tr2>> {
26 outer: T::As1,
27 inner: <T::As1 as Tr2>::As2,
30 enum _En1<T: Tr1<As1: Tr2>> {
33 Outer(T::As1),
34 Inner(<T::As1 as Tr2>::As2),
37 union _Un1<T: Tr1<As1: Tr2>> {
40 outer: T::As1,
[all …]
H A Dfeature-gate-associated_type_bounds.stderr22 LL | struct _St1<T: Tr1<As1: Tr2>> {
31 LL | enum _En1<T: Tr1<As1: Tr2>> {
40 LL | union _Un1<T: Tr1<As1: Tr2>> {
58 LL | fn _apit(_: impl Tr1<As1: Copy>) {}
67 LL | fn _apit_dyn(_: &dyn Tr1<As1: Copy>) {}
76 LL | fn _rpit() -> impl Tr1<As1: Copy> { S1 }
94 LL | const _cdef: impl Tr1<As1: Copy> = S1;
103 LL | static _sdef: impl Tr1<As1: Copy> = S1;
112 LL | let _: impl Tr1<As1: Copy> = S1;
121 LL | const _cdef: impl Tr1<As1: Copy> = S1;
[all …]
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/tests/unit/
H A Dunit_LargeMatrixSkylineStorage.cpp71 LargeMatrix<Real> As1(skysym, 0., _symmetric); in unit_LargeMatrixSkylineStorage() local
75 if(As1.pos(i, j) > 0) { As1(i, j) = 10 * i + j; } in unit_LargeMatrixSkylineStorage()
76 out << "symsky real large matrix As1 : " << As1; in unit_LargeMatrixSkylineStorage()
77 As1.viewStorage(out); in unit_LargeMatrixSkylineStorage()
78 out << "product As1*x1 : " << As1* x1; in unit_LargeMatrixSkylineStorage()
79 out << "\nproduct x1*As1 : " << x1* As1; in unit_LargeMatrixSkylineStorage()
80 As1.saveToFile("Adense.mat", _dense); in unit_LargeMatrixSkylineStorage()
82 As1.saveToFile("Acoo.mat", _coo); in unit_LargeMatrixSkylineStorage()
94 out << "row 1 (col & adrs) : " <<As1.getRow(1) << "\n"; in unit_LargeMatrixSkylineStorage()
95 out << "row 2 (col & adrs) : " <<As1.getRow(2) << "\n"; in unit_LargeMatrixSkylineStorage()
[all …]
H A Dunit_LargeMatrixCsStorage.cpp232 LargeMatrix<Real> As1(cssym, 1., _symmetric); in unit_LargeMatrixCsStorage() local
233 out << "symcs real large matrix As1 : " << As1; in unit_LargeMatrixCsStorage()
234 As1.viewStorage(out); in unit_LargeMatrixCsStorage()
235 out << "product As1*x1 : " << As1* x1; in unit_LargeMatrixCsStorage()
236 out << "\nproduct x1*As1 : " << x1* As1; in unit_LargeMatrixCsStorage()
237 As1.saveToFile("Adense.mat", _dense); in unit_LargeMatrixCsStorage()
239 As1.saveToFile("Acoo.mat", _coo); in unit_LargeMatrixCsStorage()
251 out << "row 1 (col & adrs) : " <<As1.getRow(1) << "\n"; in unit_LargeMatrixCsStorage()
252 out << "row 2 (col & adrs) : " <<As1.getRow(2) << "\n"; in unit_LargeMatrixCsStorage()
253 out << "row 3 (col & adrs) : " <<As1.getRow(3) << "\n"; in unit_LargeMatrixCsStorage()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/Thresholding/include/
H A DitkKittlerIllingworthThresholdCalculator.hxx125 double As1 = A( size - 1 ); in GenerateData() local
129 if( itk::Math::abs( As1 ) < itk::Math::eps ) in GenerateData()
147 if( itk::Math::abs( As1 - At ) < itk::Math::eps ) in GenerateData()
153 double nu = (Bs1-Bt)/(As1-At); in GenerateData()
155 double p = At/As1; in GenerateData()
156 double q = (As1-At) / As1; in GenerateData()
158 double tau2 = (Cs1-Ct) / (As1-At) - (nu*nu); in GenerateData()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dsys_expand_pmod.erl186 As1 = gexpr_list(As0,St),
220 {call,Line,{atom,La,F},As1}
225 As1 = gexpr_list(As0,St),
322 As1 = exprs(As0,St),
350 As1 = expr_list(As0,St),
351 {call,Lc,Name,As1};
355 As1 = expr_list(As0,St),
356 {call,Lc,Name,As1};
359 As1 = expr_list(As0,St),
364 As1 = expr_list(As0,St),
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/edoc/src/
H A Dedoc_data.erl435 As1 = merge_args(As0, As, Ds0, P),
438 {As1, R, [edoc_types:to_xml(Spec1, Env)]};
467 merge_args(As, As1, Ds, P) ->
468 merge_args(As, As1, Ds, [], P, sets:new(), 1).
470 merge_args(['_' | As], ['_' | As1], [D | Ds], Rs, P, S, N) ->
472 merge_args(['_' | As], [A | As1], [D | Ds], Rs, P, S, N) ->
473 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
474 merge_args([A | As], [_ | As1], [D | Ds], Rs, P, S, N) ->
475 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
479 merge_args(As, As1, Ds, Rs, P, S, N, A, D0) ->
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/edoc/src/
H A Dedoc_data.erl425 As1 = merge_args(As0, As, Ds0, P),
428 {As1, R, [edoc_types:to_xml(Spec1, Env)]};
462 merge_args(As, As1, Ds, P) ->
463 merge_args(As, As1, Ds, [], P, sets:new(), 1).
465 merge_args(['_' | As], ['_' | As1], [D | Ds], Rs, P, S, N) ->
467 merge_args(['_' | As], [A | As1], [D | Ds], Rs, P, S, N) ->
468 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
469 merge_args([A | As], [_ | As1], [D | Ds], Rs, P, S, N) ->
470 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
474 merge_args(As, As1, Ds, Rs, P, S, N, A, D0) ->
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/edoc/src/
H A Dedoc_data.erl439 As1 = merge_args(As0, As, Ds0, P),
442 {As1, R, [edoc_types:to_xml(Spec1, Env)]};
476 merge_args(As, As1, Ds, P) ->
477 merge_args(As, As1, Ds, [], P, sets:new(), 1).
479 merge_args(['_' | As], ['_' | As1], [D | Ds], Rs, P, S, N) ->
481 merge_args(['_' | As], [A | As1], [D | Ds], Rs, P, S, N) ->
482 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
483 merge_args([A | As], [_ | As1], [D | Ds], Rs, P, S, N) ->
484 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
488 merge_args(As, As1, Ds, Rs, P, S, N, A, D0) ->
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/edoc/src/
H A Dedoc_data.erl439 As1 = merge_args(As0, As, Ds0, P),
442 {As1, R, [edoc_types:to_xml(Spec1, Env)]};
476 merge_args(As, As1, Ds, P) ->
477 merge_args(As, As1, Ds, [], P, sets:new(), 1).
479 merge_args(['_' | As], ['_' | As1], [D | Ds], Rs, P, S, N) ->
481 merge_args(['_' | As], [A | As1], [D | Ds], Rs, P, S, N) ->
482 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
483 merge_args([A | As], [_ | As1], [D | Ds], Rs, P, S, N) ->
484 merge_args(As, As1, Ds, Rs, P, S, N, A, D);
488 merge_args(As, As1, Ds, Rs, P, S, N, A, D0) ->
[all …]

12345678910>>...14