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
↓ 20 callers
Method
testI64
(long thing)
lib/java/src/test/java/org/apache/thrift/server/ServerTestBase.java:91
↓ 20 callers
Function
writeByte
(w io.Writer, c byte)
lib/go/thrift/rich_transport.go:67
↓ 20 callers
Method
writeJSONNumber
(self, number, formatter='{0}')
lib/py/src/protocol/TJSONProtocol.py:218
↓ 20 callers
Method
writeListBegin
(TList list)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:27
↓ 20 callers
Method
writeListEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:29
↓ 20 callers
Method
write_field_stop
lib/rb/lib/thrift/protocol/json_protocol.rb:415
↓ 20 callers
Method
write_type
Writes a field value based on the field information. field_info - A Hash containing the definition of the field: :type - The Thrift::Types constant
lib/rb/lib/thrift/protocol/base_protocol.rb:269
↓ 19 callers
Function
NewMockTProtocol
NewMockTProtocol creates a new mock instance.
lib/go/test/tests/protocol_mock.go:27
↓ 19 callers
Method
ReadAllAsync
(byte[] buffer, int offset, int length, CancellationToken cancellationToken)
lib/netstd/Thrift/Transport/TTransport.cs:114
↓ 19 callers
Method
WriteMessageBegin
(ctx context.Context, name string, typeId TMessageType, seqid int32)
lib/go/thrift/protocol.go:34
↓ 19 callers
Method
WriteMessageEnd
(ctx context.Context)
lib/go/thrift/protocol.go:35
↓ 19 callers
Method
available_read
lib/cpp/src/thrift/transport/TBufferTransports.h:675
↓ 19 callers
Method
deserialize
Deserialize the Thrift object from a byte array. @param base The object to read into @param bytes The array to read from @throws TException if an err
lib/java/src/main/java/org/apache/thrift/TDeserializer.java:133
↓ 19 callers
Method
getBytesRemainingInBuffer
Get the number of bytes remaining in the underlying buffer. Returns -1 if this is a non-buffered transport. @return the number of bytes remaining in
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:186
↓ 19 callers
Method
getFactory
The protocol factory for the protocol being tested.
lib/java/src/test/java/org/apache/thrift/protocol/ProtocolTestBase.java:56
↓ 19 callers
Method
getTransport
* Accessor for transport * * @return TTransport */
lib/php/lib/Protocol/TProtocol.php:55
↓ 19 callers
Method
read
(Nonblocking) Read fields from underlying transport layer. @param transport underlying transport. @return true if header is complete after read. @thr
lib/java/src/main/java/org/apache/thrift/transport/sasl/FrameHeaderReader.java:60
↓ 19 callers
Method
readAll
Guarantees that all of len bytes are actually read off the transport. @param buf Array to read into @param off Index to start reading at @param len M
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:96
↓ 19 callers
Method
reset
Reset any internal state back to a blank slate. This method only needs to be implemented for stateful protocols.
lib/java/src/main/java/org/apache/thrift/protocol/TProtocol.java:426
↓ 19 callers
Function
roundtrip
($testClient, $method, $value)
test/php/TestClient.php:139
↓ 19 callers
Method
set_req
compiler/cpp/src/thrift/parse/t_field.h:74
↓ 19 callers
Method
size
contrib/fb303/TClientInfo.cpp:98
↓ 19 callers
Method
start
(self)
test/crossrunner/run.py:73
↓ 19 callers
Method
tap
(&block)
lib/rb/spec/spec_helper.rb:35
↓ 19 callers
Method
testDouble
()
lib/java/src/test/java/org/apache/thrift/protocol/ProtocolTestBase.java:58
↓ 19 callers
Function
toString
compiler/cpp/tests/catch/catch.hpp:1707
↓ 19 callers
Method
write_i32
(i32)
lib/rb/lib/thrift/protocol/json_protocol.rb:462
↓ 18 callers
Method
IsOpen
Returns true if the transport is open
lib/go/thrift/transport.go:52
↓ 18 callers
Function
NewTJSONProtocolFactory
()
lib/go/thrift/json_protocol.go:55
↓ 18 callers
Method
Open
Opens the transport for communication
lib/go/thrift/transport.go:49
↓ 18 callers
Method
ReadFieldEnd
(ctx context.Context)
lib/go/thrift/protocol.go:62
↓ 18 callers
Method
WriteByte
(ctx context.Context, value int8)
lib/go/thrift/protocol.go:48
↓ 18 callers
Method
WriteListBegin
(ctx context.Context, elemType TType, size int)
lib/go/thrift/protocol.go:43
↓ 18 callers
Method
byteSequence
(int start, int end)
lib/java/src/test/java/org/apache/thrift/transport/TestTFramedTransport.java:49
↓ 18 callers
Method
flush
(self)
lib/py/src/transport/TSocket.py:199
↓ 18 callers
Method
getBuffer
Access the protocol's underlying buffer directly. If this is not a buffered transport, return null. @return protocol's Underlying buffer
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:164
↓ 18 callers
Method
getValue
()
lib/java/src/main/java/org/apache/thrift/TEnum.java:23
↓ 18 callers
Function
make_pedantic
Wrap a protocol in the pedantic sequence ID wrapper.
test/py/TestClient.py:357
↓ 18 callers
Function
read_file
Helper function to read file content
compiler/cpp/tests/cpp/t_cpp_generator_test_utils.h:40
↓ 18 callers
Method
read_type
Reads a field value based on the field information. field_info - A Hash containing the pertinent data to write: :type - The Thrift::Types constant
lib/rb/lib/thrift/protocol/base_protocol.rb:311
↓ 18 callers
Method
scopedElement
compiler/cpp/tests/catch/catch.hpp:9933
↓ 18 callers
Method
threadFactory
lib/cpp/src/thrift/concurrency/TimerManager.cpp:227
↓ 18 callers
Function
thrift_compact_protocol_write_byte
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:708
↓ 18 callers
Method
writeMapBegin
(TMap map)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:23
↓ 18 callers
Method
writeMapEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:25
↓ 18 callers
Method
writeSetBegin
(TSet set)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:31
↓ 18 callers
Method
writeSetEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:33
↓ 17 callers
Method
Add
(ctx context.Context, num1 int32, num2 int32)
tutorial/go/src/handler.go:44
↓ 17 callers
Method
FlushAsync
(CancellationToken cancellationToken)
lib/netstd/Thrift/Transport/TTransport.cs:170
↓ 17 callers
Function
NewTBinaryProtocolFactoryConf
(conf *TConfiguration)
lib/go/thrift/binary_protocol.go:90
↓ 17 callers
Method
build
(self)
lib/rs/src/configuration.rs:119
↓ 17 callers
Function
buildErrors
extract error messages from error queue
lib/cpp/src/thrift/transport/TSSLSocket.cpp:1142
↓ 17 callers
Method
clear
Clear the header and make it available to read a new header.
lib/java/src/main/java/org/apache/thrift/transport/sasl/FrameHeaderReader.java:50
↓ 17 callers
Method
createClient
lib/cpp/test/processor/ProcessorTest.cpp:262
↓ 17 callers
Method
fetch
Main entry function for fetching from servers. @return The fetched data.
lib/java/src/main/java/org/apache/thrift/TNonblockingMultiFetchClient.java:142
↓ 17 callers
Method
get
(self, timeout=None)
test/crossrunner/run.py:345
↓ 17 callers
Method
getBufferAsString
lib/cpp/src/thrift/transport/TBufferTransports.h:589
↓ 17 callers
Method
getBufferPosition
Return the index within the underlying buffer that specifies the next spot that should be read from. @return index within the underlying buffer that
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:175
↓ 17 callers
Method
getInnerTransport
()
lib/java/src/main/java/org/apache/thrift/transport/layered/TLayeredTransport.java:50
↓ 17 callers
Method
idleWorkerCount
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:91
↓ 17 callers
Function
init
()
lib/go/thrift/numeric.go:158
↓ 17 callers
Method
notifyAll
lib/cpp/src/thrift/concurrency/Monitor.cpp:180
↓ 17 callers
Method
pendingTaskCount
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:98
↓ 17 callers
Method
readAll
(byte[] buf, int off, int len)
lib/java/src/main/java/org/apache/thrift/protocol/TBinaryProtocol.java:484
↓ 17 callers
Method
read_string
lib/rb/lib/thrift/protocol/json_protocol.rb:767
↓ 17 callers
Method
read_uuid
lib/rb/lib/thrift/protocol/json_protocol.rb:775
↓ 17 callers
Method
set_doc
compiler/cpp/src/thrift/parse/t_doc.h:36
↓ 17 callers
Function
startsWith
compiler/cpp/tests/catch/catch.hpp:4424
↓ 17 callers
Function
thrift_compact_protocol_read_field_end
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:1031
↓ 17 callers
Function
thrift_compact_protocol_write_field_end
lib/c_glib/src/thrift/c_glib/protocol/thrift_compact_protocol.c:553
↓ 17 callers
Function
thrift_transport_read_all
lib/c_glib/src/thrift/c_glib/transport/thrift_transport.c:100
↓ 17 callers
Function
throw_tprotocolexception
lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:419
↓ 17 callers
Method
total
compiler/cpp/tests/catch/catch.hpp:2330
↓ 17 callers
Method
what
lib/cpp/src/thrift/Thrift.h:91
↓ 17 callers
Method
workerCount
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:93
↓ 17 callers
Method
write_struct_begin
(name)
lib/rb/lib/thrift/protocol/json_protocol.rb:397
↓ 17 callers
Method
write_struct_end
lib/rb/lib/thrift/protocol/json_protocol.rb:401
↓ 17 callers
Function
write_varint32
lib/rb/ext/compact_protocol.c:135
↓ 16 callers
Function
NewTBinaryProtocolConf
(t TTransport, conf *TConfiguration)
lib/go/thrift/binary_protocol.go:59
↓ 16 callers
Function
NewTMemoryBufferLen
(size int)
lib/go/thrift/memory_buffer.go:55
↓ 16 callers
Method
_deserialize
(self, objtype, data)
test/py/SerializationTest.py:201
↓ 16 callers
Method
_serialize
(self, obj)
test/py/SerializationTest.py:195
↓ 16 callers
Method
apply
(T t, U u, V v)
lib/java/src/test/java/org/apache/thrift/test/voidmethexceptions/TestVoidMethExceptions.java:595
↓ 16 callers
Method
available_write
lib/cpp/src/thrift/transport/TBufferTransports.h:680
↓ 16 callers
Method
compareTo
(Object o1, Object o2)
lib/java/src/main/java/org/apache/thrift/TBaseHelper.java:41
↓ 16 callers
Method
data
lib/cpp/src/thrift/TUuid.h:117
↓ 16 callers
Method
fileno
Returns the file descriptor of the associated socket.
lib/py/src/server/TNonblockingServer.py:227
↓ 16 callers
Method
getIndent
Gets a space string whose length is proportional to the given indent level.
lib/java/src/main/java/org/apache/thrift/partial/ThriftMetadata.java:112
↓ 16 callers
Method
is_json_numeric
Return true if the character ch is in [-+0-9.Ee]; false otherwise
lib/rb/lib/thrift/protocol/json_protocol.rb:235
↓ 16 callers
Method
parse
compiler/cpp/tests/catch/catch.hpp:4966
↓ 16 callers
Method
read
Reads a sequence of bytes from this channel into the given buffer. An attempt is made to read up to the number of bytes remaining in the buffer, that
lib/java/src/main/java/org/apache/thrift/transport/TTransport.java:69
↓ 16 callers
Method
readBinary
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:49
↓ 16 callers
Method
readJSONString
($skipContext)
lib/php/lib/Protocol/TJSONProtocol.php:277
↓ 16 callers
Method
read_struct_begin
lib/rb/lib/thrift/protocol/json_protocol.rb:683
↓ 16 callers
Function
serialize
(thrift_object, protocol_factory=TBinaryProtocol.TBinaryProtocolFactory())
lib/py/src/TSerialization.py:24
↓ 16 callers
Method
start
lib/cpp/test/processor/ServerThread.cpp:34
↓ 16 callers
Function
swap
* Swap two TUuid objects */
lib/cpp/src/thrift/TUuid.h:140
↓ 16 callers
Function
thrift_buffered_transport_write
implements thrift_transport_write */
lib/c_glib/src/thrift/c_glib/transport/thrift_buffered_transport.c:223
↓ 16 callers
Function
thrift_transport_write
lib/c_glib/src/thrift/c_glib/transport/thrift_transport.c:79
↓ 16 callers
Method
validate
(self)
lib/py/src/transport/TSSLSocket.py:289
← previous
next →
301–400 of 14,751, ranked by callers