| /external/antlr/runtime/Ruby/lib/antlr3/ |
| D | streams.rb | 2 # encoding: utf-8 7 Copyright (c) 2009-2010 Kyle Yetter 14 1. Redistributions of source code must retain the above copyright 15 notice, this list of conditions and the following disclaimer. 17 notice, this list of conditions and the following disclaimer in the 19 3. The name of the author may not be used to endorse or promote products 24 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF [all …]
|
| D | debug.rb | 2 # encoding: utf-8 9 Copyright (c) 2009-2010 Kyle Yetter 16 1. Redistributions of source code must retain the above copyright 17 notice, this list of conditions and the following disclaimer. 19 notice, this list of conditions and the following disclaimer in the 21 3. The name of the author may not be used to endorse or promote products 26 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 29 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF [all …]
|
| /external/antlr/runtime/Ruby/lib/antlr3/streams/ |
| D | rewrite.rb | 2 # encoding: utf-8 7 Copyright (c) 2009-2010 Kyle Yetter 14 1. Redistributions of source code must retain the above copyright 15 notice, this list of conditions and the following disclaimer. 17 notice, this list of conditions and the following disclaimer in the 19 3. The name of the author may not be used to endorse or promote products 24 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF [all …]
|
| /external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
| D | Antlr.Runtime.Tree.Tests.pas | 5 ---------------------- 53 end; 84 end; 114 end; 129 end; 142 end; 155 end; 194 end; 200 end; 204 end; [all …]
|
| /external/python/apitools/apitools/base/py/ |
| D | transfer.py | 7 # You may obtain a copy of the License at 9 # http://www.apache.org/licenses/LICENSE-2.0 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 57 if 'content-range' in response.info: 58 print('Received %s' % response.info['content-range']) 82 def __init__(self, stream, close_stream=False, chunksize=None, argument 87 self.__stream = stream 131 def stream(self): member in _Transfer 173 'Cannot re-initialize %s' % self._type_name) 201 def __init__(self, stream, progress_callback=None, finish_callback=None, argument [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/http2/core/ |
| D | priority_write_scheduler.h | 2 // Use of this source code is governed by a BSD-style license that can be 43 // are written. Each stream has a priority of type PriorityType. This includes 47 // streams, as long as the higher priority stream is not blocked. 49 // Each stream can be in one of two states: ready or not ready (for writing). 52 // by PopNextReadyStream(). When returned by that method, the stream's state 66 // Registers new stream `stream_id` with the scheduler, assigning it the 77 << "Stream " << stream_id << " already registered"; in RegisterStream() 80 // Unregisters the given stream from the scheduler, which will no longer keep 86 if (it == stream_infos_.end()) { in UnregisterStream() 87 QUICHE_BUG(spdy_bug_19_3) << "Stream " << stream_id << " not registered"; in UnregisterStream() [all …]
|
| /external/sdv/vsomeip/third_party/boost/property_tree/include/boost/property_tree/ |
| D | ini_parser.hpp | 1 // ---------------------------------------------------------------------------- 2 // Copyright (C) 2002-2006 Marcin Kalicinski 10 // ---------------------------------------------------------------------------- 43 * @param filename The name of the file being parsed containing the 57 * Read INI from a the given stream and translate it to a property tree. 58 * @note Clears existing contents of property tree. In case of error 61 * @param stream Stream from which to read in the property tree. 66 typename Ptree::key_type::value_type> &stream, in read_ini() 71 const Ch semicolon = stream.widen(';'); in read_ini() 72 const Ch hash = stream.widen('#'); in read_ini() [all …]
|
| /external/mesa3d/src/imagination/vulkan/ |
| D | pvr_csb.c | 10 * Permission is hereby granted, free of charge, to any person obtaining a copy 11 * of this software and associated documentation files (the "Software"), to deal 14 * copies of the Software, and to permit persons to whom the Software is 18 * paragraph) shall be included in all copies or substantial portions of the 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 50 * \brief Contains functions to manage Control Stream Builder (csb) object. 52 * A csb object can be used to create a primary/main control stream, referred [all …]
|
| /external/puffin/src/ |
| D | stream_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 24 // |data| is the content of stream as a buffer. 25 void TestRead(StreamInterface* stream, const Buffer& data) { in TestRead() argument 29 ASSERT_TRUE(stream->Seek(0)); in TestRead() 30 ASSERT_TRUE(stream->Read(buf.data(), buf.size())); in TestRead() 35 // No reading out of data boundary. in TestRead() 38 ASSERT_TRUE(stream->GetSize(&size)); in TestRead() 39 ASSERT_TRUE(stream->Seek(size)); in TestRead() 40 ASSERT_TRUE(stream->Read(tmp.data(), 0)); in TestRead() 41 ASSERT_FALSE(stream->Read(tmp.data(), 1)); in TestRead() [all …]
|
| /external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
| D | CodedInputStream.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 10 // * Redistributions of source code must retain the above copyright 11 // notice, this list of conditions and the following disclaimer. 13 // copyright notice, this list of conditions and the following disclaimer 16 // * Neither the name of Google Inc. nor the names of its 22 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 26 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE [all …]
|
| /external/protobuf/csharp/src/Google.Protobuf/ |
| D | CodedInputStream.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 10 // * Redistributions of source code must retain the above copyright 11 // notice, this list of conditions and the following disclaimer. 13 // copyright notice, this list of conditions and the following disclaimer 16 // * Neither the name of Google Inc. nor the names of its 22 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 26 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE [all …]
|
| /external/llvm/unittests/Support/ |
| D | YAMLParserTest.cpp | 1 //===- unittest/Support/YAMLParserTest ------------------------------------===// 5 // This file is distributed under the University of Illinois Open Source 8 //===----------------------------------------------------------------------===// 34 yaml::Stream Stream(Input, SM); in ExpectParseError() local 36 EXPECT_FALSE(Stream.validate()) << Message << ": " << Input; in ExpectParseError() 37 EXPECT_TRUE(Stream.failed()) << Message << ": " << Input; in ExpectParseError() 43 yaml::Stream Stream(Input, SM); in ExpectParseSuccess() local 44 EXPECT_TRUE(Stream.validate()) << Message << ": " << Input; in ExpectParseSuccess() 129 ExpectParseSuccess("Array of arrays", "[[]]"); in TEST() 137 ExpectParseSuccess("Empty block literal scalar 2", "- | \n \n\n \n- 42"); in TEST() [all …]
|
| /external/rust/crates/libz-sys/src/zlib/contrib/ada/ |
| D | test.adb | 1 ---------------------------------------------------------------- 2 -- ZLib for Ada thick binding. -- 3 -- -- 4 -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- 5 -- -- 6 -- Open source license information is in the zlib.ads file. -- 7 ---------------------------------------------------------------- 9 -- $Id: test.adb,v 1.17 2003/08/12 12:13:30 vagul Exp $ 11 -- The program has a few aims. 12 -- 1. Test ZLib.Ada95 thick binding functionality. [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/common/ |
| D | btree_scheduler.h | 2 // Use of this source code is governed by a BSD-style license that can be 23 // - A stream has to be registered with a priority before being scheduled. 24 // - A stream can be unregistered, or can be re-prioritized. 25 // - A stream can be scheduled; that adds it into the queue. 26 // - PopFront() will return the stream with highest priority. 27 // - ShouldYield() will return if there is a stream with higher priority than 31 // - If two streams have different priorities, the higher priority stream goes 33 // - If two streams have the same priority, the one that got scheduled earlier 35 // decreasing sequence number to every newly scheduled stream. 44 // Returns the number of currently scheduled streams. [all …]
|
| /external/google-breakpad/src/common/ |
| D | module.cc | 7 // * Redistributions of source code must retain the above copyright 8 // notice, this list of conditions and the following disclaimer. 10 // copyright notice, this list of conditions and the following disclaimer 13 // * Neither the name of Google LLC nor the names of its 19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> [all …]
|
| /external/grpc-grpc/third_party/upb/upb/wire/ |
| D | eps_copy_input_stream.h | 1 // Protocol Buffers - Google's data interchange format 4 // Use of this source code is governed by a BSD-style 6 // https://developers.google.com/open-source/licenses/bsd 22 // The maximum number of bytes a single protobuf field can take up in the 24 // stream guarantees that after upb_EpsCopyInputStream_IsDone() is called, 26 // check. The stream will copy into a patch buffer as necessary to guarantee 37 const char* end; // Can read up to SlopBytes bytes beyond this. member 38 const char* limit_ptr; // For bounds checks, = end + UPB_MIN(limit, 0) 40 int limit; // Submessage limit relative to end 45 // Returns true if the stream is in the error state. A stream enters the error [all …]
|
| /external/sonivox/jet_tools/JetCreator/ |
| D | midifile.py | 12 You may obtain a copy of the License at 14 http://www.apache.org/licenses/LICENSE-2.0 18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 45 # force note-offs to end of list 67 # System real-time messages 104 # Meta-events 123 MSG_NOT_SMF_FILE = 'Not an SMF file - aborting parse!' 202 #--------------------------------------------------------------- 204 #--------------------------------------------------------------- 206 def __init__ (self, stream, msg): argument [all …]
|
| /external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/wire/ |
| D | eps_copy_input_stream.h | 2 * Copyright (c) 2009-2021, Google LLC 7 * * Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer in the 12 * * Neither the name of Google LLC nor the 13 * names of its contributors may be used to endorse or promote products 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT [all …]
|
| /external/grpc-grpc/src/ruby/lib/grpc/generic/ |
| D | service.rb | 5 # You may obtain a copy of the License at 7 # http://www.apache.org/licenses/LICENSE-2.0 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20 # Provides behaviour used to implement schema-derived service classes. 23 # IDL-schema-derived servers. 25 # creates a new string that is the underscore separate version of s. 28 # PrintHTML -> print_html 29 # AMethod -> a_method 30 # AnRpc -> an_rpc 35 s.gsub!(/([A-Z]+)([A-Z][a-z])/, '\1_\2') [all …]
|
| /external/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
| D | UnsynchronizedFilterInputStream.java | 7 * the License. You may obtain a copy of the License at 9 * http://www.apache.org/licenses/LICENSE-2.0 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 27 * An unsynchronized version of {@link FilterInputStream}, not thread-safe. 30 … byte-wise filtering input data to an on-the-fly compression or decompression of the underlying st… 31 * and provide some additional functionality on top of it usually inherit from this class. 99 * The source input stream that is filtered. 104 * Constructs a new {@code FilterInputStream} with the specified input stream as source. 106 * @param inputStream the non-null InputStream to filter reads on. 113 * Returns the number of bytes that are available before this stream will block. [all …]
|
| /external/llvm/docs/tutorial/ |
| D | OCamlLangImpl5.rst | 11 Welcome to Chapter 5 of the "`Implementing a language with 12 LLVM <index.html>`_" tutorial. Parts 1-4 described the implementation of 18 of "build that compiler", we'll extend Kaleidoscope to have an 32 sort of thing: 40 fib(x-1)+fib(x-2); 49 The semantics of the if/then/else expression is that it evaluates the 54 Kaleidoscope allows side-effects, this behavior is important to nail 61 --------------------------------- 66 .. code-block:: ocaml 74 .. code-block:: ocaml [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/ |
| D | BinaryStreamArray.h | 1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 /// VarStreamArray - Arrays of variable length records. The user specifies 15 /// return the number of bytes consumed by the record. 17 /// FixedStreamArray - Arrays of fixed length records. This is similar in 19 /// elements of the array need not be laid out in contiguous memory. 37 /// beginning of the next record, but where the length of the record is not yet 40 /// return success and set Len to the number of bytes this record occupied in [all …]
|
| /external/pigweed/pw_stream/ |
| D | std_file_stream.cc | 4 // use this file except in compliance with the License. You may obtain a copy of 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 19 namespace pw::stream { namespace 22 std::ios::seekdir WhenceToSeekDir(Stream::Whence whence) { in WhenceToSeekDir() 24 case Stream::Whence::kBeginning: in WhenceToSeekDir() 26 case Stream::Whence::kCurrent: in WhenceToSeekDir() 28 case Stream::Whence::kEnd: in WhenceToSeekDir() 29 return std::ios::end; in WhenceToSeekDir() 31 PW_CRASH("Unknown value for enum Stream::Whence"); in WhenceToSeekDir() [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/pjrt/ |
| D | tracked_device_buffer.cc | 5 You may obtain a copy of the License at 7 http://www.apache.org/licenses/LICENSE-2.0 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 #include "tensorflow/stream_executor/stream.h" 34 se::Stream* stream) { in SetSequencingEvent() argument 39 streams_defined_on_.push_back(stream); in SetSequencingEvent() 53 void BufferSequencingEvent::WaitForEventOnStream(se::Stream* stream) { in WaitForEventOnStream() argument 61 // The set of defined streams is expected to be very small indeed (usually in WaitForEventOnStream() 62 // 1-2), so a simple linear scan should be fast enough. in WaitForEventOnStream() 63 if (std::find(streams_defined_on_.begin(), streams_defined_on_.end(), in WaitForEventOnStream() [all …]
|
| /external/apache-http/src/org/apache/http/impl/io/ |
| D | ChunkedInputStream.java | 2 …* $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/jav… 4 * $Date: 2007-08-26 10:05:40 -0700 (Sun, 26 Aug 2007) $ 13 * with the License. You may obtain a copy of the License at 15 * http://www.apache.org/licenses/LICENSE-2.0 19 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 25 * This software consists of voluntary contributions made by many 26 * individuals on behalf of the Apache Software Foundation. For more 48 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6">section 3.6.1</a>. 49 * It transparently coalesces chunks of a HTTP stream that uses chunked 50 * transfer coding. After the stream is read to the end, it provides access [all …]
|