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
↓ 4 callers
Method
open
(TTransport transport)
lib/java/src/test/java/org/apache/thrift/server/ServerTestBase.java:497
↓ 4 callers
Method
overrideMimeType
()
lib/nodejs/test/thrift_4987_xhr_protocol.test.mjs:191
↓ 4 callers
Function
parse
* Parses a program */
compiler/cpp/src/thrift/main.cc:930
↓ 4 callers
Method
peek
(self)
lib/py/src/protocol/TJSONProtocol.py:167
↓ 4 callers
Function
performOptionalSelector
compiler/cpp/tests/catch/catch.hpp:1504
↓ 4 callers
Method
popContext
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:295
↓ 4 callers
Method
popContext
()
lib/php/lib/Protocol/TJSONProtocol.php:177
↓ 4 callers
Method
popContext
(self)
lib/py/src/protocol/TJSONProtocol.py:202
↓ 4 callers
Function
prepareClientCallReply
TestCase: Comprehensive call and reply workflow in the client. Setup mock to fail at a certain position. Return true if position exists otherwise fals
lib/go/test/tests/client_error_test.go:35
↓ 4 callers
Method
prepareTriggeredCall
* After prepareTriggeredCall() is invoked, calls to any of the *Wait() * functions won't return until triggerPendingCalls() is invoked * * Th
lib/cpp/test/processor/Handlers.h:104
↓ 4 callers
Function
printTo
lib/cpp/src/thrift/TPrintTo.h:32
↓ 4 callers
Method
pushContext
(JSONBaseContext c)
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:289
↓ 4 callers
Method
pushContext
($c)
lib/php/lib/Protocol/TJSONProtocol.php:171
↓ 4 callers
Method
pushContext
(JSONBaseContext c)
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:298
↓ 4 callers
Method
pushContext
(self, ctx)
lib/py/src/protocol/TJSONProtocol.py:198
↓ 4 callers
Function
rb_thrift_binary_proto_read_i32
lib/rb/ext/binary_protocol_accelerated.c:410
↓ 4 callers
Method
read
Read up to sz bytes from the decompressed bytes buffer, and read from the underlying transport if the decompression buffer is empty.
lib/py/src/transport/TZlibTransport.py:181
↓ 4 callers
Method
readAll
* TVirtualTransport provides a default implementation of readAll(). * We want to use the TBufferBase version instead. */
lib/cpp/src/thrift/transport/TBufferTransports.h:700
↓ 4 callers
Method
readHeaders
lib/cpp/src/thrift/transport/THttpTransport.cpp:224
↓ 4 callers
Method
readJSONArrayEnd
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:847
↓ 4 callers
Method
readJSONArrayEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:819
↓ 4 callers
Method
readJSONArrayStart
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:841
↓ 4 callers
Method
readJSONArrayStart
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:813
↓ 4 callers
Method
readMessageEnd
()
lib/javame/src/org/apache/thrift/protocol/TProtocol.java:131
↓ 4 callers
Method
readString
(&$value)
lib/php/lib/Protocol/TBinaryProtocol.php:450
↓ 4 callers
Method
readVarint64
Read an i64 from the wire as a proper varint. The MSB of each byte is set if there is another byte to follow. This can read up to 10 bytes.
lib/go/thrift/compact_protocol.go:771
↓ 4 callers
Function
read_byte_direct
lib/rb/ext/binary_protocol_accelerated.c:282
↓ 4 callers
Method
registerDefinition
* Registers a Thrift definition namespace. * * @param string $namespace The definition namespace * @param array|string $paths The locat
lib/php/lib/ClassLoader/ThriftClassLoader.php:83
↓ 4 callers
Method
release
lib/py/src/ext/types.h:101
↓ 4 callers
Function
releaseOneDescriptor
lib/cpp/src/thrift/server/TServerFramework.cpp:98
↓ 4 callers
Method
reset
lib/py/src/ext/types.h:96
↓ 4 callers
Method
resizeIfNecessary
(int size)
lib/java/src/main/java/org/apache/thrift/transport/AutoExpandingBuffer.java:36
↓ 4 callers
Function
run
(name, cases)
lib/nodejs/test/deep-constructor.test.js:324
↓ 4 callers
Function
runTests
()
lib/nodejs/test/client.mjs:175
↓ 4 callers
Function
run_parser_fuzzer
Set up and run the fuzzer for a specific protocol. Args: protocol_factory_class: The Thrift protocol factory class to use
lib/py/test/fuzz/fuzz_common.py:151
↓ 4 callers
Function
run_roundtrip_fuzzer
Set up and run the fuzzer for a specific protocol. Args: protocol_factory_class: The Thrift protocol factory class to use
lib/py/test/fuzz/fuzz_common.py:141
↓ 4 callers
Method
runnable
* Gets the runnable object this thread is hosting */
lib/cpp/src/thrift/concurrency/Thread.h:160
↓ 4 callers
Method
seekToChunk
(int chunk)
lib/java/src/main/java/org/apache/thrift/transport/TFileTransport.java:476
↓ 4 callers
Method
sendSaslMessage
Send a complete Thrift SASL message. @param status The status to send. @param payload The data to send as the payload of this message. @throws TTrans
lib/java/src/main/java/org/apache/thrift/transport/TSaslTransport.java:120
↓ 4 callers
Method
serializeBinary
(TBase obj)
lib/java/src/test/java/org/apache/thrift/partial/ThriftSerDe.java:42
↓ 4 callers
Method
serializeCompact
(TBase obj)
lib/java/src/test/java/org/apache/thrift/partial/ThriftSerDe.java:46
↓ 4 callers
Method
serve
contrib/zeromq/TZmqServer.h:49
↓ 4 callers
Method
server
lib/cpp/test/SecurityTest.cpp:101
↓ 4 callers
Method
setBit
Returns v, with the bit at position set to 1 or 0 depending on value. @param v the value whose bit is to be set. @param position the 0 based bit numb
lib/java/src/main/java/org/apache/thrift/EncodingUtils.java:131
↓ 4 callers
Method
setCachedAddress
lib/cpp/src/thrift/transport/TSocket.cpp:934
↓ 4 callers
Method
setChunkSize
lib/cpp/src/thrift/transport/TFileTransport.h:212
↓ 4 callers
Method
setCounter
contrib/fb303/cpp/FacebookBase.cpp:74
↓ 4 callers
Method
setDebug
* Sets debugging output on or off * * @param bool $debug */
lib/php/lib/Transport/TSocket.php:173
↓ 4 callers
Method
setMaxEventSize
lib/cpp/src/thrift/transport/TFileTransport.h:243
↓ 4 callers
Method
setRemoteAddress
Set the remote socket address for this ServerContext. The remoteAddress is null when transport is not socket based @param remoteAddress The remote so
lib/java/src/main/java/org/apache/thrift/server/ServerContext.java:54
↓ 4 callers
Method
setValue
lib/cpp/test/processor/Handlers.h:151
↓ 4 callers
Method
set_string_byte
Deprecated: Use Thrift::Bytes instead
lib/rb/lib/thrift/transport/base_transport.rb:44
↓ 4 callers
Method
sigwait
(self, sig=SIGKILL, timeout=2)
test/crossrunner/run.py:115
↓ 4 callers
Method
skipTest
compiler/cpp/tests/catch/catch.hpp:8475
↓ 4 callers
Function
skip_element
lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:441
↓ 4 callers
Function
skip_list_or_set_contents
Helper method to skip the contents of a list or set (assumes the list/set header has been read).
lib/rb/ext/struct.c:451
↓ 4 callers
Function
socket_connect
lib/lua/src/usocket.c:191
↓ 4 callers
Function
socket_create
lib/lua/src/usocket.c:98
↓ 4 callers
Function
socket_wait
lib/lua/src/usocket.c:50
↓ 4 callers
Method
start
(I iface, T args, AsyncMethodCallback<R> resultHandler)
lib/java/src/main/java/org/apache/thrift/AsyncProcessFunction.java:35
↓ 4 callers
Method
testBinary
lib/c_glib/test/testthrifttestclient.cpp:110
↓ 4 callers
Method
testBit
Bitfield utilities. Returns true if the bit at position is set in v. @param v the value whose bit is to be checked. @param position the 0 based bit n
lib/java/src/main/java/org/apache/thrift/EncodingUtils.java:84
↓ 4 callers
Method
testException
test/cpp/src/TestServer.cpp:327
↓ 4 callers
Method
testI32
(thing: number)
lib/nodets/test/test_handler.ts:123
↓ 4 callers
Method
testMultiException
test/cpp/src/TestServer.cpp:344
↓ 4 callers
Method
testNest
(thing: ttypes.Xtruct2)
lib/nodets/test/test_handler.ts:141
↓ 4 callers
Method
testStruct
(thing: ttypes.Xtruct)
lib/nodets/test/test_handler.ts:138
↓ 4 callers
Method
test_logfile
(cls, test_name, prog_kind, dir=None)
test/crossrunner/report.py:89
↓ 4 callers
Function
thrift_binary_protocol_read_field_begin
lib/c_glib/src/thrift/c_glib/protocol/thrift_binary_protocol.c:484
↓ 4 callers
Function
thrift_binary_protocol_write_message_begin
lib/c_glib/src/thrift/c_glib/protocol/thrift_binary_protocol.c:60
↓ 4 callers
Function
thrift_compact_protocol_get_ttype
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:154
↓ 4 callers
Function
thrift_compact_protocol_read_string
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:1376
↓ 4 callers
Function
thrift_framed_transport_is_open
lib/c_glib/src/thrift/c_glib/transport/thrift_framed_transport.c:49
↓ 4 callers
Function
thrift_ssl_socket_get_ssl_error
lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c:163
↓ 4 callers
Function
thrift_ssl_socket_new_with_host
lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c:801
↓ 4 callers
Function
thrift_ssl_socket_open
implements thrift_transport_open */
lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c:262
↓ 4 callers
Function
thrift_struct_write
lib/c_glib/src/thrift/c_glib/thrift_struct.c:33
↓ 4 callers
Function
thrift_transport_read
lib/c_glib/src/thrift/c_glib/transport/thrift_transport.c:64
↓ 4 callers
Method
toPrettyString
(StringBuilder sb, int level)
lib/java/src/main/java/org/apache/thrift/partial/ThriftMetadata.java:301
↓ 4 callers
Method
toZigZag
Some varint / zigzag helper methods
lib/php/lib/Protocol/TCompactProtocol.php:108
↓ 4 callers
Method
triggerPendingCalls
* Wake up all calls waiting in blockUntilTriggered() */
lib/cpp/test/processor/Handlers.h:112
↓ 4 callers
Method
type_name
(type)
lib/rb/lib/thrift/types.rb:89
↓ 4 callers
Method
unsupportedFieldTypeException
(byte fieldType)
lib/java/src/main/java/org/apache/thrift/partial/ThriftMetadata.java:549
↓ 4 callers
Method
validate_uuid!
(uuid)
lib/rb/lib/thrift/uuid.rb:26
↓ 4 callers
Method
valueOr
compiler/cpp/tests/catch/catch.hpp:3163
↓ 4 callers
Method
verify
(self, serialized, factory)
lib/py/test/thrift_TSerializer.py:44
↓ 4 callers
Method
write
(byte[] buf, int off, int len)
lib/java/src/main/java/org/apache/thrift/transport/TByteBuffer.java:63
↓ 4 callers
Method
writeCollectionEnd
()
lib/php/lib/Protocol/TCompactProtocol.php:280
↓ 4 callers
Method
writeFieldBeginInternal
The workhorse of writeFieldBegin. It has the option of doing a 'type override' of the type header. This is used specifically in the boolean field case
lib/go/thrift/compact_protocol.go:211
↓ 4 callers
Function
writeFully
(tb testing.TB, w io.Writer, s string)
lib/go/thrift/socket_conn_test.go:53
↓ 4 callers
Method
writeJSONArrayEnd
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:520
↓ 4 callers
Method
writeJSONArrayEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:485
↓ 4 callers
Method
writeJSONArrayStart
()
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:514
↓ 4 callers
Method
writeJSONArrayStart
()
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:479
↓ 4 callers
Method
writeUuid
(UUID uuid)
lib/java/src/main/java/org/apache/thrift/protocol/TLegacyUuidProtocolDecorator.java:44
↓ 4 callers
Function
write_collection_begin
lib/rb/ext/compact_protocol.c:159
↓ 4 callers
Function
write_container
lib/rb/ext/struct.c:250
↓ 4 callers
Method
write_field
Writes a field based on the field information, field ID and value. field_info - A Hash containing the definition of the field: :name - The name of
lib/rb/lib/thrift/protocol/base_protocol.rb:241
↓ 4 callers
Function
write_field_begin_internal
lib/rb/ext/compact_protocol.c:106
↓ 4 callers
Method
write_json_char
Write the character ch as part of a JSON string, escaping as appropriate.
lib/rb/lib/thrift/protocol/json_protocol.rb:264
← previous
next →
1,401–1,500 of 14,751, ranked by callers