/thrift-3.4.0/doc/licenses/ |
D | lgpl-2.1.txt | 7 of this license document, but changing it is not allowed. 9 [This is the first released version of the Lesser GPL. It also counts 10 as the successor of the GNU Library Public License, version 2, hence 21 specially designated software packages--typically libraries--of the 27 When we speak of free software, we are referring to freedom of use, 29 you have the freedom to distribute copies of free software (and charge 31 it if you want it; that you can change the software and use pieces of 38 you if you distribute copies of the library or if you modify it. 40 For example, if you distribute copies of the library, whether gratis 59 Finally, software patents pose a constant threat to the existence of [all …]
|
D | otp-base-license.txt | 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 of this software (OTP Base, fslib, G.A.S) and associated documentation files (the "Software"), to … 9 of the Software, and to permit persons to whom the Software is furnished to do 13 copies or substantial portions of the Software. 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 16 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 19 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/partial/ |
D | README.md | 4 This document describes how partial deserialization of Thrift works. There are two main goals of th… 10 …gineering/improving-data-processing-efficiency-using-partial-deserialization-of-thrift-16bc3a4a38b4 16 …of fields in any Thrift object. This situation arises often when big data is stored in Thrift enco… 20 …of the fields of a serialized Thrift object while efficiently skipping over the rest. One very imp… 22 ### Defining the subset of fields to deserialize 24 The subset of fields to deserialize is defined using a list of fully qualified field names. For exa… 41 …of the following line shows a fully qualified field definition. Partial deserialization uses a non… 51 Note that the syntax of denoting paths involving map fields do not support a way to define sub-fiel… 57 The process of partial deserialization involves the following major components. We have listed name… 66 …of fields to deserialize. As the first step, we need to compile the collection of field definition… [all …]
|
D | ThriftField.java | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 28 * Holds name of a thrift field and of its sub-fields recursively. 34 /** Name of this field as it appears in a thrift file. Case sensitive. */ 38 * List of sub-fields of this field. 48 * @param name the name of this field as it appears in a thrift file. Case sensitive. 49 * @param fields List of sub-fields of this field. 66 // The actual value of allowFieldAdds is ignored. 142 * Generates and returns n-ary tree of fields and their sub-fields. 146 * @param fieldNames collection of fully qualified field names. [all …]
|
/thrift-3.4.0/ |
D | LICENSE | 11 and distribution as defined by Sections 1 through 9 of this document. 16 "Legal Entity" shall mean the union of the acting entity and all 18 control with that entity. For the purposes of this definition, 20 direction or management of such entity, whether by contract or 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 outstanding shares, or (iii) beneficial ownership of such entity. 32 transformation or translation of a Source form, including but 36 "Work" shall mean the work of authorship, whether in Source or 44 represent, as a whole, an original work of authorship. For the purposes 45 of this License, Derivative Works shall not include works that remain [all …]
|
/thrift-3.4.0/lib/ts/ |
D | thrift.d.ts | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 28 * @property {number} STOP - End of a set of fields. 37 * @property {number} STRING - Array of bytes representing a string of characters. 38 * @property {number} UTF7 - Array of bytes representing a string of UTF7 encoded characters. 43 * @property {number} UTF8 - Array of bytes representing a string of UTF8 encoded characters. 44 * @property {number} UTF16 - Array of bytes representing a string of UTF16 encoded characters. 83 * Utility function returning the count of an object's own properties. 85 * @returns {number} number of object's own properties 255 * Returns the specified number of characters from the response [all …]
|
/thrift-3.4.0/doc/specs/ |
D | thrift-sasl-spec.txt | 1 A Thrift SASL message shall be a byte array of the following form: 6 first. This indicates the length of the field immediately following it, not 19 1. The client is configured at instantiation of the transport with a single 22 2. The server is configured with a mapping of underlying security mechanism 26 server a START message. The payload of this message will be the name of the 32 among the set of mechanisms this server transport is configured to accept, 33 appropriate initialization of the underlying security mechanism may take place. 42 the "initial response" of the chosen SASL implementation. The client may send 43 this message piggy-backed on the "START" message of step 3. The message type 44 of this message must be either "OK" or "COMPLETE", depending on whether the [all …]
|
D | thrift.tex | 11 % You will need a copy of sigplanconf.cls to format this document. 31 % \preprintfooter{short description of paper} % 'preprint' option specified. 43 Thrift is a software library and set of code-generation tools developed at 44 Facebook to expedite development and implementation of efficient and scalable 46 communication across programming languages by abstracting the portions of each 53 well as some of the more interesting implementation details. It is not 68 demands of many operations on the site (i.e. search, 70 drastically outside the scope of the LAMP framework. In our implementation of 72 optimize for the right combination of performance, ease and speed of 73 development, availability of existing libraries, etc. By and large, [all …]
|
D | thrift-rpc.md | 13 with the License. You may obtain a copy of the License at 19 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 28 See [thrift-binary-protocol.md] and [thrift-compact-protocol.md] for a description of how the excha… 55 …`Message` (type `Call` or `Oneway`). The TMessage contains some metadata and the name of the method 72 * _Message type_, a message types, one of `Call`, `Reply`, `Exception` and `Oneway`. 76 message of the response. The client uses this number to detect out of order responses. Each client … 84 The *message type* indicates what kind of message is sent. Clients send requests with TMessages of … 85 `Oneway` (step 1 in the protocol exchange). Servers send responses with messages of type `Exception… 88 …sed when the service method completes normally. That is, it returns a value or it throws one of the 92 in the Thrift IDL file, or some other part of the Thrift stack throws an exception. For example whe… [all …]
|
D | thrift-tconfiguration.md | 15 with the License. You may obtain a copy of the License at 21 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 29 …ransport stack became an obvious need. Previous patches already added some of these limits, but th… 33 Following the tradition of similar experience across languages in Thrift, any implementation should… 45 The MaxMessageSize member defines the maximum size of a (received) message, in bytes. The default v… 49 …of one frame of data for the TFramedTransport. Since all implementations currently send messages i… 61 … is recommended that the implementation SHOULD update the remaining number of bytes to read based … 67 …elpful to check larger memory allocations against the remaining max number of bytes before the all… 77 …the accepted overall size of messages or the accepted frame size. This behaviour is by design. If … 81 …hat is passed through the stack. Having two distinct base classes for each of the different transp… [all …]
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/ |
D | TTransport.java | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 28 * combined functionality of Java input/output streams. 59 * Reads a sequence of bytes from this channel into the given buffer. An attempt is made to read 60 * up to the number of bytes remaining in the buffer, that is, dst.remaining(), at the moment this 61 * method is invoked. Upon return the buffer's position will move forward the number of bytes 63 * implementation of this method. 66 * @return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream 81 * @param len Maximum number of bytes to read 82 * @return The number of bytes actually read [all …]
|
D | TMemoryBuffer.java | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 26 /** Memory buffer-based implementation of the TTransport interface. */ 29 * Create a TMemoryBuffer with an initial buffer size of <i>size</i>. The internal buffer will 30 * grow as necessary to accommodate the size of the data being written to it. 32 * @param size the initial size of the buffer 42 * Create a TMemoryBuffer with an initial buffer size of <i>size</i>. The internal buffer will 43 * grow as necessary to accommodate the size of the data being written to it. 46 * @param size the initial size of the buffer 89 * Output the contents of the memory buffer as a String, using the supplied encoding [all …]
|
/thrift-3.4.0/lib/go/thrift/ |
D | transport_test.go | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 56 …t.Fatalf("Transport %T cannot write binary data of length %d: %s", writeTrans, len(transport_bdata… 60 t.Fatalf("Transport %T cannot flush write of binary data: %s", writeTrans, err) 64 …t.Errorf("Transport %T cannot read binary data of length %d: %s", readTrans, TRANSPORT_BINARY_DATA… 67 …t.Errorf("Transport %T read only %d instead of %d bytes of binary data", readTrans, n, TRANSPORT_B… 71 …t.Fatalf("Transport %T read %d instead of %d for index %d of binary data 2", readTrans, v, transpo… 76 …t.Fatalf("Transport %T cannot write binary data 2 of length %d: %s", writeTrans, len(transport_bda… 87 …t.Errorf("Transport %T cannot read binary data 2 of total length %d from offset %d: %s", readTrans… 92 …t.Errorf("Transport %T read only %d instead of %d bytes of binary data 2", readTrans, n, TRANSPORT… [all …]
|
/thrift-3.4.0/lib/netstd/Tests/Thrift.PublicInterfaces.Compile.Tests/ |
D | CassandraTest.thrift | 8 # with the License. You may obtain a copy of the License at 14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 # be changes to the number or disposition of method arguments. 39 # be the addition of a new (optional) method. 51 /** Basic unit of data within a ColumnFamily. 53 …e. Maximum 2GB long, but in practice you should limit it to small numbers of MB (since Thrift mus… 64 /** A named list of columns. 66 …* @param columns. A collection of standard Columns. The columns within a super column are defined… 85 …Methods for fetching rows/records from Cassandra will return either a single instance of ColumnOrS… 86 …of ColumnOrSuperColumns (get_slice()). If you're looking up a SuperColumn (or list of SuperColumns… [all …]
|
/thrift-3.4.0/lib/py/compat/win32/ |
D | stdint.h | 9 // 1. Redistributions of source code must retain the above copyright notice, 10 // this list of conditions and the following disclaimer. 13 // notice, this list of conditions and the following disclaimer in the 16 // 3. The name of the author may be used to endorse or promote products 20 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 // error C2733: second C linkage of overloaded function 'wmemchr' not allowed [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/server/ |
D | TNonblockingServer.h | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 98 * operates a set of IO threads (by default only one). It assumes that 107 T_OVERLOAD_DRAIN_TASK_QUEUE ///< Drop some tasks from head of task queue */ 122 /// Default limit on size of idle connection pool 128 /// Default limit on total number of connected sockets 134 /// Default size of write buffer 137 /// Maximum size of read buffer allocated to idle connection (0 = unlimited) 140 /// Maximum size of write buffer allocated to idle connection (0 = unlimited) 143 /// # of calls before resizing oversized buffers (0 = check only on close) [all …]
|
/thrift-3.4.0/lib/d/src/thrift/async/ |
D | base.d | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 * Defines the interface used for client-side handling of asynchronous 24 * The main piece of the »client side« (e.g. for TAsyncClient users) of the 30 * instead of a normal TTransport and executing the work through a 42 * // we are using TAsyncSocket instead of TSocket. 60 * case of TAsyncSocketManager) and allows work items to be submitted for them. 63 * executing the work, which is one of the reasons for a TAsyncManager to be 67 * The second important purpose of TAsyncManager is to serialize access to 68 * the transport resources – without taking care of that, e.g. issuing multiple [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/concurrency/ |
D | ThreadManager.h | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 41 * This class manages a pool of threads. It uses a ThreadFactory to create 43 * it maintains statistics on number of idle threads, number of active threads, 45 * object bound to instances of this manager of interesting transitions. It is 53 * create a fixed number of threads. 107 * Blocks until the number of worker threads reaches the new limit. 110 * of workers 115 * Gets the current number of idle worker threads 120 * Gets the current number of total worker threads [all …]
|
/thrift-3.4.0/lib/nodejs/lib/thrift/ |
D | json_protocol.js | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 38 * of the Apache Thrift TJSONProtocol. 104 * Serializes the beginning of a Thrift RPC message. 106 * @param {Thrift.MessageType} messageType - The type of method call. 107 * @param {number} seqid - The sequence number of this call (always 0 in Apache Thrift). 114 * Serializes the end of a Thrift RPC message. 129 * Serializes the beginning of a struct. 130 * @param {string} name - The name of the struct. 138 * Serializes the end of a struct. [all …]
|
/thrift-3.4.0/contrib/fb303/ |
D | TClientInfo.h | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 43 * A level vector stores a list of storage vectors containing the actual 50 /// The initial allocation as an exponent of 2 57 /// Values are kept in one or more of these 59 /// One or more value vectors are kept in one of these 83 * make sure the requested number of storage levels have been allocated. 98 * Given an index, determine which level and element of that level is 133 * Return the present size of the vector. 140 * This class embodies the representation of a single connection during [all …]
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/ |
D | Option.java | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 24 /** Implementation of the Option type pattern */ 33 * @return true if the Option is defined (of type Some) false if the Option is not defined (of 39 * Get the value of the Option (if it is defined) 67 return Optional.of(get()); in toOptional() 73 /** The None type, representing an absent value (instead of "null") */ 89 * The Some type, representing an existence of some value 91 * @param <T> The type of value 117 * @param <T> the type of value [all …]
|
/thrift-3.4.0/build/cmake/ |
D | FindGLIB.cmake | 26 # 1. Redistributions of source code must retain the above copyright 27 # notice, this list of conditions and the following disclaimer. 29 # notice, this list of conditions and the following disclaimer in the 34 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 38 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 39 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 41 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 42 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 84 # Additional Glib components. We only look for libraries, as not all of them 101 # gio-unix is compiled as part of the gio library, but the include paths
|
/thrift-3.4.0/tutorial/c_glib/ |
D | c_glib_server.c | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 38 /* In the C (GLib) implementation of Thrift, the actual work done by a 53 of code here---much of it is boilerplate and can mostly be 99 /* The implementation of TutorialCalculatorHandler follows. */ 105 /* Each of a handler's methods accepts at least two parameters: A in G_DEFINE_TYPE() 110 On success, a handler method returns TRUE. A return value of FALSE in G_DEFINE_TYPE() 134 The return value from this method happens to be of a base type, 157 in thrift_application_exception.h for a list of recognized 162 provided (here, "ouch") to hold an instance of the exception, when [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | TTransport.h | 8 * with the License. You may obtain a copy of the License at 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 34 * Helper template to hoist readAll implementation out of TTransport 53 * Generic interface for a method of transporting data. A TTransport may be 54 * capable of either reading or writing, but not necessarily both. 106 * Attempt to read up to the specified number of bytes into the string. 122 * Reads the given amount of data in its entirety no matter what. 142 * @return number of bytes read if available, 0 otherwise. 172 * at the end of a request. 174 * @return number of bytes written if available, 0 otherwise [all …]
|
/thrift-3.4.0/doc/ |
D | ReleaseManagement.md | 3 …of Apache Thrift are fairly complex. These procedures are documented here, and we're working to a… 11 Apache Thrift and the vast majority of package management systems out there conform to the [SemVer … 21 …of Apache Thrift. The project handles these on a case-by-case basis for languages that have their… 23 …of a Haskell Hackage package, and perhaps also a `0.12.3` version of a dlang dub package. You wil… 27 … already have all of the correct versions, and therefore release branches can be easily merged bac… 35 …st or direct push) is committed to the `master` branch. Until version 1.0 of Apache Thrift each r… 39 …of Apache Thrift was tagged with a `<version>` tag. Starting with the `0.12.0` release, each rele… 47 A complete release cycle will take about 1 week to complete, if things go well, with half of that t… 53 1. You are a [member](http://people.apache.org/phonebook.html?pmc=thrift) of the Apache PMC group. 55 - Generate disk I/O with: `dd if=/dev/sda of=/dev/zero` [all …]
|