Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ functions
Functions
14,751 in github.com/apache/thrift
⨍
Functions
14,751
◇
Types & classes
2,268
↓ 3 callers
Function
time_diff
lib/cpp/test/TFileTransportTest.cpp:154
↓ 3 callers
Method
toString
(Collection<ByteBuffer> bbs, StringBuilder sb)
lib/java/src/main/java/org/apache/thrift/TBaseHelper.java:192
↓ 3 callers
Method
to_io
lib/rb/lib/thrift/transport/socket.rb:134
↓ 3 callers
Method
to_s
lib/rb/lib/thrift/protocol/json_protocol.rb:782
↓ 3 callers
Function
type_to_u8
(field_type: TType)
lib/rs/src/protocol/compact.rs:727
↓ 3 callers
Function
underscores_to_initial_caps
* Performs the reverse operation of initial_caps_to_underscores: The first * character of the string is made uppercase, along with each character tha
compiler/cpp/src/thrift/generate/t_c_glib_generator.cc:4573
↓ 3 callers
Method
unlink
lib/cpp/test/TFileTransportTest.cpp:122
↓ 3 callers
Method
using_proxy
(self)
lib/py/src/transport/THttpClient.py:107
↓ 3 callers
Method
waitForTimeRelative
lib/cpp/src/thrift/concurrency/Monitor.cpp:168
↓ 3 callers
Method
wake_up
Wake up main thread. The server usually waits in select call in we should terminate one. The simplest way is using socketpair.
lib/py/src/server/TNonblockingServer.py:275
↓ 3 callers
Method
wakeupSelector
If the selector is blocked, wake it up.
lib/java/src/main/java/org/apache/thrift/server/TThreadedSelectorServer.java:385
↓ 3 callers
Method
what
contrib/fb303/cpp/ServiceTracker.h:205
↓ 3 callers
Method
withOnlyPayload
Provide only payload to the frame. Throws UnsupportedOperationException if the frame expects a header. @param payload payload as a byte array
lib/java/src/main/java/org/apache/thrift/transport/sasl/FrameWriter.java:85
↓ 3 callers
Method
write
(byte[] toWrite, int off, int len)
lib/java/src/main/java/org/apache/thrift/transport/AutoExpandingBufferWriteTransport.java:72
↓ 3 callers
Method
write
(self, buf)
lib/py/src/transport/TTransport.py:235
↓ 3 callers
Method
write
Write some bytes, putting them into the internal write buffer for eventual compression.
lib/py/src/transport/TZlibTransport.py:211
↓ 3 callers
Method
writeCollectionBegin
($etype, $size)
lib/php/lib/Protocol/TCompactProtocol.php:248
↓ 3 callers
Method
writeFieldHeader
($type, $fid)
lib/php/lib/Protocol/TCompactProtocol.php:212
↓ 3 callers
Method
writeI16
($value)
lib/php/lib/Protocol/TCompactProtocol.php:343
↓ 3 callers
Method
writeI16
(self, i16)
lib/py/src/protocol/TBinaryProtocol.py:115
↓ 3 callers
Method
writeI32
(int i32)
lib/java/src/main/java/org/apache/thrift/protocol/TSimpleJSONProtocol.java:249
↓ 3 callers
Method
writeJSONObjectEnd
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:509
↓ 3 callers
Method
writeJSONObjectEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:474
↓ 3 callers
Method
writeJSONObjectStart
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:503
↓ 3 callers
Method
writeJSONObjectStart
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:468
↓ 3 callers
Method
writeString
($value)
lib/php/lib/Protocol/TCompactProtocol.php:365
↓ 3 callers
Method
writeUUID
lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:719
↓ 3 callers
Method
write_buffer_length
lib/cpp/test/OneWayHTTPTest.cpp:143
↓ 3 callers
Method
write_bytes
(&mut self, b: &[u8])
lib/rs/src/protocol/binary.rs:440
↓ 3 callers
Method
write_field_end
(&mut self)
lib/rs/src/protocol/compact.rs:570
↓ 3 callers
Method
write_json_array_end
lib/rb/lib/thrift/protocol/json_protocol.rb:380
↓ 3 callers
Method
write_json_array_start
lib/rb/lib/thrift/protocol/json_protocol.rb:374
↓ 3 callers
Method
write_string
compiler/cpp/src/thrift/generate/t_json_generator.cc:471
↓ 3 callers
Function
write_string_direct
lib/rb/ext/binary_protocol_accelerated.c:81
↓ 3 callers
Function
yyerror
Error reporting used by the parser.
compiler/cpp/tests/thrift_test_parser_support.cc:45
↓ 2 callers
Method
AcceptAsync
(CancellationToken cancellationToken = default)
lib/netstd/Thrift/Transport/Server/TServerTransport.cs:44
↓ 2 callers
Method
AcceptLoop
()
lib/go/thrift/simple_server.go:235
↓ 2 callers
Function
AddReadTHeaderToContext
AddReadTHeaderToContext adds the whole THeader headers into context.
lib/go/thrift/header_context.go:103
↓ 2 callers
Method
Calculate
(ctx context.Context, logid int32, w *tutorial.Work)
tutorial/go/src/handler.go:49
↓ 2 callers
Method
ClearWriteHeaders
ClearWriteHeaders clears all write headers previously set.
lib/go/thrift/header_protocol.go:117
↓ 2 callers
Method
Close
()
lib/netstd/Thrift/Transport/TTransport.cs:84
↓ 2 callers
Method
ConfigureLogging
(ILoggingBuilder logging)
tutorial/netstd/Server/Program.cs:51
↓ 2 callers
Method
Connect
contrib/fb303/TClientInfo.h:259
↓ 2 callers
Method
CreateContextAsync
<summary> Called when a new client has connected and is about to being processing */ </summary>
lib/netstd/Thrift/Server/TServerEventHandler.cs:49
↓ 2 callers
Method
CreateLogger
()
tutorial/netstd/Server/Program.cs:58
↓ 2 callers
Method
DeleteContextAsync
<summary> Called when a client has finished request-handling to delete server context */ </summary>
lib/netstd/Thrift/Server/TServerEventHandler.cs:54
↓ 2 callers
Method
Dispose
(bool disposing)
lib/netstd/Thrift/Transport/Server/TNamedPipeServerTransport.cs:430
↓ 2 callers
Method
Dispose
()
lib/netstd/Thrift/Transport/Server/NullLogger.cs:40
↓ 2 callers
Method
Dispose
IDisposable
lib/netstd/Thrift/Transport/Client/TStreamTransport.cs:133
↓ 2 callers
Method
DoTheMath
( int arg1, int arg2)
contrib/Rebus/ServiceImpl/Client.cs:148
↓ 2 callers
Method
Error
()
lib/go/thrift/application_exception.go:106
↓ 2 callers
Method
Error
()
lib/go/thrift/transport_exception.go:62
↓ 2 callers
Method
Error
()
lib/go/thrift/protocol_exception.go:63
↓ 2 callers
Method
Execute
(List<string> args)
test/netstd/Server/TestServer.cs:565
↓ 2 callers
Function
ExtractExceptionFromResult
ExtractExceptionFromResult extracts exceptions defined in thrift IDL from result TStruct used in TClient.Call. For a endpoint defined in thrift IDL l
lib/go/thrift/exception.go:141
↓ 2 callers
Function
FindAvailableTCPServerPort
(startPort int)
lib/go/thrift/transport_test.go:158
↓ 2 callers
Function
Float64Ptr
(v float64)
lib/go/thrift/pointerize.go:48
↓ 2 callers
Method
Flush
(ctx context.Context)
lib/go/thrift/framed_transport.go:204
↓ 2 callers
Method
GetAsyncProcessor
(TTransport trans, TServer baseServer = null)
lib/netstd/Thrift/Processor/ITProcessorFactory.cs:26
↓ 2 callers
Method
GetB
()
lib/go/thrift/serializer_types_test.go:123
↓ 2 callers
Method
GetBuffer
()
lib/netstd/Thrift/Transport/Client/TMemoryBufferTransport.cs:152
↓ 2 callers
Method
GetProtocol
(trans TTransport)
lib/go/thrift/protocol_factory.go:24
↓ 2 callers
Function
GetReadHeaderList
GetReadHeaderList returns the key list of read THeaders from the context.
lib/go/thrift/header_context.go:74
↓ 2 callers
Function
GetResponseHelper
GetResponseHelper retrieves the TResponseHelper implementation injected into the context object. If no helper was found in the context object, a nop
lib/go/thrift/response_helper.go:84
↓ 2 callers
Function
GetServerParams
( host string, port int64, domain_socket string, transport string, protocol string, ssl bool, certPath
test/go/src/common/server.go:40
↓ 2 callers
Method
GetTBinaryStrictRead
GetTBinaryStrictRead returns the strict read configuration TBinaryProtocol should follow. It's nil-safe. DEFAULT_TBINARY_STRICT_READ will be returned
lib/go/thrift/configuration.go:213
↓ 2 callers
Method
GetTBinaryStrictWrite
GetTBinaryStrictWrite returns the strict read configuration TBinaryProtocol should follow. It's nil-safe. DEFAULT_TBINARY_STRICT_WRITE will be return
lib/go/thrift/configuration.go:225
↓ 2 callers
Method
GetTHeaderTransforms
GetTHeaderTransforms returns the THeaderTransformIDs to be applied on THeaderTransport writing. It's nil-safe. If tc is nil, empty slice will be retu
lib/go/thrift/configuration.go:255
↓ 2 callers
Function
Int64Ptr
(v int64)
lib/go/thrift/pointerize.go:53
↓ 2 callers
Function
Int8Ptr
(v int8)
lib/go/thrift/pointerize.go:50
↓ 2 callers
Method
IsJsonNumeric
<summary> Return true if the given byte could be a valid part of a JSON number. </summary>
lib/netstd/Thrift/Protocol/Utilities/TJsonProtocolHelper.cs:122
↓ 2 callers
Method
Listen
()
lib/go/thrift/server_socket.go:55
↓ 2 callers
Function
NewNumericFromDouble
(dValue float64)
lib/go/thrift/numeric.go:54
↓ 2 callers
Function
NewStreamTransportR
(r io.Reader)
lib/go/thrift/iostream_transport.go:84
↓ 2 callers
Function
NewStreamTransportW
(w io.Writer)
lib/go/thrift/iostream_transport.go:88
↓ 2 callers
Function
NewTCompactProtocolConf
(trans TTransport, conf *TConfiguration)
lib/go/thrift/compact_protocol.go:136
↓ 2 callers
Function
NewTDebugProtocolFactoryWithLogger
NewTDebugProtocolFactoryWithLogger creates a TDebugProtocolFactory.
lib/go/thrift/debug_protocol.go:77
↓ 2 callers
Function
NewTHeaderProtocol
Deprecated: Use NewTHeaderProtocolConf instead.
lib/go/thrift/header_protocol.go:43
↓ 2 callers
Function
NewTHttpPostClientTransportFactory
Deprecated: Use NewTHttpClientTransportFactory instead.
lib/go/thrift/http_client.go:238
↓ 2 callers
Function
NewTMultiplexedProtocol
(protocol TProtocol, serviceName string)
lib/go/thrift/multiplexed_protocol.go:65
↓ 2 callers
Function
NewTRichTransport
Wraps Transport to provide TRichTransport interface
lib/go/thrift/rich_transport.go:32
↓ 2 callers
Function
NewTSSLServerSocket
(listenAddr string, cfg *tls.Config)
lib/go/thrift/ssl_server_socket.go:36
↓ 2 callers
Function
NewTSimpleJSONProtocolConf
(t TTransport, conf *TConfiguration)
lib/go/thrift/simple_json_protocol.go:116
↓ 2 callers
Method
OutputElemListBegin
(elemType TType, size int)
lib/go/thrift/simple_json_protocol.go:810
↓ 2 callers
Method
OutputElemListBegin
(elemType TType, size int)
lib/go/thrift/json_protocol.go:461
↓ 2 callers
Method
OutputF64
(value float64)
lib/go/thrift/simple_json_protocol.go:698
↓ 2 callers
Method
ParseBase64EncodedBody
()
lib/go/thrift/simple_json_protocol.go:972
↓ 2 callers
Method
ParseElemListBegin
()
lib/go/thrift/simple_json_protocol.go:1101
↓ 2 callers
Method
ParseElemListBegin
()
lib/go/thrift/json_protocol.go:478
↓ 2 callers
Method
ParseF64
()
lib/go/thrift/simple_json_protocol.go:1012
↓ 2 callers
Method
PeekAsync
(CancellationToken cancellationToken)
lib/netstd/Thrift/Transport/TTransport.cs:49
↓ 2 callers
Function
Pointer
Pointer is the generic (type parameter) version of the helper function that converts types to pointer types.
lib/go/thrift/pointerize.go:24
↓ 2 callers
Method
PreServeAsync
<summary> Called before the server begins */ </summary>
lib/netstd/Thrift/Server/TServerEventHandler.cs:44
↓ 2 callers
Method
ProcessContextAsync
<summary> Called when a client is about to call the processor */ </summary>
lib/netstd/Thrift/Server/TServerEventHandler.cs:60
↓ 2 callers
Method
Read
(ctx context.Context, iprot TProtocol)
lib/go/thrift/serializer_types_test.go:166
↓ 2 callers
Method
Read
(ctx context.Context, msg TStruct, b []byte)
lib/go/thrift/deserializer.go:61
↓ 2 callers
Method
Read
(buf []byte)
lib/go/thrift/framed_transport.go:137
↓ 2 callers
Method
ReadAsync
(TProtocol tProtocol, CancellationToken cancellationToken = default)
lib/netstd/Thrift/Protocol/TBase.cs:33
↓ 2 callers
Method
ReadBinary
(ctx context.Context)
lib/go/thrift/simple_json_protocol.go:571
↓ 2 callers
Method
ReadBinary
(ctx context.Context)
lib/go/thrift/json_protocol.go:414
← previous
next →
1,901–2,000 of 14,751, ranked by callers