Searched refs:defaultCtx (Results 1 – 11 of 11) sorted by relevance
/thrift-3.4.0/lib/go/test/tests/ |
D | thrifttest_driver.go | 42 if client.TestVoid(defaultCtx) != nil { 46 if r, err := client.TestString(defaultCtx, "Test"); r != "Test" || err != nil { 50 if r, err := client.TestString(defaultCtx, ""); r != "" || err != nil { 82 if r, err := client.TestString(defaultCtx, stringTest); r != stringTest || err != nil { 92 …if r, err := client.TestString(defaultCtx, specialCharacters); r != specialCharacters || err != ni… 96 if r, err := client.TestByte(defaultCtx, 1); r != 1 || err != nil { 99 if r, err := client.TestByte(defaultCtx, 0); r != 0 || err != nil { 102 if r, err := client.TestByte(defaultCtx, -1); r != -1 || err != nil { 105 if r, err := client.TestByte(defaultCtx, -127); r != -127 || err != nil { 109 if r, err := client.TestI32(defaultCtx, -1); r != -1 || err != nil { [all …]
|
D | multiplexed_protocol_test.go | 98 ret, err := client.ReturnOne(defaultCtx) 137 ret, err := client.ReturnTwo(defaultCtx) 177 _, err = client.ReturnTwo(defaultCtx) 195 ret, err := client.ReturnTwo(defaultCtx)
|
D | context.go | 26 var defaultCtx = context.Background() var
|
D | one_way_test.go | 84 err := client.Hi(defaultCtx, 1, "") 89 i, err := client.EchoInt(defaultCtx, 42)
|
D | struct_args_rets_test.go | 35 sa, err = iface.StructAFunc_1structA(defaultCtx, sa)
|
D | client_error_test.go | 436 _, retErr := client.TestStruct(defaultCtx, thing) 469 _, retErr := client.TestStruct(defaultCtx, thing) 501 _, retErr := client.TestStruct(defaultCtx, thing) 533 _, retErr := client.TestStruct(defaultCtx, thing) 656 _, retErr := client.TestString(defaultCtx, "test") 692 _, retErr := client.TestString(defaultCtx, "test") 735 _, err := client.TestString(defaultCtx, "test") 766 _, err := client.TestString(defaultCtx, "test") 795 _, err := client.TestString(defaultCtx, "test") 826 _, err := client.TestString(defaultCtx, "test") [all …]
|
/thrift-3.4.0/test/go/src/bin/testclient/ |
D | main.go | 66 var defaultCtx = context.Background() var 70 if err = client.TestVoid(defaultCtx); err != nil { 74 thing, err := client.TestString(defaultCtx, "thing") 82 bl, err := client.TestBool(defaultCtx, true) 89 bl, err = client.TestBool(defaultCtx, false) 97 b, err := client.TestByte(defaultCtx, 42) 105 i32, err := client.TestI32(defaultCtx, 4242) 113 i64, err := client.TestI64(defaultCtx, 424242) 121 d, err := client.TestDouble(defaultCtx, 42.42) 133 bin, err := client.TestBinary(defaultCtx, binout) [all …]
|
/thrift-3.4.0/test/go/src/common/ |
D | clientserver_test.go | 102 var defaultCtx = context.Background() var 142 if err = client.TestVoid(defaultCtx); err != nil { 146 thing, err := client.TestString(defaultCtx, "thing") 154 bl, err := client.TestBool(defaultCtx, true) 161 bl, err = client.TestBool(defaultCtx, false) 169 b, err := client.TestByte(defaultCtx, 42) 177 i32, err := client.TestI32(defaultCtx, 4242) 185 i64, err := client.TestI64(defaultCtx, 424242) 195 uret, err := client.TestUuid(defaultCtx, u) 203 d, err := client.TestDouble(defaultCtx, 42.42) [all …]
|
/thrift-3.4.0/tutorial/go/src/ |
D | client.go | 30 var defaultCtx = context.Background() var 33 client.Ping(defaultCtx) 36 sum, _ := client.Add(defaultCtx, 1, 1) 43 quotient, err := client.Calculate(defaultCtx, 1, work) 58 diff, err := client.Calculate(defaultCtx, 1, work) 71 log, err := client.GetStruct(defaultCtx, 1)
|
/thrift-3.4.0/lib/go/thrift/ |
D | context.go | 24 var defaultCtx = context.Background() var
|
D | simple_server.go | 336 defaultCtx,
|