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
↓ 10 callers
Function
normalize_for_compare
Normalize generated code for comparison by removing comments and extra whitespace
compiler/cpp/tests/cpp/t_cpp_generator_test_utils.h:70
↓ 10 callers
Function
parse_thrift_for_test
Parse a thrift program for testing
compiler/cpp/tests/cpp/t_cpp_generator_test_utils.h:119
↓ 10 callers
Method
port
(int port)
lib/java/src/main/java/org/apache/thrift/transport/TServerTransport.java:47
↓ 10 callers
Method
readBytes
lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:312
↓ 10 callers
Method
readJSONSyntaxChar
(byte[] b)
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:318
↓ 10 callers
Method
readJSONSyntaxChar
(byte[] b)
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:338
↓ 10 callers
Method
readUuid
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:43
↓ 10 callers
Method
read_map_end
lib/rb/lib/thrift/protocol/json_protocol.rb:719
↓ 10 callers
Method
serialize
Serialize the Thrift object into a byte array. The process is simple, just clear the byte array output, write the object into it, and grab the raw byt
lib/java/src/main/java/org/apache/thrift/TSerializer.java:67
↓ 10 callers
Method
setTimeout
Sets the socket timeout and connection timeout. @param timeout Milliseconds timeout
lib/java/src/main/java/org/apache/thrift/transport/TSocket.java:165
↓ 10 callers
Method
shutdown
lib/rb/spec/nonblocking_server_spec.rb:51
↓ 10 callers
Method
split
compiler/cpp/src/thrift/generate/t_php_generator.cc:344
↓ 10 callers
Method
stop
lib/cpp/test/processor/ServerThread.cpp:60
↓ 10 callers
Method
testStruct
(Xtruct thing)
lib/java/src/test/java/org/apache/thrift/server/ServerTestBase.java:125
↓ 10 callers
Function
thrift_compact_protocol_write_bool
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:666
↓ 10 callers
Function
thrift_compact_protocol_write_i16
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:722
↓ 10 callers
Function
thrift_compact_protocol_write_i32
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:737
↓ 10 callers
Function
thrift_compact_protocol_write_i64
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:752
↓ 10 callers
Function
thrift_compact_protocol_write_varint32
* Write an i32 as a varint. Results in 1-5 bytes on the wire. */
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:196
↓ 10 callers
Function
thrift_protocol_read_i32
lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol.c:382
↓ 10 callers
Method
toString
compiler/cpp/tests/catch/catch.hpp:4209
↓ 10 callers
Function
trim
compiler/cpp/tests/catch/catch.hpp:8569
↓ 10 callers
Method
values
()
lib/java/src/test/java/org/apache/thrift/partial/EnumCacheTest.java:63
↓ 10 callers
Method
wait
(self, timeout=None)
test/crossrunner/run.py:348
↓ 10 callers
Method
write
(b []byte)
lib/go/thrift/simple_json_protocol.go:1324
↓ 10 callers
Method
write
Writes the buffer to the output @param buf The output data buffer @throws TTransportException if an error occurs writing data
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:120
↓ 10 callers
Method
writeBool
(boolean b)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:35
↓ 10 callers
Method
write_i16
(i16)
lib/rb/lib/thrift/protocol/json_protocol.rb:458
↓ 9 callers
Method
CheckReadBytesAvailable
(TSet set)
lib/netstd/Thrift/Protocol/TProtocol.cs:86
↓ 9 callers
Method
GetTypeIdForTypeName
(byte[] name)
lib/netstd/Thrift/Protocol/Utilities/TJsonProtocolHelper.cs:58
↓ 9 callers
Function
NewTHeaderProtocolFactoryConf
NewTHeaderProtocolFactoryConf creates a factory for THeader with given TConfiguration.
lib/go/thrift/header_protocol.go:93
↓ 9 callers
Function
NewTMemoryBufferTransportFactory
(size int)
lib/go/thrift/memory_buffer.go:47
↓ 9 callers
Function
NewTSocketConf
NewTSocketConf creates a net.Conn-backed TTransport, given a host and port. Example: trans := thrift.NewTSocketConf("localhost:9090", &TConfiguratio
lib/go/thrift/socket.go:62
↓ 9 callers
Method
OutputPostValue
()
lib/go/thrift/simple_json_protocol.go:642
↓ 9 callers
Method
OutputPreValue
()
lib/go/thrift/simple_json_protocol.go:624
↓ 9 callers
Method
Parse
(List<string> args)
test/netstd/Server/TestServer.cs:81
↓ 9 callers
Method
ReadMessageEnd
(ctx context.Context)
lib/go/thrift/protocol.go:58
↓ 9 callers
Function
ReadWriteBinary
(t testing.TB, p TProtocol, trans TTransport)
lib/go/thrift/protocol_test.go:523
↓ 9 callers
Function
ReadWriteByte
(t testing.TB, p TProtocol, trans TTransport)
lib/go/thrift/protocol_test.go:291
↓ 9 callers
Function
ReadWriteDouble
(t testing.TB, p TProtocol, trans TTransport)
lib/go/thrift/protocol_test.go:449
↓ 9 callers
Function
ReadWriteI64
(t testing.TB, p TProtocol, trans TTransport)
lib/go/thrift/protocol_test.go:413
↓ 9 callers
Method
RegisterProcessor
(name string, processor TProcessor)
lib/go/thrift/multiplexed_protocol.go:184
↓ 9 callers
Function
RunSocketTestSuite
( t *testing.T, protocolFactory thrift.TProtocolFactory, transportFactory thrift.TTransportFactory, )
lib/go/test/tests/protocols_test.go:29
↓ 9 callers
Method
WriteBool
(ctx context.Context, value bool)
lib/go/thrift/protocol.go:47
↓ 9 callers
Method
WriteByte
(ctx context.Context, value int8)
lib/go/thrift/binary_protocol.go:215
↓ 9 callers
Method
WriteDouble
(ctx context.Context, value float64)
lib/go/thrift/protocol.go:52
↓ 9 callers
Method
WriteI16
(ctx context.Context, value int16)
lib/go/thrift/protocol.go:49
↓ 9 callers
Method
WriteMapBegin
(ctx context.Context, keyType TType, valueType TType, size int)
lib/go/thrift/protocol.go:41
↓ 9 callers
Method
WriteSetBegin
(ctx context.Context, elemType TType, size int)
lib/go/thrift/protocol.go:45
↓ 9 callers
Method
_deprecated_arg
(self, args, kwargs, pos, key)
lib/py/src/transport/TSSLSocket.py:96
↓ 9 callers
Method
add
(n1, n2)
tutorial/rb/RubyServer.rb:39
↓ 9 callers
Method
bytesToHexString
Stringify a byte array to the hex representation for each byte. @param bytes the byte array to convert to hex string. @return hex string.
lib/java/src/main/java/org/apache/thrift/utils/StringUtils.java:38
↓ 9 callers
Function
checkIntegerLimits
(i, bits)
lib/py/src/protocol/TProtocol.py:403
↓ 9 callers
Function
checkRecursively
(map1, map2)
lib/nodejs/test/test_driver.mjs:286
↓ 9 callers
Method
cleanupSelectionKey
Do connection-close cleanup on a given SelectionKey.
lib/java/src/main/java/org/apache/thrift/server/AbstractNonblockingServer.java:209
↓ 9 callers
Method
createSmallStruct
(int id)
lib/java/src/test/java/org/apache/thrift/partial/PartialThriftTestData.java:36
↓ 9 callers
Method
decrementActiveProcessors
Decrement the count of connections currently processing.
lib/cpp/src/thrift/server/TNonblockingServer.h:464
↓ 9 callers
Function
fail
(msg: string)
lib/nodets/test/test_driver.ts:135
↓ 9 callers
Method
fromString
Deserialize the Thrift object from a Java string, using the default JVM charset encoding. @param base The object to read into @param data The string
lib/java/src/main/java/org/apache/thrift/TDeserializer.java:444
↓ 9 callers
Method
getCompactProtoTestStruct
()
lib/java/src/test/java/org/apache/thrift/Fixtures.java:48
↓ 9 callers
Method
getConfiguration
()
lib/java/src/main/java/org/apache/thrift/transport/layered/TLayeredTransport.java:30
↓ 9 callers
Method
getKey
()
lib/java/src/main/java/org/apache/thrift/protocol/TProtocol.java:116
↓ 9 callers
Method
getOneOfEach
()
lib/java/src/test/java/org/apache/thrift/Fixtures.java:36
↓ 9 callers
Method
getRole
()
lib/java/src/main/java/org/apache/thrift/transport/TSaslTransport.java:206
↓ 9 callers
Method
get_program
compiler/cpp/src/thrift/parse/t_type.h:66
↓ 9 callers
Method
get_true_type
compiler/cpp/src/thrift/parse/parse.cc:25
↓ 9 callers
Method
init_generator
* Prepares for file generation by opening up the necessary file output * streams. * * @param tprogram The program to generate */
compiler/cpp/src/thrift/generate/t_st_generator.cc:167
↓ 9 callers
Method
is_service
compiler/cpp/src/thrift/parse/t_type.h:64
↓ 9 callers
Method
match
compiler/cpp/tests/catch/catch.hpp:9257
↓ 9 callers
Method
netstd_type_usings
compiler/cpp/src/thrift/generate/t_netstd_generator.cc:371
↓ 9 callers
Method
newInstance
(Class<T> clazz)
lib/java/src/test/java/org/apache/thrift/partial/ThriftSerDe.java:62
↓ 9 callers
Method
preServe
Called before the server begins.
lib/java/src/main/java/org/apache/thrift/server/TServerEventHandler.java:38
↓ 9 callers
Function
read
(self, *args, **kwargs)
lib/py/src/server/TNonblockingServer.py:86
↓ 9 callers
Method
readAll
(byte[] buf, int off, int len)
lib/javame/src/org/apache/thrift/protocol/TBinaryProtocol.java:326
↓ 9 callers
Method
readByte
Read a single byte off the wire. Nothing interesting here.
lib/java/src/main/java/org/apache/thrift/protocol/TCompactProtocol.java:605
↓ 9 callers
Method
readByte
(self)
lib/py/src/protocol/TBinaryProtocol.py:211
↓ 9 callers
Method
readI32
()
lib/java/src/main/java/org/apache/thrift/protocol/TBinaryProtocol.java:358
↓ 9 callers
Method
readI32
(self)
lib/py/src/protocol/TBinaryProtocol.py:221
↓ 9 callers
Method
readJSONString
(boolean skipContext)
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:638
↓ 9 callers
Method
readJSONString
(boolean skipContext)
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:627
↓ 9 callers
Method
read_i64
lib/rb/lib/thrift/protocol/json_protocol.rb:759
↓ 9 callers
Method
read_json_object_end
lib/rb/lib/thrift/protocol/json_protocol.rb:647
↓ 9 callers
Method
read_json_object_start
lib/rb/lib/thrift/protocol/json_protocol.rb:640
↓ 9 callers
Method
read_list_begin
lib/rb/lib/thrift/protocol/json_protocol.rb:724
↓ 9 callers
Method
read_set_begin
lib/rb/lib/thrift/protocol/json_protocol.rb:733
↓ 9 callers
Function
read_varint64
lib/rb/ext/compact_protocol.c:430
↓ 9 callers
Method
seek
(long pos)
lib/java/src/main/java/org/apache/thrift/transport/TSeekableFile.java:36
↓ 9 callers
Method
select
Select and process IO events appropriately: If there are connections to be accepted, accept them. If there are existing connections with data waiting
lib/java/src/main/java/org/apache/thrift/server/TNonblockingServer.java:167
↓ 9 callers
Method
send_message
(name, args_class, args = {})
lib/rb/lib/thrift/client.rb:32
↓ 9 callers
Method
serve
lib/rb/lib/thrift/server/base_server.rb:29
↓ 9 callers
Method
setServerEventHandler
lib/cpp/src/thrift/server/TServer.h:256
↓ 9 callers
Method
start
* Starts the thread. Does platform specific thread creation and * configuration then invokes the run method of the Runnable object bound * to th
lib/cpp/src/thrift/concurrency/Thread.h:121
↓ 9 callers
Method
testDouble
lib/c_glib/test/testthrifttestclient.cpp:104
↓ 9 callers
Function
thrift_audit_warning
compiler/cpp/src/thrift/audit/t_audit.cpp:30
↓ 9 callers
Method
toHexString
(byte[] byteArray)
contrib/thrift-maven-plugin/src/main/java/org/apache/thrift/maven/AbstractThriftMojo.java:373
↓ 9 callers
Function
white
()
lib/nodejs/lib/thrift/json_parse.js:150
↓ 9 callers
Method
writeI32
(self, i32)
lib/py/src/protocol/TBinaryProtocol.py:119
↓ 9 callers
Method
writeJSONArrayEnd
()
lib/php/lib/Protocol/TJSONProtocol.php:271
↓ 9 callers
Method
writeJSONArrayStart
()
lib/php/lib/Protocol/TJSONProtocol.php:264
↓ 9 callers
Method
write_binary
(str)
lib/rb/lib/thrift/protocol/json_protocol.rb:478
← previous
next →
601–700 of 14,751, ranked by callers