Home
last modified time | relevance | path

Searched refs:ttypes (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/nodets/test/
H A Dtest_handler.ts66 var hello = new ttypes.Xtruct();
75 var x = new ttypes.Xception();
87 var x = new ttypes.Xception();
99 var res = new ttypes.Xtruct();
127 testStruct(thing: ttypes.Xtruct) {
130 testNest(thing: ttypes.Xtruct2) {
145 testEnum(thing: ttypes.Numberz) {
206 var x = new ttypes.Xception();
267 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
271 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
59 ['testEnum', ttypes.Numberz.ONE]
83 export var out = new ttypes.Xtruct({
90 export var out2 = new ttypes.Xtruct2();
95 export var crazy = new ttypes.Insanity({
97 "xtructs":[new ttypes.Xtruct({
102 }), new ttypes.Xtruct({
/dports/devel/py-thrift/thrift-0.14.0/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/devel/thrift-cpp/thrift-0.14.0/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/devel/thrift/thrift-0.14.0/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/devel/node-thrift/thrift-0.14.0/lib/nodets/test/
H A Dtest_handler.ts67 var hello = new ttypes.Xtruct();
76 var x = new ttypes.Xception();
88 var x = new ttypes.Xception();
100 var res = new ttypes.Xtruct();
128 testStruct(thing: ttypes.Xtruct) {
131 testNest(thing: ttypes.Xtruct2) {
146 testEnum(thing: ttypes.Numberz) {
207 var x = new ttypes.Xception();
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<
[all …]
H A Dtest-cases.ts3 import ttypes = require('./gen-nodejs/ThriftTest_types');
60 ['testEnum', ttypes.Numberz.ONE]
84 export var out = new ttypes.Xtruct({
91 export var out2 = new ttypes.Xtruct2();
96 export var crazy = new ttypes.Insanity({
98 "xtructs":[new ttypes.Xtruct({
103 }), new ttypes.Xtruct({
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/py3/test/
H A Dconverter.py18 import convertible.ttypes as ttypes namespace
28 ttypes.Simple(
34 color=ttypes.Color.GREEN,
49 ttypes.Nested(
50 simpleField=ttypes.Simple(
56 color=ttypes.Color.NONE,
60 ttypes.Simple(
69 ttypes.Simple(
80 ttypes.Color.BLUE: ttypes.Simple(
117 ttypes.Union(
[all …]
/dports/devel/thrift/thrift-0.14.0/lib/nodejs/test/
H A Dtest_handler.js108 const looney = new ttypes.Insanity();
109 second_map[ttypes.Numberz.SIX] = looney;
123 const hello = new ttypes.Xtruct();
139 const x = new ttypes.Xception();
153 const x = new ttypes.Xception();
167 const x = new ttypes.Xception();
172 const x2 = new ttypes.Xception2();
179 const res = new ttypes.Xtruct();
187 const x = new ttypes.Xception();
192 const x2 = new ttypes.Xception2();
[all …]
H A Ddeep-constructor.test.js68 return new ttypes.Complex({
72 new ttypes.Simple({ value: "b" }),
73 new ttypes.Simple({ value: "c" })
77 new ttypes.Simple({ value: "d" }),
78 new ttypes.Simple({ value: "e" })
82 A: new ttypes.Simple({ value: "f" }),
83 B: new ttypes.Simple({ value: "g" })
90 new ttypes.Simple({ value: "h" }),
91 new ttypes.Simple({ value: "i" })
293 const tObj = new ttypes.Complex({
[all …]
H A Dtest-cases.js23 const ttypes = require(`./${helpers.genPath}/ThriftTest_types`); constant
88 ["testEnum", ttypes.Numberz.ONE],
119 const out = new ttypes.Xtruct({
126 const out2 = new ttypes.Xtruct2();
131 const crazy = new ttypes.Insanity({
134 new ttypes.Xtruct({
140 new ttypes.Xtruct({
149 const crazy2 = new ttypes.Insanity({
/dports/comms/gnuradio/gnuradio-3.8.4.0/gnuradio-runtime/python/gnuradio/ctrlport/
H A DRPCConnectionThrift.py73 self.BaseTypes = ttypes.BaseTypes
74 self.KnobBase = ttypes.KnobBase
111 …self.BaseTypes.BOOL: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_bool = k.val…
112 …self.BaseTypes.BYTE: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_byte = k.val…
113 …self.BaseTypes.SHORT: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_short = k.va…
114 …self.BaseTypes.INT: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_int = k.valu…
115 …self.BaseTypes.LONG: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_long = k.val…
116 …self.BaseTypes.DOUBLE: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_double = k.v…
117 …self.BaseTypes.STRING: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_string = k.v…
118 …self.BaseTypes.COMPLEX: lambda k: ttypes.Knob(type=k.ktype, value=ttypes.KnobBase(a_complex = k.…
[all …]
/dports/devel/thrift/thrift-0.14.0/lib/js/test/
H A Dtest_handler.js122 const hello = new ttypes.Xtruct();
128 const goodbye = new ttypes.Xtruct();
134 const crazy = new ttypes.Insanity();
137 crazy.userMap[ttypes.Numberz.FIVE] = 5;
143 first_map[ttypes.Numberz.TWO] = crazy;
146 const looney = new ttypes.Insanity();
160 const hello = new ttypes.Xtruct();
170 const x = new ttypes.Xception();
183 const x = new ttypes.Xception();
188 const x2 = new ttypes.Xception2();
[all …]
/dports/devel/thrift/thrift-0.14.0/lib/ts/test/
H A Dtest_handler.js122 const hello = new ttypes.Xtruct();
128 const goodbye = new ttypes.Xtruct();
134 const crazy = new ttypes.Insanity();
137 crazy.userMap[ttypes.Numberz.FIVE] = 5;
143 first_map[ttypes.Numberz.TWO] = crazy;
146 const looney = new ttypes.Insanity();
160 const hello = new ttypes.Xtruct();
170 const x = new ttypes.Xception();
183 const x = new ttypes.Xception();
188 const x2 = new ttypes.Xception2();
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/test/py/
H A DTValidatorTest.py23 from myBinaryStruct.ttypes import *
24 from myBoolStruct.ttypes import *
25 from myByteStruct.ttypes import *
26 from myComplexStruct.ttypes import *
27 from myDoubleStruct.ttypes import *
28 from myI16Struct.ttypes import *
29 from myI32Struct.ttypes import *
30 from myMixedStruct.ttypes import *
31 from mySetStruct.ttypes import *
32 from myMapStruct.ttypes import *
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/py/util/tests/
H A Dtest_converter.py18 import convertible.ttypes as ttypes namespace
26 ttypes.Simple,
42 self.assertEqual(simple.color, ttypes.Color.GREEN)
47 ttypes.Nested,
91 nested.colorToSimpleMap[ttypes.Color.BLUE].color, ttypes.Color.BLUE
95 simple_union = to_py_struct(ttypes.Union, types.Union(intField=42))
99 union_with_list = to_py_struct(ttypes.Union, types.Union(intList=[1, 2, 3]))
104 ttypes.Union,

12345678910>>...34