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
Function
add_common_args
(p)
test/features/util.py:32
↓ 4 callers
Method
adjustString
compiler/cpp/tests/catch/catch.hpp:9227
↓ 4 callers
Method
apcuStore
($key, $var, $ttl = 0)
lib/php/lib/Transport/TSocketPool.php:315
↓ 4 callers
Function
assertValues
(obj, assert)
lib/js/test/deep-constructor.test.js:147
↓ 4 callers
Function
assertValues
(obj, assert)
lib/nodejs/test/deep-constructor.test.js:192
↓ 4 callers
Method
assert_no_pending_bool_write
(&self)
lib/rs/src/protocol/compact.rs:508
↓ 4 callers
Method
assertionEnded
compiler/cpp/tests/catch/catch.hpp:8438
↓ 4 callers
Function
base64_encode
lib/cpp/src/thrift/protocol/TBase64Utils.cpp:31
↓ 4 callers
Function
binary_deserialize_spec
lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:935
↓ 4 callers
Method
breakLoop
lib/cpp/src/thrift/server/TNonblockingServer.cpp:1420
↓ 4 callers
Method
bufToString
()
lib/java/src/test/java/org/apache/thrift/protocol/TestTSimpleJSONProtocol.java:45
↓ 4 callers
Method
build
@return A configured {@link Thrift} instance. @throws IllegalStateException If no thrift files have been added.
contrib/thrift-maven-plugin/src/main/java/org/apache/thrift/maven/Thrift.java:256
↓ 4 callers
Function
build_objects
()
lib/rs/src/server/multiplexed.rs:351
↓ 4 callers
Function
cached_set
(o, key)
test/crossrunner/collect.py:89
↓ 4 callers
Method
calculate
(logid, work)
tutorial/rb/RubyServer.rb:44
↓ 4 callers
Function
checkCallHandlerEvents
* Check for the events that should be logged when a call is received * and the handler is invoked. * * It does not check for anything after the han
lib/cpp/test/processor/ProcessorTest.cpp:335
↓ 4 callers
Function
checkCloseEvents
* Check for the events that should be logged when a connection is closed. */
lib/cpp/test/processor/ProcessorTest.cpp:317
↓ 4 callers
Method
checkState
(boolean expression, String format, Object... args)
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:226
↓ 4 callers
Method
checkValid
Validates that the expression (that checks a field is valid) is true.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:59
↓ 4 callers
Method
checkWithinRange
Validates that the given value is within the given range of values.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:183
↓ 4 callers
Method
close
Closes the socket.
lib/java/src/main/java/org/apache/thrift/transport/TSocket.java:237
↓ 4 callers
Method
close
Close the underlying transport,
lib/py/src/transport/TZlibTransport.py:175
↓ 4 callers
Function
compare_defaults
This function returns 'true' if the default values are same. Returns false if they are different.
compiler/cpp/src/thrift/audit/t_audit.cpp:172
↓ 4 callers
Method
complete
lib/cpp/src/thrift/async/TEvhttpServer.cpp:120
↓ 4 callers
Function
compute_uuid_v8
Compute UUIDv8 from a 16-byte namespace UUID and an arbitrary name string. Hashes (namespace || name) with SHA-256, then applies version=8 and variant
compiler/cpp/src/thrift/generate/t_delphi_generator.cc:1966
↓ 4 callers
Method
convert_to_utf8_byte_buffer
Converts the given String to a UTF-8 byte buffer. string - The String to convert. Returns a new String with BINARY encoding, containing the UTF-8 by
lib/rb/lib/thrift/bytes.rb:77
↓ 4 callers
Method
copy_write_buffer_to_read_buffer
Overwrites the contents of the read buffer with the contents of the write buffer. The write buffer is emptied after this operation.
lib/rs/src/transport/mem.rs:124
↓ 4 callers
Method
count
test/cpp/src/StressTestNonBlocking.cpp:72
↓ 4 callers
Method
create
(&self, transport: Box<dyn TReadTransport + Send>)
lib/rs/src/protocol/mod.rs:590
↓ 4 callers
Method
createNestedStruct
Creates a nested RecursiveStruct with the specified depth. @param depth The depth of nesting @return A RecursiveStruct with the specified depth
lib/java/src/test/java/org/apache/thrift/test/fuzz/TestRecursionLimit.java:53
↓ 4 callers
Method
createTestStruct
(int id, int numItems)
lib/java/src/test/java/org/apache/thrift/partial/PartialThriftTestData.java:47
↓ 4 callers
Function
create_parser_fuzzer
(protocol_factory_class, read_message_begin: false)
lib/rb/test/fuzz/fuzz_common.rb:62
↓ 4 callers
Function
create_roundtrip_fuzzer
(protocol_factory_class, read_message_begin: false)
lib/rb/test/fuzz/fuzz_common.rb:74
↓ 4 callers
Method
encodeFrameSize
(final int frameSize, final byte[] buf)
lib/java/src/main/java/org/apache/thrift/transport/layered/TFramedTransport.java:173
↓ 4 callers
Function
endsWith
compiler/cpp/tests/catch/catch.hpp:8549
↓ 4 callers
Method
eofTestHelper
(self, pfactory)
test/py/TestEof.py:64
↓ 4 callers
Method
eofTestHelperStress
Test the ability of TBinaryProtocol to deal with the removal of every byte in the file
test/py/TestEof.py:86
↓ 4 callers
Method
expectGreaterThan
(Insanity insanity1, Insanity insanity2)
lib/java/src/test/java/org/apache/thrift/TestStruct.java:195
↓ 4 callers
Method
expiredTaskCount
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:113
↓ 4 callers
Method
failIO
(TTransportException e)
lib/java/src/main/java/org/apache/thrift/transport/sasl/NonblockingSaslHandler.java:234
↓ 4 callers
Method
failSaslNegotiation
(TSaslNegotiationException e)
lib/java/src/main/java/org/apache/thrift/transport/sasl/NonblockingSaslHandler.java:221
↓ 4 callers
Method
fieldForId
Get the F instance that corresponds to fieldId. @param fieldId the ID of the requested field. @return F instance that corresponds to fieldId.
lib/java/src/main/java/org/apache/thrift/TBase.java:34
↓ 4 callers
Method
flush
lib/rb/lib/thrift/transport/base_transport.rb:101
↓ 4 callers
Function
genBytesSlice
(length int)
lib/go/test/tests/equals_test.go:272
↓ 4 callers
Function
genStringSlice
(length int)
lib/go/test/tests/equals_test.go:264
↓ 4 callers
Method
get
()
lib/java/src/main/java/org/apache/thrift/TByteArrayOutputStream.java:39
↓ 4 callers
Method
getChunkSize
()
lib/java/src/main/java/org/apache/thrift/transport/TFileTransport.java:123
↓ 4 callers
Method
getConcurrentClientCount
lib/cpp/src/thrift/server/TServerFramework.cpp:196
↓ 4 callers
Method
getConfiguration
()
lib/java/src/main/java/org/apache/thrift/transport/TEndpointTransport.java:47
↓ 4 callers
Method
getElapsedSeconds
compiler/cpp/tests/catch/catch.hpp:8526
↓ 4 callers
Method
getExpandedExpression
compiler/cpp/tests/catch/catch.hpp:8069
↓ 4 callers
Method
getFilePointer
Return current file pointer position in bytes from beginning of file @return file pointer position @throws TTransportException if file access fails
lib/java/src/main/java/org/apache/thrift/transport/TSimpleFileTransport.java:218
↓ 4 callers
Method
getGeneration
lib/cpp/test/processor/Handlers.h:41
↓ 4 callers
Method
getMinSerializedSize
Return the minimum number of bytes a type will consume on the wire
lib/go/thrift/binary_protocol.go:556
↓ 4 callers
Method
getMinSerializedSize
Return min serialized size in bytes @param type Returns the minimum amount of bytes needed to store the smallest possible instance of TType. @ret
lib/java/src/main/java/org/apache/thrift/protocol/TProtocol.java:101
↓ 4 callers
Method
getNonblockingClientSocket
Get a default SSL wrapped TNonblockingTransport connected to the specified host and port. @param host @param port @return A SSL wrapped TNonblockingS
lib/java/src/main/java/org/apache/thrift/transport/TSSLTransportFactory.java:204
↓ 4 callers
Method
getRunnable
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:200
↓ 4 callers
Method
getSSLHost
* Creates a host name with SSL transport protocol * if no transport protocol already specified in * the host name. * * @param stri
lib/php/lib/Transport/TSSLSocket.php:76
↓ 4 callers
Method
getScheme
()
lib/java/src/main/java/org/apache/thrift/scheme/SchemeFactory.java:23
↓ 4 callers
Method
getServer
return the server this connection was initialized for.
lib/cpp/src/thrift/server/TNonblockingServer.cpp:302
↓ 4 callers
Method
getSocketFD
* Returns the underlying socket file descriptor. */
lib/cpp/src/thrift/transport/TSocket.h:254
↓ 4 callers
Method
getSubElementName
(TFieldIdEnum fieldId)
lib/java/src/main/java/org/apache/thrift/partial/ThriftMetadata.java:128
↓ 4 callers
Method
getSummary
@return Errory type plus the message.
lib/java/src/main/java/org/apache/thrift/transport/sasl/TSaslNegotiationException.java:46
↓ 4 callers
Method
getTType
($byte)
lib/php/lib/Protocol/TCompactProtocol.php:614
↓ 4 callers
Method
getTType
Given a tCompactType constant, convert it to its corresponding TType value.
lib/go/thrift/compact_protocol.go:826
↓ 4 callers
Method
getTType
lib/py/src/ext/compact.cpp:77
↓ 4 callers
Method
getTime
contrib/fb303/TClientInfo.cpp:78
↓ 4 callers
Method
getType
(int data)
lib/java/src/main/java/org/apache/thrift/partial/TFieldData.java:37
↓ 4 callers
Method
get_constant_by_value
compiler/cpp/src/thrift/parse/t_enum.h:53
↓ 4 callers
Method
get_enum
compiler/cpp/src/thrift/generate/validator_parser.h:80
↓ 4 callers
Method
get_name
(cls, server, client, protocol, transport, socket, *args, **kwargs)
test/crossrunner/test.py:134
↓ 4 callers
Method
get_short_name
compiler/cpp/src/thrift/generate/t_generator_registry.h:50
↓ 4 callers
Function
get_ttype
lib/rb/ext/compact_protocol.c:382
↓ 4 callers
Method
get_ttype
(compact_type)
lib/rb/lib/thrift/protocol/compact_protocol.rb:87
↓ 4 callers
Method
get_uuid
compiler/cpp/src/thrift/parse/t_const_value.h:94
↓ 4 callers
Method
hasError
Is the client in an error state? @return If client in an error state?
lib/java/src/main/java/org/apache/thrift/async/TAsyncClient.java:71
↓ 4 callers
Method
hasTimeout
()
lib/java/src/main/java/org/apache/thrift/async/TAsyncClient.java:58
↓ 4 callers
Method
has_cpp_name
compiler/cpp/src/thrift/parse/t_container.h:36
↓ 4 callers
Function
hexVal
Return the integer value of a hex character ch. Throw a protocol exception if the character is not [0-9a-f].
lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:247
↓ 4 callers
Method
hexVal
(byte ch)
lib/javame/src/org/apache/thrift/protocol/TJSONProtocol.java:328
↓ 4 callers
Method
hexVal
(byte ch)
lib/java/src/main/java/org/apache/thrift/protocol/TJSONProtocol.java:348
↓ 4 callers
Function
hex_char_to_int
Efficient hex character to integer conversion
lib/rb/ext/protocol.h:25
↓ 4 callers
Method
if_set
(&mut self, mut stream_operation: F)
lib/rs/src/transport/socket.rs:116
↓ 4 callers
Function
int_to_hex_char
Efficient integer to hex character conversion
lib/rb/ext/protocol.h:33
↓ 4 callers
Method
internalTestSerialization
(Class<T> klass, T expected)
lib/java/src/test/java/org/apache/thrift/protocol/ProtocolTestBase.java:330
↓ 4 callers
Method
invoke
Actually invoke the method signified by this FrameBuffer.
lib/java/src/main/java/org/apache/thrift/server/AbstractNonblockingServer.java:527
↓ 4 callers
Method
isMapKey
Returns whether the current value is a key in a map
lib/java/src/main/java/org/apache/thrift/protocol/TSimpleJSONProtocol.java:61
↓ 4 callers
Method
isOpen
()
lib/java/src/test/java/org/apache/thrift/transport/ReadCountingTransport.java:37
↓ 4 callers
Method
isOpen
(self)
lib/py/src/transport/TTransport.py:223
↓ 4 callers
Method
is_bool
compiler/cpp/src/thrift/parse/t_type.h:54
↓ 4 callers
Method
is_forward_typedef
compiler/cpp/src/thrift/parse/t_typedef.h:58
↓ 4 callers
Method
is_uuid
compiler/cpp/src/thrift/parse/t_type.h:52
↓ 4 callers
Method
listen
lib/rb/lib/thrift/transport/server_socket.rb:39
↓ 4 callers
Method
loadTrustedCertificates
lib/cpp/src/thrift/transport/TSSLSocket.cpp:1062
↓ 4 callers
Method
matches
compiler/cpp/tests/catch/catch.hpp:3669
↓ 4 callers
Function
maybeMove
Helper to convert a variable to rvalue, if move is enabled
compiler/cpp/src/thrift/generate/t_cpp_generator.cc:1224
↓ 4 callers
Method
min_serialized_size
(&self, field_type: TType)
lib/rs/src/protocol/binary.rs:301
↓ 4 callers
Method
needReadFrame
()
lib/go/thrift/header_transport.go:543
↓ 4 callers
Method
notify
lib/cpp/src/thrift/transport/TServerSocket.cpp:744
↓ 4 callers
Method
notify
lib/cpp/src/thrift/server/TNonblockingServer.cpp:1298
← previous
next →
1,301–1,400 of 14,751, ranked by callers