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
↓ 60 callers
Method
Field
()
lib/go/thrift/application_exception.go:79
↓ 60 callers
Method
call
(T e)
lib/java/src/main/java/org/apache/thrift/protocol/TProtocol.java:104
↓ 59 callers
Method
to_s
lib/rb/lib/thrift/transport/socket.rb:138
↓ 58 callers
Function
NewTProtocolExceptionWithType
(errType int, err error)
lib/go/thrift/protocol_exception.go:87
↓ 58 callers
Method
getMessage
()
lib/java/src/main/java/org/apache/thrift/TApplicationException.java:74
↓ 57 callers
Function
test_objects
()
lib/rs/src/protocol/compact.rs:2910
↓ 56 callers
Function
initial_caps_to_underscores
* Makes a string friendly to C code standards by lowercasing and adding * underscores, with the exception of the first character. For example: * *
compiler/cpp/src/thrift/generate/t_c_glib_generator.cc:4545
↓ 55 callers
Method
fail
(Exception exception)
lib/java/src/test/java/org/apache/thrift/async/TestTAsyncClientManager.java:351
↓ 54 callers
Method
Read
(ctx context.Context, p TProtocol)
lib/go/thrift/serializer.go:33
↓ 53 callers
Method
bind
compiler/cpp/tests/catch/catch.hpp:4772
↓ 53 callers
Method
len
()
lib/javame/src/org/apache/thrift/TByteArrayOutputStream.java:38
↓ 52 callers
Method
Call
(ctx context.Context, method string, args, result TStruct)
lib/go/thrift/client.go:16
↓ 52 callers
Method
Flush
()
lib/go/thrift/transport.go:31
↓ 52 callers
Method
WriteString
(ctx context.Context, value string)
lib/go/thrift/protocol.go:53
↓ 51 callers
Method
check_type
(value, field, name, skip_nil = true)
lib/rb/lib/thrift/types.rb:47
↓ 51 callers
Method
read
(org.apache.thrift.protocol.TProtocol iproto, T struct)
lib/java/src/main/java/org/apache/thrift/scheme/IScheme.java:25
↓ 51 callers
Method
readMessageBegin
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:9
↓ 48 callers
Method
getvalue
(self)
lib/py/src/transport/TTransport.py:241
↓ 47 callers
Method
get
Gets an instance of the enum type {@code enumClass} corresponding to the given {@code value}. @param enumClass class of the enum to be returned. @par
lib/java/src/main/java/org/apache/thrift/partial/EnumCache.java:51
↓ 46 callers
Method
set_readable_bytes
Copy bytes from the source buffer `buf` into the internal read buffer, overwriting any existing bytes. Returns the number of bytes copied, which is `m
lib/rs/src/transport/mem.rs:97
↓ 45 callers
Function
equal
(a, b)
lib/ts/test/phantom-client.ts:40
↓ 45 callers
Function
equal
(a, b)
lib/js/test/phantom-client.js:32
↓ 45 callers
Method
readByte
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:35
↓ 45 callers
Method
wait
lib/cpp/src/thrift/concurrency/Monitor.cpp:160
↓ 44 callers
Method
array
()
lib/java/src/main/java/org/apache/thrift/transport/AutoExpandingBuffer.java:46
↓ 44 callers
Method
is_typedef
compiler/cpp/src/thrift/parse/t_type.h:55
↓ 44 callers
Method
reset
lib/cpp/src/thrift/transport/TFileTransport.cpp:950
↓ 44 callers
Method
split
(self)
lib/rs/src/transport/mem.rs:142
↓ 44 callers
Method
writeI32
(int i32)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:41
↓ 43 callers
Method
Close
()
lib/go/thrift/memory_buffer.go:68
↓ 43 callers
Method
readFieldBegin
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:17
↓ 42 callers
Function
NewTTransportExceptionFromError
(e error)
lib/go/thrift/transport_exception.go:86
↓ 42 callers
Method
send
()
lib/nodejs/test/thrift_4987_xhr_protocol.test.mjs:199
↓ 42 callers
Function
test
(name, f)
lib/ts/test/phantom-client.ts:46
↓ 41 callers
Method
Add
(ctx context.Context, num1 int32, num2 int32)
lib/go/test/fuzz/fuzz.go:99
↓ 41 callers
Function
PropagateTConfiguration
PropagateTConfiguration propagates cfg to impl if impl implements TConfigurationSetter and cfg is non-nil, otherwise it does nothing. NOTE: nil cfg i
lib/go/thrift/configuration.go:309
↓ 41 callers
Method
create
* Get the Singleton instance of TStringFunc implementation that is * compatible with the current system's mbstring.func_overload settings. *
lib/php/lib/Factory/TStringFuncFactory.php:39
↓ 40 callers
Function
bind
(listen_address: A, protocol: &str)
lib/rs/test/src/bin/kitchen_sink_client.rs:88
↓ 40 callers
Method
end
(self, returncode)
test/crossrunner/report.py:132
↓ 40 callers
Function
jsonQuote
(s string)
lib/go/thrift/simple_json_protocol.go:197
↓ 40 callers
Method
readFieldEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:19
↓ 39 callers
Method
Validate
Validate checks whether the THeaderProtocolID is a valid/supported one.
lib/go/thrift/header_transport.go:82
↓ 39 callers
Method
WriteFieldEnd
(ctx context.Context)
lib/go/thrift/protocol.go:39
↓ 39 callers
Method
flush
lib/rb/spec/nonblocking_server_spec.rb:83
↓ 39 callers
Method
get_double
compiler/cpp/src/thrift/generate/validator_parser.h:68
↓ 39 callers
Method
get_true_type
* Get the true type behind a series of typedefs. */
compiler/cpp/src/thrift/generate/t_generator.h:347
↓ 39 callers
Function
now
Current time, microseconds since the epoch
test/cpp/src/TestClient.cpp:112
↓ 39 callers
Method
readAll
* Guarantees that the full amount of data is read. * * @return string The data, of exact length * @throws TTransportException if cannot
lib/php/lib/Transport/TTransport.php:69
↓ 38 callers
Method
checkNotNull
Validates that the given reference argument is not null.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:37
↓ 38 callers
Method
open
lib/cpp/src/thrift/transport/TPipe.cpp:270
↓ 38 callers
Method
readDouble
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:45
↓ 38 callers
Method
shift
lib/cpp/src/thrift/transport/THttpTransport.cpp:190
↓ 38 callers
Method
writeFieldBegin
(TField field)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:17
↓ 38 callers
Method
writeFieldEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:19
↓ 37 callers
Method
WriteFieldBegin
(ctx context.Context, name string, typeId TType, id int16)
lib/go/thrift/protocol.go:38
↓ 37 callers
Method
is_union
compiler/cpp/src/thrift/parse/t_struct.h:117
↓ 37 callers
Method
readStructBegin
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:13
↓ 36 callers
Method
count
test/cpp/src/StressTest.cpp:70
↓ 36 callers
Method
writeMessageBegin
(TMessage message)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:9
↓ 35 callers
Method
compareTo
(Object other)
lib/javame/src/org/apache/thrift/TBase.java:44
↓ 35 callers
Function
next
(c)
lib/nodejs/lib/thrift/json_parse.js:54
↓ 35 callers
Method
readI16
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:37
↓ 35 callers
Method
readStructEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:15
↓ 34 callers
Function
NewTTransportException
(t int, e string)
lib/go/thrift/transport_exception.go:78
↓ 34 callers
Method
append
test/cpp/src/TemplateStreamOpTest.cpp:75
↓ 34 callers
Method
get
compiler/cpp/tests/catch/catch.hpp:592
↓ 34 callers
Function
thrift_transport_flush
lib/c_glib/src/thrift/c_glib/transport/thrift_transport.c:94
↓ 33 callers
Method
getTransport
(self, trans)
lib/py/src/transport/TTransport.py:125
↓ 33 callers
Method
readString
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:47
↓ 33 callers
Function
to_upper_case
* Upper case a string. */
compiler/cpp/src/thrift/generate/t_c_glib_generator.cc:4523
↓ 33 callers
Method
writeStructBegin
(TStruct struct)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:13
↓ 32 callers
Function
callback
()
lib/nodejs/test/header.test.js:105
↓ 32 callers
Method
emit
(byte[] buf, int offset, int ndesired)
lib/java/src/main/java/org/apache/thrift/transport/TFileTransport.java:90
↓ 32 callers
Method
is_field_reference
compiler/cpp/src/thrift/generate/validator_parser.h:101
↓ 32 callers
Method
read_field_begin
lib/rb/lib/thrift/protocol/json_protocol.rb:693
↓ 32 callers
Method
strlen
* @param string $str * @return int */
lib/php/lib/StringFunc/Core.php:47
↓ 32 callers
Method
writeByte
(byte b)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:37
↓ 32 callers
Method
writeString
(String str)
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:49
↓ 32 callers
Method
writeStructEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:15
↓ 31 callers
Method
clone
compiler/cpp/tests/catch/catch.hpp:4503
↓ 31 callers
Method
get_field_reference
compiler/cpp/src/thrift/generate/validator_parser.h:99
↓ 31 callers
Method
isComplete
@return true if this header has all its fields set.
lib/java/src/main/java/org/apache/thrift/transport/sasl/FrameHeaderReader.java:47
↓ 31 callers
Method
resetBuffer
lib/cpp/src/thrift/transport/TBufferTransports.h:609
↓ 31 callers
Function
testField
(type, data)
lib/py/test/thrift_TCompactProtocol.py:120
↓ 31 callers
Method
toString
()
lib/java/src/test/java/org/apache/thrift/partial/EnumCacheTest.java:72
↓ 31 callers
Method
what
lib/cpp/src/thrift/transport/TTransportException.cpp:31
↓ 31 callers
Method
writeFieldStop
()
lib/java/src/main/java/org/apache/thrift/protocol/TWriteProtocol.java:21
↓ 30 callers
Method
add
compiler/cpp/tests/catch/catch.hpp:9182
↓ 30 callers
Method
empty_byte_buffer
(size = nil)
lib/rb/lib/thrift/bytes.rb:30
↓ 30 callers
Method
get_type
compiler/cpp/src/thrift/parse/t_typedef.cc:24
↓ 30 callers
Method
lock
lib/cpp/src/thrift/concurrency/Mutex.cpp:45
↓ 30 callers
Method
readListBegin
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:25
↓ 30 callers
Method
toByteArray
Convenience method to convert the underlying NIO ByteBuffer to a plain old byte array. @return the byte array backing the underlying NIO ByteBuffer.
lib/java/src/main/java/org/apache/thrift/transport/TByteBuffer.java:106
↓ 30 callers
Method
write_message_begin
(name, type, seqid)
lib/rb/lib/thrift/protocol/json_protocol.rb:385
↓ 29 callers
Method
Equals
<summary> This will return true if the two collections are value-wise the same. If the collection contains a collection, the collections will be compa
lib/netstd/Thrift/Collections/TCollections.cs:30
↓ 29 callers
Method
getName
()
lib/java/src/main/java/org/apache/thrift/protocol/TStruct.java:34
↓ 29 callers
Function
list
compiler/cpp/tests/catch/catch.hpp:5938
↓ 29 callers
Method
open
lib/rb/spec/nonblocking_server_spec.rb:67
↓ 29 callers
Method
readListEnd
()
lib/java/src/main/java/org/apache/thrift/protocol/TReadProtocol.java:27
↓ 29 callers
Method
sleep
(time)
lib/rb/spec/nonblocking_server_spec.rb:47
← previous
next →
101–200 of 14,751, ranked by callers