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
↓ 3 callers
Method
addWorker
lib/cpp/src/thrift/concurrency/ThreadManager.cpp:345
↓ 3 callers
Method
appendBufferToString
lib/cpp/src/thrift/transport/TBufferTransports.h:599
↓ 3 callers
Method
appendNotEqual
( ThriftMetadata.ThriftObject data, StringBuilder sb, Object o1, Object o2, Stri
lib/java/src/main/java/org/apache/thrift/partial/PartialThriftComparer.java:287
↓ 3 callers
Function
arcSafeRelease
compiler/cpp/tests/catch/catch.hpp:1501
↓ 3 callers
Method
assertContextIsNotMapKey
* Used to make sure that we are not encountering a map whose keys are containers */
lib/php/lib/Protocol/TSimpleJSONProtocol.php:74
↓ 3 callers
Method
assertContextIsNotMapKey
Used to make sure that we are not encountering a map whose keys are containers
lib/java/src/main/java/org/apache/thrift/protocol/TSimpleJSONProtocol.java:136
↓ 3 callers
Method
assertNoReadValidator
($class)
lib/php/test/Integration/BaseValidatorTest.php:135
↓ 3 callers
Method
assertNoWriteValidator
($class)
lib/php/test/Integration/BaseValidatorTest.php:153
↓ 3 callers
Method
borrow
lib/cpp/src/thrift/qt/TQIODeviceTransport.cpp:157
↓ 3 callers
Function
build_struct_with_unknown_binary_field
(payload: &[u8])
lib/rs/src/protocol/mod.rs:1066
↓ 3 callers
Method
byteBufferToByteArray
(ByteBuffer byteBuffer)
lib/java/src/main/java/org/apache/thrift/TBaseHelper.java:235
↓ 3 callers
Function
bytes_to_hex
Utility: convert a vector of bytes to a lowercase hex string.
compiler/cpp/src/thrift/generate/t_delphi_generator.cc:2019
↓ 3 callers
Function
certFile
lib/cpp/test/SecurityFromBufferTest.cpp:50
↓ 3 callers
Function
checkCallEvents
* Check for the events that should be logged when a call is made. * * This just calls checkCallHandlerEvents() followed by * checkCallPostHandlerEv
lib/cpp/test/processor/ProcessorTest.cpp:412
↓ 3 callers
Method
checkContainerReadLength
(int length)
lib/java/src/main/java/org/apache/thrift/protocol/TBinaryProtocol.java:474
↓ 3 callers
Method
checkNotNegative
Validates that the given integer argument is not negative.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:47
↓ 3 callers
Method
checkNotNullAndNumberOfElements
Validates that the given set is not null and has an exact number of items.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:112
↓ 3 callers
Function
checkOffByOne
(done, callback)
lib/nodejs/test/test_driver.mjs:312
↓ 3 callers
Method
checkPositiveInteger
Validates that the given integer argument is not zero or negative.
lib/java/src/main/java/org/apache/thrift/partial/Validate.java:42
↓ 3 callers
Method
checkReadBytesAvailable
lib/cpp/src/thrift/protocol/TJSONProtocol.h:254
↓ 3 callers
Method
checkSizeEquality
( ThriftMetadata.ThriftObject data, Collection c1, Collection c2, StringBuilder sb,
lib/java/src/main/java/org/apache/thrift/partial/PartialThriftComparer.java:323
↓ 3 callers
Method
close
* Closes the socket. */
lib/php/lib/Transport/TSocket.php:265
↓ 3 callers
Method
close
(self)
lib/py/test/test_sslsocket.py:104
↓ 3 callers
Method
close
Closes connection
lib/py/src/server/TNonblockingServer.py:231
↓ 3 callers
Method
closeChannel
(SelectionKey selectionKey)
lib/java/src/main/java/org/apache/thrift/server/TSaslNonblockingServer.java:322
↓ 3 callers
Method
closeResponse
()
lib/go/thrift/http_client.go:130
↓ 3 callers
Function
collection_type_to_u8
(field_type: TType)
lib/rs/src/protocol/compact.rs:720
↓ 3 callers
Function
collection_u8_to_type
(b: u8)
lib/rs/src/protocol/compact.rs:745
↓ 3 callers
Method
commands
compiler/cpp/tests/catch/catch.hpp:4720
↓ 3 callers
Method
communicate
test/cpp/src/TestServer.cpp:404
↓ 3 callers
Function
compareStructs
(m, m1 MyTestStruct)
lib/go/thrift/serializer_test.go:36
↓ 3 callers
Function
compare_single_struct
compiler/cpp/src/thrift/audit/t_audit.cpp:249
↓ 3 callers
Function
compare_type
This function returns 'true' if the two arguements are of same types. Returns false if they are of different type
compiler/cpp/src/thrift/audit/t_audit.cpp:121
↓ 3 callers
Function
constructTest
(classVariant)
lib/nodejs/test/include.test.mjs:6
↓ 3 callers
Method
convert_to_string
Converts the given UTF-8 byte buffer into a String utf8_buffer - A String, with BINARY encoding, containing UTF-8 bytes Returns a new String with UT
lib/rb/lib/thrift/bytes.rb:93
↓ 3 callers
Method
countConsumedMessageBytes
Consumes numBytes from the RemainingMessageSize. @param numBytes
lib/java/src/main/java/org/apache/thrift/transport/TEndpointTransport.java:110
↓ 3 callers
Method
createNewStruct
(ThriftMetadata.ThriftStruct metadata)
lib/java/src/main/java/org/apache/thrift/partial/ThriftStructProcessor.java:40
↓ 3 callers
Function
createParserFuzzer
* Creates a parser fuzzer function for a specific protocol * @param {Function} protocolFactory - The Thrift protocol factory function * @param {bool
lib/nodejs/test/fuzz/fuzz_common.js:31
↓ 3 callers
Function
createRoundtripFuzzer
* Creates a roundtrip fuzzer function for a specific protocol * @param {Function} protocolFactory - The Thrift protocol factory function * @param {b
lib/nodejs/test/fuzz/fuzz_common.js:67
↓ 3 callers
Method
createSSLContext
(TSSLTransportParameters params)
lib/java/src/main/java/org/apache/thrift/transport/TSSLTransportFactory.java:252
↓ 3 callers
Method
decodeFrameSize
(final byte[] buf)
lib/java/src/main/java/org/apache/thrift/transport/layered/TFramedTransport.java:180
↓ 3 callers
Function
default_read_field_begin
lib/rb/ext/struct.c:157
↓ 3 callers
Function
deleteAll
compiler/cpp/tests/catch/catch.hpp:417
↓ 3 callers
Function
deserialize
(serialized, type)
lib/js/test/deep-constructor.test.js:29
↓ 3 callers
Method
deserializeStruct
(Object instance, ThriftMetadata.ThriftStruct data)
lib/java/src/main/java/org/apache/thrift/TDeserializer.java:563
↓ 3 callers
Method
empty_read_buffer
FIXME: do I really need this API call? FIXME: should this simply reset to the last set of readable bytes? Reset the number of readable bytes to zero.
lib/rs/src/transport/mem.rs:88
↓ 3 callers
Method
endOfFrame
endOfFrame does end of frame handling. It closes frameReader, and also resets frame related states.
lib/go/thrift/header_transport.go:418
↓ 3 callers
Method
ensurePartialDeserializationMode
()
lib/java/src/main/java/org/apache/thrift/TDeserializer.java:715
↓ 3 callers
Method
ensureWriteBufferBeforeWrite
()
lib/go/thrift/framed_transport.go:182
↓ 3 callers
Method
escapeNum
(self)
lib/py/src/protocol/TJSONProtocol.py:104
↓ 3 callers
Method
evaluate
Evaluate and validate the negotiation message (response/challenge) received from peer. @param negotiationMessage response/challenge received from pee
lib/java/src/main/java/org/apache/thrift/transport/sasl/SaslPeer.java:34
↓ 3 callers
Function
execute_with_service_client
A helper function that executes a test case against a newly constructed service client */
lib/c_glib/test/testcontainertest.c:238
↓ 3 callers
Function
extract_enum_definition
Helper function to extract enum definition from generated header Handles struct Color { enum type { ... }; }; or enum Color { ... }; or enum class Col
compiler/cpp/tests/cpp/t_cpp_generator_enum_class_tests.cc:30
↓ 3 callers
Method
fill
(TTransport inTrans, int length)
lib/java/src/main/java/org/apache/thrift/transport/AutoExpandingBufferReadTransport.java:37
↓ 3 callers
Function
fillUnixSocketAddr
lib/cpp/src/thrift/transport/SocketCommon.cpp:33
↓ 3 callers
Function
filterTests
compiler/cpp/tests/catch/catch.hpp:7209
↓ 3 callers
Method
flush
Flush any pending data out of a transport buffer. @throws TTransportException if there was an error writing out data.
lib/javame/src/org/apache/thrift/transport/TTransport.java:119
↓ 3 callers
Method
flush
lib/cpp/src/thrift/transport/TWebSocketServer.h:100
↓ 3 callers
Method
flush
Flush any queued up data in the write buffer and ensure the compression buffer is flushed out to the underlying transport
lib/py/src/transport/TZlibTransport.py:217
↓ 3 callers
Function
force_binary_encoding
lib/rb/ext/bytes.c:26
↓ 3 callers
Function
format_go_output
compiler/cpp/src/thrift/generate/t_go_generator.cc:4392
↓ 3 callers
Function
genListFoo
()
lib/go/test/tests/equals_test.go:164
↓ 3 callers
Function
genMapFoo
()
lib/go/test/tests/equals_test.go:227
↓ 3 callers
Function
genSetFoo
()
lib/go/test/tests/equals_test.go:193
↓ 3 callers
Function
genStructFoo
()
lib/go/test/tests/equals_test.go:157
↓ 3 callers
Function
gen_program
Helper to add a list of definitions to a Thrift 'program' (i.e. representation of the IDL) and generate the OCaml outputs. */
compiler/cpp/tests/ocaml/t_ocaml_generator_tests.cc:47
↓ 3 callers
Method
generate_process_function
* Generates a process function definition. * * @param tfunction The function to write a dispatcher for */
compiler/cpp/src/thrift/generate/t_cpp_generator.cc:3865
↓ 3 callers
Method
getAndResetCounters
()
lib/go/test/tests/header_zlib_test.go:60
↓ 3 callers
Method
getBacktrace
lib/cpp/src/thrift/VirtualProfiling.cpp:168
↓ 3 callers
Method
getBuffer
()
lib/java/src/main/java/org/apache/thrift/transport/TMemoryInputTransport.java:109
↓ 3 callers
Method
getByValue
Given a TEnum class and integer value, this method will return the associated constant from the given TEnum class. This method MUST be modified should
lib/java/src/main/java/org/apache/thrift/TEnumHelper.java:39
↓ 3 callers
Method
getBytesRemainingInBuffer
()
lib/java/src/main/java/org/apache/thrift/transport/AutoExpandingBufferReadTransport.java:85
↓ 3 callers
Method
getClient
Get a brand-new T using <i>prot</i> as both the input and output protocol. @param prot The protocol to use for getting T. @return A brand-new T using
lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java:37
↓ 3 callers
Method
getConnectionId
()
lib/java/src/crossTest/java/org/apache/thrift/test/TestServer.java:76
↓ 3 callers
Method
getCurChunk
()
lib/java/src/main/java/org/apache/thrift/transport/TFileTransport.java:470
↓ 3 callers
Method
getMechanismName
()
lib/java/src/test/java/org/apache/thrift/transport/TestTSaslTransports.java:365
↓ 3 callers
Method
getMetadata
Gets the metadata used for partial deserialization. @return the metadata used for partial deserialization.
lib/java/src/main/java/org/apache/thrift/TDeserializer.java:122
↓ 3 callers
Method
getMinSerializedSize
Return the minimum number of bytes a type will consume on the wire
lib/go/thrift/json_protocol.go:574
↓ 3 callers
Method
getMinSerializedSize
Return the minimum number of bytes a type will consume on the wire
lib/go/thrift/compact_protocol.go:870
↓ 3 callers
Method
getOutputDirectory
()
contrib/thrift-maven-plugin/src/main/java/org/apache/thrift/maven/AbstractThriftMojo.java:244
↓ 3 callers
Method
getPath
lib/cpp/test/TFileTransportTest.cpp:118
↓ 3 callers
Method
getProtocolId
lib/cpp/src/thrift/transport/THeaderTransport.cpp:54
↓ 3 callers
Method
getProtocols
()
lib/java/src/test/java/org/apache/thrift/server/ServerTestBase.java:501
↓ 3 callers
Method
getResultCapture
IContext
compiler/cpp/tests/catch/catch.hpp:7658
↓ 3 callers
Method
getStruct
(int key, CancellationToken cancellationToken)
tutorial/netstd/Server/Program.cs:379
↓ 3 callers
Method
getStructClass
()
lib/java/src/main/java/org/apache/thrift/partial/ThriftMetadata.java:365
↓ 3 callers
Method
getTestMacroName
compiler/cpp/tests/catch/catch.hpp:8080
↓ 3 callers
Method
getTrustStoreLocation
()
lib/java/src/test/java/org/apache/thrift/transport/TestTSSLTransportFactory.java:55
↓ 3 callers
Method
getUnderlyingImpl
lib/cpp/src/thrift/concurrency/Mutex.cpp:41
↓ 3 callers
Method
getWritePtr
Returns a pointer to where the client can write data to append to the TMemoryBuffer, and ensures the buffer is big enough to accommodate a write of th
lib/cpp/src/thrift/transport/TBufferTransports.h:687
↓ 3 callers
Method
getXmlHttpRequestObject
()
lib/nodejs/test/thrift_4987_xhr_protocol.test.mjs:260
↓ 3 callers
Method
get_constant_by_name
compiler/cpp/src/thrift/parse/t_enum.h:42
↓ 3 callers
Method
get_cpp_name
compiler/cpp/src/thrift/parse/t_container.h:38
↓ 3 callers
Method
get_double
compiler/cpp/src/thrift/parse/t_const_value.h:105
↓ 3 callers
Method
get_field_by_name
compiler/cpp/src/thrift/parse/t_struct.h:119
↓ 3 callers
Method
get_inner
compiler/cpp/src/thrift/generate/validator_parser.h:128
↓ 3 callers
Method
includeSuccessfulResults
compiler/cpp/tests/catch/catch.hpp:4032
↓ 3 callers
Method
incr
(self, amount)
contrib/zeromq/test-server.py:32
↓ 3 callers
Method
initSocket
Initializes the socket object
lib/java/src/main/java/org/apache/thrift/transport/TSocket.java:148
↓ 3 callers
Method
intToZigZag
Convert n into a zigzag int. This allows negative numbers to be represented compactly as a varint.
lib/java/src/main/java/org/apache/thrift/protocol/TCompactProtocol.java:454
← previous
next →
1,601–1,700 of 14,751, ranked by callers