/thrift-3.4.0/lib/cpp/src/thrift/ |
D | VirtualProfiling.cpp | 150 size_t operator()(Key const& k) const { return k.hash(); } in operator ()() 159 Key(const Key& k) in Key() argument 160 : backtrace_(k.backtrace_), typeName1_(k.typeName1_), typeName2_(k.typeName2_) {} in Key() 162 void operator=(const Key& k) { in operator =() argument 163 backtrace_ = k.backtrace_; in operator =() 164 typeName1_ = k.typeName1_; in operator =() 165 typeName2_ = k.typeName2_; in operator =() 195 int cmp(const Key& k) const { in cmp() 196 int ret = backtrace_->cmp(*k.backtrace_); in cmp() 205 ret = k.typeName1_ - typeName1_; in cmp() [all …]
|
/thrift-3.4.0/lib/nodets/test/ |
D | test_handler.ts | 50 testInsanity(argument: ttypes.Insanity): Q.IPromise<{ [k: number]: any; }> { 51 const first_map: { [k: number]: any; } = []; 52 const second_map: { [k: number]: any; } = []; 60 const insane: { [k: number]: any; } = []; 66 …testMulti(arg0: any, arg1: number, arg2: Int64, arg3: { [k: number]: string; }, arg4: ttypes.Numbe… 134 testMap(thing: { [k: number]: number; }) { 137 testStringMap(thing: { [k: string]: string; }) { 165 callback: (err: any, result: { [k: number]: { [k: number]: number; }; }) => void): 166 Q.IPromise<{ [k: number]: { [k: number]: number; }; }> { 181 …nt: ttypes.Insanity, callback?: (err: any, result: { [k: number]: any; }) => void): Q.IPromise<{ [… [all …]
|
/thrift-3.4.0/lib/go/thrift/ |
D | transport_test.go | 69 for k, v := range buf { 70 if v != transport_bdata[k] { 71 …sport %T read %d instead of %d for index %d of binary data 2", readTrans, v, transport_bdata[k], k) 94 for k, v := range buf { 95 if v != transport_bdata[k] { 96 …sport %T read %d instead of %d for index %d of binary data 2", readTrans, v, transport_bdata[k], k) 138 for k, v := range buf { 139 if v != transport_bdata[k] { 140 …sport %T read %d instead of %d for index %d of binary data 2", readTrans, v, transport_bdata[k], k)
|
D | json_protocol_test.go | 428 for k, v := range value { 429 if v1[k] != v { 430 t.Fatalf("Invalid value for binary at %v\nexpected: \"%v\"\n read: \"%v\"", k, v, v1[k]) 497 for k, value := range DOUBLE_VALUES { 498 s := l[k+2] 501 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 505 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 509 …s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 551 for k, value := range DOUBLE_VALUES { 552 s := l[k+2] [all …]
|
D | protocol_test.go | 252 for k, v := range BOOL_VALUES { 255 …rf("%s: %T %T %v Error writing bool in list at index %v: %v", "ReadWriteBool", p, trans, err, k, v) 276 for k, v := range BOOL_VALUES { 279 t.Errorf("%s: %T %T %v Error reading bool at index %v: %v", "ReadWriteBool", p, trans, err, k, v) 282 t.Errorf("%s: index %v %v %v %v != %v", "ReadWriteBool", k, p, trans, v, value) 298 for k, v := range BYTE_VALUES { 301 …rf("%s: %T %T %q Error writing byte in list at index %d: %q", "ReadWriteByte", p, trans, err, k, v) 325 for k, v := range BYTE_VALUES { 328 t.Errorf("%s: %T %T %q Error reading byte at index %d: %q", "ReadWriteByte", p, trans, err, k, v) 362 for k, v := range INT16_VALUES { [all …]
|
D | simple_json_protocol_test.go | 565 for k, value := range DOUBLE_VALUES { 566 s := l[k+2] 569 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 573 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 577 …s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 619 for k, value := range DOUBLE_VALUES { 620 s := l[k+2] 623 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 627 …%s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… 631 …s at index %v %v, wrote: %q, expected: %q, originally wrote: %q", thetype, k, value, s, jsonQuote… [all …]
|
D | multiplexed_protocol_test.go | 36 for k := range processorMap { 37 components := strings.SplitN(k, MULTIPLEXED_SEPARATOR, 2)
|
/thrift-3.4.0/test/crossrunner/ |
D | util.py | 30 for k, v in list(update.items()): 31 if k in list(res.keys()) and isinstance(v, list): 32 res[k].extend(v) 34 res[k] = v
|
/thrift-3.4.0/lib/rb/lib/thrift/ |
D | struct_union.rb | 68 k = read_field(iprot, field_info(field[:key])) 70 value[k] = v 121 value.each do |k, v| 122 write_data(oprot, k, field[:key]) 165 value.each do |k, v| 166 … map_buf << inspect_field(k, field_info[:key]) + ": " + inspect_field(v, field_info[:value]) 186 collection.each do |k| 187 buf << inspect_field(k, field_info[:element])
|
D | client.rb | 40 args.each do |k, v| 41 data.send("#{k.to_s}=", v)
|
D | types.rb | 73 value.each_pair do |k,v| 74 check_type(k, field[:key], "#{name}.key", false)
|
/thrift-3.4.0/lib/ts/test/ |
D | phantom-client.ts | 71 for (var k in keys) { variable 72 if (arg.slice(0, k.length) === k) { 73 opts[keys[k]] = arg.slice(k.length); 223 var mapTestInput: {[k: number]: number;} = {7: 77, 8: 88, 9: 99}; 225 var mapTestOutput: {[k: number]: number;} = client.testMap(mapTestInput); 233 var mapTestInput: {[k: string]: string;} = { 238 var mapTestOutput: {[k: string]: string;} = client.testStringMap(mapTestInput); 264 var mapMapTestExpectedResult: {[K: number]: {[k: number]: number}} = { 324 const insanity: {[k: number]: (ThriftTest.Insanity | {[k:number]: ThriftTest.Insanity})} = {
|
D | test.ts | 155 const mapTestInput: {[k: number]: number;} = {7: 77, 8: 88, 9: 99}; 157 const mapTestOutput: {[k: number]: number;} = client.testMap(mapTestInput); 165 const mapTestInput: {[k: string]: string;} = { 170 const mapTestOutput: {[k: string]: string;} = client.testStringMap(mapTestInput); 199 const mapMapTestExpectedResult: {[K: number]: {[k: number]: number}} = { 274 const insanity: {[k: number]: (ThriftTest.Insanity | {[k:number]: ThriftTest.Insanity})} = {
|
/thrift-3.4.0/lib/javame/src/org/apache/thrift/protocol/ |
D | TMap.java | 29 public TMap(byte k, byte v, int s) { in TMap() argument 30 keyType = k; in TMap()
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/ |
D | TMap.java | 28 public TMap(byte k, byte v, int s) { in TMap() argument 29 keyType = k; in TMap()
|
/thrift-3.4.0/lib/cpp/src/thrift/protocol/ |
D | TMap.h | 42 TMap(TType k, TType v, int s) in TMap() argument 43 : keyType_(k), in TMap()
|
/thrift-3.4.0/test/lua/ |
D | test_basic_server.lua | 91 k, v = string.match(str, '--(%w+)=(%w+)') 92 assert(opt[k] ~= nil, 'Unknown argument') 93 opt[k] = v
|
D | test_basic_client.lua | 46 k, v = string.match(str, '--(%w+)=(%w+)') 47 assert(opt[k] ~= nil, 'Unknown argument') 48 opt[k] = v
|
/thrift-3.4.0/test/go/src/common/ |
D | printing_handler.go | 168 for k, v := range thing { 174 fmt.Printf("%d => %d", k, v) 192 for k, v := range thing { 198 fmt.Printf("%s => %s", k, v) 216 for k := range thing { 222 fmt.Printf("%d", k)
|
/thrift-3.4.0/lib/rb/benchmark/ |
D | server.rb | 68 const and const.split('::').inject(Object) { |k,c| k.const_get(c) }
|
/thrift-3.4.0/test/py/ |
D | TSimpleJSONProtocolTest.py | 41 for k, v in a.iteritems(): 42 self.assertTrue(k in b, msg) 43 self.assertEquals(b.get(k), v, msg)
|
/thrift-3.4.0/lib/js/test/ |
D | phantom-client.js | 63 for (var k in keys) { 64 if (arg.slice(0, k.length) === k) { 65 opts[keys[k]] = arg.slice(k.length);
|
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/protocol/ |
D | TMap.hx | 28 public function new(k : Int = 0, v : Int = 0, s : Int = 0) { 29 keyType = k;
|
/thrift-3.4.0/lib/py/src/ext/ |
D | binary.h | 174 uint8_t k, v; in readMapBegin() local 175 if (!readByte(k) || !readByte(v) || !readI32(len) || !checkLengthLimit(len, containerLimit())) { in readMapBegin() 178 ktype = static_cast<TType>(k); in readMapBegin()
|
/thrift-3.4.0/tutorial/go/src/ |
D | handler.go | 77 k := int(logid) 86 p.log[k] = entry
|