Home
last modified time | relevance | path

Searched refs:Example (Results 1 – 25 of 1369) sorted by relevance

12345678910>>...55

/third_party/flatbuffers/tests/MyGame/Example/
DMonsterStorageGrpc.java5 package MyGame.Example;
39 public static final io.grpc.MethodDescriptor<MyGame.Example.Monster,
40 MyGame.Example.Stat> METHOD_STORE = getStoreMethod();
42 private static volatile io.grpc.MethodDescriptor<MyGame.Example.Monster,
43 MyGame.Example.Stat> getStoreMethod;
45 private static volatile FlatbuffersUtils.FBExtactor<MyGame.Example.Monster> extractorOfMonster;
46 private static FlatbuffersUtils.FBExtactor<MyGame.Example.Monster> getExtractorOfMonster() { in getExtractorOfMonster()
50 extractorOfMonster = new FlatbuffersUtils.FBExtactor<MyGame.Example.Monster>() { in getExtractorOfMonster()
51 public MyGame.Example.Monster extract (ByteBuffer buffer) { in getExtractorOfMonster()
52 return MyGame.Example.Monster.getRootAsMonster(buffer); in getExtractorOfMonster()
[all …]
DMonster.cs5 namespace MyGame.Example
24 …public MyGame.Example.Vec3? Pos { get { int o = __p.__offset(4); return o != 0 ? (MyGame.Example.V…
45 …c MyGame.Example.Color Color { get { int o = __p.__offset(16); return o != 0 ? (MyGame.Example.Col…
46 …public bool MutateColor(MyGame.Example.Color color) { int o = __p.__offset(16); if (o != 0) { __p.… in MutateColor()
47 …c MyGame.Example.Any TestType { get { int o = __p.__offset(18); return o != 0 ? (MyGame.Example.An…
49 public MyGame.Example.Monster TestAsMonster() { return Test<MyGame.Example.Monster>().Value; } in TestAsMonster()
50 …internal MyGame.Example.TestSimpleTableWithEnum TestAsTestSimpleTableWithEnum() { return Test<MyGa… in TestAsTestSimpleTableWithEnum()
52 …public MyGame.Example.Test? Test4(int j) { int o = __p.__offset(22); return o != 0 ? (MyGame.Examp… in Test4()
58 …lic MyGame.Example.Monster? Testarrayoftables(int j) { int o = __p.__offset(26); return o != 0 ? (… in Testarrayoftables()
60 …public MyGame.Example.Monster? TestarrayoftablesByKey(string key) { int o = __p.__offset(26); retu… in TestarrayoftablesByKey()
[all …]
DStructOfStructs.cs5 namespace MyGame.Example
19 …public MyGame.Example.Ability A { get { return (new MyGame.Example.Ability()).__assign(__p.bb_pos …
20 …public MyGame.Example.Test B { get { return (new MyGame.Example.Test()).__assign(__p.bb_pos + 8, _…
21 …public MyGame.Example.Ability C { get { return (new MyGame.Example.Ability()).__assign(__p.bb_pos …
23 …public static Offset<MyGame.Example.StructOfStructs> CreateStructOfStructs(FlatBufferBuilder build… in CreateStructOfStructs()
35 return new Offset<MyGame.Example.StructOfStructs>(builder.Offset); in CreateStructOfStructs()
47 …public static Offset<MyGame.Example.StructOfStructs> Pack(FlatBufferBuilder builder, StructOfStruc… in Pack()
48 if (_o == null) return default(Offset<MyGame.Example.StructOfStructs>); in Pack()
69 public MyGame.Example.AbilityT A { get; set; }
71 public MyGame.Example.TestT B { get; set; }
[all …]
DNestedStruct.cs5 namespace MyGame.Example
21 …public MyGame.Example.TestEnum B { get { return (MyGame.Example.TestEnum)__p.bb.GetSbyte(__p.bb_po…
22 public void MutateB(MyGame.Example.TestEnum b) { __p.bb.PutSbyte(__p.bb_pos + 8, (sbyte)b); } in MutateB()
23 …public MyGame.Example.TestEnum C(int j) { return (MyGame.Example.TestEnum)__p.bb.GetSbyte(__p.bb_p… in C()
24 …public void MutateC(int j, MyGame.Example.TestEnum c) { __p.bb.PutSbyte(__p.bb_pos + 9 + j * 1, (s… in MutateC()
28 …ic Offset<MyGame.Example.NestedStruct> CreateNestedStruct(FlatBufferBuilder builder, int[] A, MyGa… in CreateNestedStruct()
41 return new Offset<MyGame.Example.NestedStruct>(builder.Offset); in CreateNestedStruct()
52 _o.C = new MyGame.Example.TestEnum[2]; in UnPackTo()
57 …public static Offset<MyGame.Example.NestedStruct> Pack(FlatBufferBuilder builder, NestedStructT _o… in Pack()
58 if (_o == null) return default(Offset<MyGame.Example.NestedStruct>); in Pack()
[all …]
DTestSimpleTableWithEnum.cs5 namespace MyGame.Example
22 …c MyGame.Example.Color Color { get { int o = __p.__offset(4); return o != 0 ? (MyGame.Example.Colo…
23 …public bool MutateColor(MyGame.Example.Color color) { int o = __p.__offset(4); if (o != 0) { __p.b… in MutateColor()
25 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(FlatBuf… in CreateTestSimpleTableWithEnum()
26 MyGame.Example.Color color = MyGame.Example.Color.Green) { in CreateTestSimpleTableWithEnum()
33 …public static void AddColor(FlatBufferBuilder builder, MyGame.Example.Color color) { builder.AddBy… in AddColor()
34 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> EndTestSimpleTableWithEnum(FlatBuffer… in EndTestSimpleTableWithEnum()
36 return new Offset<MyGame.Example.TestSimpleTableWithEnum>(o); in EndTestSimpleTableWithEnum()
46 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> Pack(FlatBufferBuilder builder, TestS… in Pack()
47 if (_o == null) return default(Offset<MyGame.Example.TestSimpleTableWithEnum>); in Pack()
[all …]
DStructOfStructs.kt3 package MyGame.Example
20 val a : MyGame.Example.Ability? get() = a(MyGame.Example.Ability())
21 fun a(obj: MyGame.Example.Ability) : MyGame.Example.Ability? = obj.__assign(bb_pos + 0, bb) in a()
22 val b : MyGame.Example.Test? get() = b(MyGame.Example.Test()) in a()
23 fun b(obj: MyGame.Example.Test) : MyGame.Example.Test? = obj.__assign(bb_pos + 8, bb) in a()
24 val c : MyGame.Example.Ability? get() = c(MyGame.Example.Ability()) in a()
25 fun c(obj: MyGame.Example.Ability) : MyGame.Example.Ability? = obj.__assign(bb_pos + 12, bb) in a()
DMonster.java3 package MyGame.Example;
22 public MyGame.Example.Vec3 pos() { return pos(new MyGame.Example.Vec3()); } in pos()
23 …public MyGame.Example.Vec3 pos(MyGame.Example.Vec3 obj) { int o = __offset(4); return o != 0 ? obj… in pos()
42 public MyGame.Example.Test test4(int j) { return test4(new MyGame.Example.Test(), j); } in test4()
43 …public MyGame.Example.Test test4(MyGame.Example.Test obj, int j) { int o = __offset(22); return o … in test4()
45 …public MyGame.Example.Test.Vector test4Vector() { return test4Vector(new MyGame.Example.Test.Vecto… in test4Vector()
46 …public MyGame.Example.Test.Vector test4Vector(MyGame.Example.Test.Vector obj) { int o = __offset(2… in test4Vector()
55 …public MyGame.Example.Monster testarrayoftables(int j) { return testarrayoftables(new MyGame.Examp… in testarrayoftables()
56 …public MyGame.Example.Monster testarrayoftables(MyGame.Example.Monster obj, int j) { int o = __off… in testarrayoftables()
58 …public MyGame.Example.Monster testarrayoftablesByKey(String key) { int o = __offset(26); return o … in testarrayoftablesByKey()
[all …]
DStructOfStructs.java3 package MyGame.Example;
15 public MyGame.Example.Ability a() { return a(new MyGame.Example.Ability()); } in a()
16 …public MyGame.Example.Ability a(MyGame.Example.Ability obj) { return obj.__assign(bb_pos + 0, bb);… in a()
17 public MyGame.Example.Test b() { return b(new MyGame.Example.Test()); } in b()
18 public MyGame.Example.Test b(MyGame.Example.Test obj) { return obj.__assign(bb_pos + 8, bb); } in b()
19 public MyGame.Example.Ability c() { return c(new MyGame.Example.Ability()); } in c()
20 …public MyGame.Example.Ability c(MyGame.Example.Ability obj) { return obj.__assign(bb_pos + 12, bb)… in c()
DArrayTable.cs5 namespace MyGame.Example
23 …public MyGame.Example.ArrayStruct? A { get { int o = __p.__offset(4); return o != 0 ? (MyGame.Exam…
26 …public static void AddA(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayStruct> aOffset) { b… in AddA()
27 public static Offset<MyGame.Example.ArrayTable> EndArrayTable(FlatBufferBuilder builder) { in EndArrayTable()
29 return new Offset<MyGame.Example.ArrayTable>(o); in EndArrayTable()
31 …public static void FinishArrayTableBuffer(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayTa… in FinishArrayTableBuffer()
32 …ishSizePrefixedArrayTableBuffer(FlatBufferBuilder builder, Offset<MyGame.Example.ArrayTable> offse… in FinishSizePrefixedArrayTableBuffer()
41 public static Offset<MyGame.Example.ArrayTable> Pack(FlatBufferBuilder builder, ArrayTableT _o) { in Pack()
42 if (_o == null) return default(Offset<MyGame.Example.ArrayTable>); in Pack()
44 AddA(builder, MyGame.Example.ArrayStruct.Pack(builder, _o.A)); in Pack()
[all …]
DAnyAmbiguousAliases.cs5 namespace MyGame.Example
27 public MyGame.Example.MonsterT AsM1() { return this.As<MyGame.Example.MonsterT>(); } in AsM1()
28 public MyGame.Example.MonsterT AsM2() { return this.As<MyGame.Example.MonsterT>(); } in AsM2()
29 public MyGame.Example.MonsterT AsM3() { return this.As<MyGame.Example.MonsterT>(); } in AsM3()
34 case AnyAmbiguousAliases.M1: return MyGame.Example.Monster.Pack(builder, _o.AsM1()).Value; in Pack()
35 case AnyAmbiguousAliases.M2: return MyGame.Example.Monster.Pack(builder, _o.AsM2()).Value; in Pack()
36 case AnyAmbiguousAliases.M3: return MyGame.Example.Monster.Pack(builder, _o.AsM3()).Value; in Pack()
76 …case AnyAmbiguousAliases.M1: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson()
77 …case AnyAmbiguousAliases.M2: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson()
78 …case AnyAmbiguousAliases.M3: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson()
DVec3.cs5 namespace MyGame.Example
27 …public MyGame.Example.Color Test2 { get { return (MyGame.Example.Color)__p.bb.Get(__p.bb_pos + 24)…
28 public void MutateTest2(MyGame.Example.Color test2) { __p.bb.Put(__p.bb_pos + 24, (byte)test2); } in MutateTest2()
29 …public MyGame.Example.Test Test3 { get { return (new MyGame.Example.Test()).__assign(__p.bb_pos + …
31 …c static Offset<MyGame.Example.Vec3> CreateVec3(FlatBufferBuilder builder, float X, float Y, float… in CreateVec3()
45 return new Offset<MyGame.Example.Vec3>(builder.Offset); in CreateVec3()
60 public static Offset<MyGame.Example.Vec3> Pack(FlatBufferBuilder builder, Vec3T _o) { in Pack()
61 if (_o == null) return default(Offset<MyGame.Example.Vec3>); in Pack()
87 public MyGame.Example.Color Test2 { get; set; }
89 public MyGame.Example.TestT Test3 { get; set; }
[all …]
/third_party/typescript/tests/baselines/reference/
DdeclarationEmitDefaultExportWithStaticAssignment.js8 export default function Example() {} class
9 Example.Foo = Foo
14 export default function Example() {}
15 Example.Foo = Foo
19 export default function Example() {}
21 Example.Bar = Bar
49 function Example() { }
50 exports["default"] = Example;
51 Example.Foo = foo_1.Foo;
58 function Example() { }
[all …]
DdeclarationEmitDefaultExportWithStaticAssignment.types9 export default function Example() {}
10 >Example : typeof Example
12 Example.Foo = Foo
13 >Example.Foo = Foo : typeof Foo
14 >Example.Foo : typeof Foo
15 >Example : typeof Example
26 export default function Example() {}
27 >Example : typeof Example
29 Example.Foo = Foo
30 >Example.Foo = Foo : typeof Foo
[all …]
DdeclarationEmitDefaultExportWithStaticAssignment.symbols9 export default function Example() {}
10 >Example : Symbol(Example, Decl(index1.ts, 0, 26), Decl(index1.ts, 1, 36))
12 Example.Foo = Foo
13 >Example.Foo : Symbol(Example.Foo, Decl(index1.ts, 1, 36))
14 >Example : Symbol(Example, Decl(index1.ts, 0, 26), Decl(index1.ts, 1, 36))
15 >Foo : Symbol(Example.Foo, Decl(index1.ts, 1, 36))
25 export default function Example() {}
26 >Example : Symbol(Example, Decl(index2.ts, 1, 13), Decl(index2.ts, 2, 36))
28 Example.Foo = Foo
29 >Example.Foo : Symbol(Example.Foo, Decl(index2.ts, 2, 36))
[all …]
DinferParameterWithMethodCallInitializer.symbols7 class Example {
8 >Example : Symbol(Example, Decl(inferParameterWithMethodCallInitializer.ts, 2, 1))
11 >getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
16 >doSomething : Symbol(Example.doSomething, Decl(inferParameterWithMethodCallInitializer.ts, 6, 5))
18 >this.getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
19 >this : Symbol(Example, Decl(inferParameterWithMethodCallInitializer.ts, 2, 1))
20 >getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
27 function weird(this: Example, a = this.getNumber()) {
30 >Example : Symbol(Example, Decl(inferParameterWithMethodCallInitializer.ts, 2, 1))
32 >this.getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
[all …]
DinferParameterWithMethodCallInitializer.types8 class Example {
9 >Example : Example
30 function weird(this: Example, a = this.getNumber()) {
31 >weird : (this: Example, a?: number) => number
32 >this : Example
36 >this : Example
45 doSomething(this: Example, a = this.getNumber()) {
46 >doSomething : (this: Example, a?: number) => number
47 >this : Example
51 >this : Example
DsubclassWithPolymorphicThisIsAssignable.js10 export class Example<Z extends CustomDocument> { class
23 exports.Example = void 0;
24 var Example = /** @class */ (function () {
25 function Example() { class in Example
29 Example.prototype.test = function () { };
30 return Example;
32 exports.Example = Example;
DinferParameterWithMethodCallInitializer.js5 class Example {
13 function weird(this: Example, a = this.getNumber()) {
17 doSomething(this: Example, a = this.getNumber()) {
27 var Example = /** @class */ (function () {
28 function Example() { class
30 Example.prototype.getNumber = function () { class
33 Example.prototype.doSomething = function (a) {
37 return Example;
/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs1_v21.data46 RSAES-OAEP Encryption Example 3_1
49 RSAES-OAEP Encryption Example 3_2
52 RSAES-OAEP Encryption Example 3_3
55 RSAES-OAEP Encryption Example 3_4
58 RSAES-OAEP Encryption Example 3_5
61 RSAES-OAEP Encryption Example 3_6
64 RSAES-OAEP Encryption Example 4_1
67 RSAES-OAEP Encryption Example 4_2
70 RSAES-OAEP Encryption Example 4_3
73 RSAES-OAEP Encryption Example 4_4
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffers.Core.Test.csproj50 <Compile Include="..\MyGame\Example\Any.cs">
51 <Link>MyGame\Example\Any.cs</Link>
53 <Compile Include="..\MyGame\Example\AnyAmbiguousAliases.cs">
54 <Link>MyGame\Example\AnyAmbiguousAliases.cs</Link>
56 <Compile Include="..\MyGame\Example\AnyUniqueAliases.cs">
57 <Link>MyGame\Example\AnyUniqueAliases.cs</Link>
59 <Compile Include="..\MyGame\Example\Color.cs">
60 <Link>MyGame\Example\Color.cs</Link>
62 <Compile Include="..\MyGame\Example\Race.cs">
63 <Link>MyGame\Example\Race.cs</Link>
[all …]
/third_party/flatbuffers/grpc/tests/
Dgo_test.go22 func (s *server) Store(context context.Context, in *Example.Monster) (*flatbuffers.Builder, error) {
25 Example.StatStart(b)
26 Example.StatAddId(b, i)
27 b.Finish(Example.StatEnd(b))
33 func (s *server) Retrieve(context context.Context, in *Example.Stat) (*flatbuffers.Builder, error) {
36 Example.MonsterStart(b)
37 Example.MonsterAddName(b, i)
38 b.Finish(Example.MonsterEnd(b))
42 func StoreClient(c Example.MonsterStorageClient, t *testing.T) {
45 Example.MonsterStart(b)
[all …]
/third_party/flatbuffers/tests/
Dpy_test.py37 import MyGame.Example # refers to generated code
38 import MyGame.Example.Any # refers to generated code
39 import MyGame.Example.Color # refers to generated code
40 import MyGame.Example.Monster # refers to generated code
41 import MyGame.Example.Test # refers to generated code
42 import MyGame.Example.Stat # refers to generated code
43 import MyGame.Example.Vec3 # refers to generated code
46 import MyGame.Example.ArrayTable # refers to generated code
47 import MyGame.Example.ArrayStruct # refers to generated code
48 import MyGame.Example.NestedStruct # refers to generated code
[all …]
Dmonster_test_generated.h24 namespace Example {
64 namespace Example {
95 namespace Example {
233 template<> struct AnyTraits<MyGame::Example::Monster> {
237 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
277 MyGame::Example::MonsterT *AsMonster() {
279 reinterpret_cast<MyGame::Example::MonsterT *>(value) : nullptr;
281 const MyGame::Example::MonsterT *AsMonster() const {
283 reinterpret_cast<const MyGame::Example::MonsterT *>(value) : nullptr;
285 MyGame::Example::TestSimpleTableWithEnumT *AsTestSimpleTableWithEnum() {
[all …]
Darrays_test_generated.h10 namespace Example {
88 NestedStruct(MyGame::Example::TestEnum _b) in NestedStruct()
98 …atbuffers::span<const int32_t, 2> _a, MyGame::Example::TestEnum _b, flatbuffers::span<const MyGame… in NestedStruct()
103 flatbuffers::CastToArrayOfEnum<MyGame::Example::TestEnum>(c_).CopyFromSpan(_c); in NestedStruct()
114 MyGame::Example::TestEnum b() const { in b()
115 return static_cast<MyGame::Example::TestEnum>(flatbuffers::EndianScalar(b_)); in b()
117 void mutate_b(MyGame::Example::TestEnum _b) { in mutate_b()
120 const flatbuffers::Array<MyGame::Example::TestEnum, 2> *c() const { in c()
121 return &flatbuffers::CastToArrayOfEnum<MyGame::Example::TestEnum>(c_); in c()
123 flatbuffers::Array<MyGame::Example::TestEnum, 2> *mutable_c() { in mutable_c()
[all …]
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h24 namespace Example {
64 namespace Example {
203 template<> struct AnyTraits<MyGame::Example::Monster> {
207 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
247 MyGame::Example::MonsterT *AsMonster() {
249 reinterpret_cast<MyGame::Example::MonsterT *>(value) : nullptr;
251 const MyGame::Example::MonsterT *AsMonster() const {
253 reinterpret_cast<const MyGame::Example::MonsterT *>(value) : nullptr;
255 MyGame::Example::TestSimpleTableWithEnumT *AsTestSimpleTableWithEnum() {
257 reinterpret_cast<MyGame::Example::TestSimpleTableWithEnumT *>(value) : nullptr;
[all …]

12345678910>>...55