Home
last modified time | relevance | path

Searched refs:TMemoryBufferTransport (Results 1 – 10 of 10) sorted by relevance

/thrift-3.4.0/lib/swift/Sources/
DTMemoryBufferTransport.swift22 public class TMemoryBufferTransport : TTransport { class
41 private var flushHandler: ((TMemoryBufferTransport, Data) -> ())?
43 public init(flushHandler: ((TMemoryBufferTransport, Data) -> ())? = nil) {
47 …public convenience init(readBuffer: Data, flushHandler: ((TMemoryBufferTransport, Data) -> ())? = …
/thrift-3.4.0/lib/netstd/Thrift/Transport/Layered/
DTFramedTransport.cs31 private readonly Client.TMemoryBufferTransport ReadBuffer;
32 private readonly Client.TMemoryBufferTransport WriteBuffer;
47 ReadBuffer = new Client.TMemoryBufferTransport(Configuration); in TFramedTransport()
48 WriteBuffer = new Client.TMemoryBufferTransport(Configuration); in TFramedTransport()
DTBufferedTransport.cs30 private readonly Client.TMemoryBufferTransport ReadBuffer;
31 private readonly Client.TMemoryBufferTransport WriteBuffer;
53 WriteBuffer = new Client.TMemoryBufferTransport(InnerTransport.Configuration, bufSize); in TBufferedTransport()
54 ReadBuffer = new Client.TMemoryBufferTransport(InnerTransport.Configuration, bufSize); in TBufferedTransport()
/thrift-3.4.0/lib/netstd/Thrift/Transport/Client/
DTMemoryBufferTransport.cs28 public class TMemoryBufferTransport : TEndpointTransport class
34 public TMemoryBufferTransport(TConfiguration config, int initialCapacity = 2048) in TMemoryBufferTransport() method in Thrift.Transport.Client.TMemoryBufferTransport
40 public TMemoryBufferTransport(byte[] buf, TConfiguration config) in TMemoryBufferTransport() method in Thrift.Transport.Client.TMemoryBufferTransport
/thrift-3.4.0/test/netstd/Client/Performance/
DPerformanceTests.cs39 private TMemoryBufferTransport? MemBuffer;
89 MemBuffer = new TMemoryBufferTransport(Configuration);
91 MemBuffer = new TMemoryBufferTransport(MemBuffer?.GetBuffer(), Configuration);
/thrift-3.4.0/lib/swift/Tests/ThriftTests/
DTBinaryProtocolTests.swift17 var transport: TMemoryBufferTransport = TMemoryBufferTransport(flushHandler: {
DTFramedTransportTests.swift27 var underlyingTransport: TMemoryBufferTransport = TMemoryBufferTransport(flushHandler: {
DTMultiplexedProcessorTests.swift44 var transport: TMemoryBufferTransport = TMemoryBufferTransport { $0.reset(readBuffer: $1) }
DTCompactProtocolTests.swift17 var transport: TMemoryBufferTransport = TMemoryBufferTransport(flushHandler: {
/thrift-3.4.0/lib/swift/
DREADME.md108 - [x] TMemoryBufferTransport
168 let itrans = TMemoryBufferTransport()
174 let otrans = TMemoryBufferTransport(flushHandler: { trans, buff in