/aosp_15_r20/external/python/cpython3/Tools/demo/ |
D | sortvisu.py | 8 - an array visualizer with methods that implement basic sorting 12 - a number of sorting algorithms (currently quicksort, insertion sort, 17 - and a ``driver'' class which can be used as a Grail applet or as a 18 stand-alone application. 37 self.frame.pack(fill=X) 61 for i in range(self.size): 90 elif self.speed == "single-step": 108 for i in range(self.size): 111 self.canvas.itemconfig(item, fill='red') 113 self.canvas.itemconfig(item, fill='orange') [all …]
|
/aosp_15_r20/external/python/cpython2/Demo/tkinter/guido/ |
D | sortvisu.py | 7 - an array visualizer with methods that implement basic sorting 11 - a number of sorting algorithms (currently quicksort, insertion sort, 16 - and a ``driver'' class which can be used as a Grail applet or as a 17 stand-alone application. 37 self.frame.pack(fill=X) 61 for i in range(self.size): 92 elif self.speed == "single-step": 110 for i in range(self.size): 113 item.item.config(fill='red') 115 item.item.config(fill='orange') [all …]
|
D | solitaire.py | 7 - No cute graphical images for the playing cards faces or backs. 8 - No scoring or timer. 9 - No undo. 10 - No option to turn 3 cards at a time. 11 - No keyboard shortcuts. 12 - Less fancy animation when you win. 13 - The determination of which stack you drag to is more relaxed. 41 # Constants determining the size and lay-out of cards and stacks. We 87 # Card values are 1-13. We also define symbolic names for the picture 94 ALLVALUES = range(1, 14) # (one more than the highest value) [all …]
|
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
H A D | UTF8.java | 4 * Utilities for working with UTF-8 encodings. 6 * Decoding of UTF-8 is based on a presentation by Bob Steagall at CppCon2018 (see 8 * recognize and decode multi-byte code points. 13 … static final byte C_ILL = 0; //- C0..C1, F5..FF ILLEGAL octets that should never appe… 14 private static final byte C_CR1 = 1; //- 80..8F Continuation range 1 15 private static final byte C_CR2 = 2; //- 90..9F Continuation range 2 16 private static final byte C_CR3 = 3; //- A0..BF Continuation range 3 17 …private static final byte C_L2A = 4; //- C2..DF Leading byte range A / 2-byte … 18 …private static final byte C_L3A = 5; //- E0 Leading byte range A / 3-byte … 19 …private static final byte C_L3B = 6; //- E1..EC, EE..EF Leading byte range B / 3-byte … [all …]
|
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/ |
H A D | UTF8.java | 5 * Utilities for working with UTF-8 encodings. 7 * Decoding of UTF-8 is based on a presentation by Bob Steagall at CppCon2018 (see 9 * recognize and decode multi-byte code points. 15 … static final byte C_ILL = 0; //- C0..C1, F5..FF ILLEGAL octets that should never appe… 16 private static final byte C_CR1 = 1; //- 80..8F Continuation range 1 17 private static final byte C_CR2 = 2; //- 90..9F Continuation range 2 18 private static final byte C_CR3 = 3; //- A0..BF Continuation range 3 19 …private static final byte C_L2A = 4; //- C2..DF Leading byte range A / 2-byte … 20 …private static final byte C_L3A = 5; //- E0 Leading byte range A / 3-byte … 21 …private static final byte C_L3B = 6; //- E1..EC, EE..EF Leading byte range B / 3-byte … [all …]
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/ |
H A D | UTF8.java | 5 * Utilities for working with UTF-8 encodings. 7 * Decoding of UTF-8 is based on a presentation by Bob Steagall at CppCon2018 (see 9 * recognize and decode multi-byte code points. 15 … static final byte C_ILL = 0; //- C0..C1, F5..FF ILLEGAL octets that should never appe… 16 private static final byte C_CR1 = 1; //- 80..8F Continuation range 1 17 private static final byte C_CR2 = 2; //- 90..9F Continuation range 2 18 private static final byte C_CR3 = 3; //- A0..BF Continuation range 3 19 …private static final byte C_L2A = 4; //- C2..DF Leading byte range A / 2-byte … 20 …private static final byte C_L3A = 5; //- E0 Leading byte range A / 3-byte … 21 …private static final byte C_L3B = 6; //- E1..EC, EE..EF Leading byte range B / 3-byte … [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.fill/ |
H A D | ranges.fill.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 // constexpr O ranges::fill(O first, S last, const T& value); 16 // constexpr borrowed_iterator_t<R> ranges::fill(R&& r, const T& value); 28 concept HasFillIt = requires(Iter iter, Sent sent) { std::ranges::fill(iter, sent, int{}); }; 36 template <class Range> 37 concept HasFillR = requires(Range range) { std::ranges::fill(range, int{}); }; 50 std::same_as<It> auto ret = std::ranges::fill(It(a), Sent(It(a + 3)), 1); in test_iterators() 56 auto range = std::ranges::subrange(It(a), Sent(It(a + 3))); in test_iterators() local [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | slides_v1.presentations.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | slides_v1.presentations.pages.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/tests/ |
D | formathelper.py | 2 # Copyright (c) 2008-2012 Stefan Krah. All rights reserved. 29 # Generate PEP-3101 format strings. 42 "chinese", "chinese-simplified", "chinese-traditional", "czech", "danish", 43 "dutch", "belgian", "english", "australian", "canadian", "english-nz", 44 "english-uk", "english-us", "finnish", "french", "french-belgian", 45 "french-canadian", "french-swiss", "german", "german-austrian", 46 "german-swiss", "greek", "hungarian", "icelandic", "italian", "italian-swiss", 47 "japanese", "korean", "norwegian", "norwegian-bokmal", "norwegian-nynorsk", 48 "polish", "portuguese", "portuguese-brazil", "russian", "slovak", "spanish", 49 "spanish-mexican", "spanish-modern", "swedish", "turkish", [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/rand-0.8.5/src/ |
H A D | rng.rs | 2 // Copyright 2013-2017 The Rust Project Developers. 4 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 5 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license 6 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your 18 /// An automatically-implemented extension trait on [`RngCore`] providing high-level 28 /// - Since `Rng: RngCore` and every `RngCore` implements `Rng`, it makes no 30 /// - The `+ ?Sized` un-bounding allows functions to be called directly on 31 /// type-erased references; i.e. `foo(r)` where `r: &mut dyn RngCore`. Without 35 /// trade-offs. It allows the argument to be consumed directly without a `&mut` 37 /// on references (including type-erased references). Unfortunately within the [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/rand/src/ |
D | rng.rs | 2 // Copyright 2013-2017 The Rust Project Developers. 4 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 5 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license 6 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your 18 /// An automatically-implemented extension trait on [`RngCore`] providing high-level 28 /// - Since `Rng: RngCore` and every `RngCore` implements `Rng`, it makes no 30 /// - The `+ ?Sized` un-bounding allows functions to be called directly on 31 /// type-erased references; i.e. `foo(r)` where `r: &mut dyn RngCore`. Without 35 /// trade-offs. It allows the argument to be consumed directly without a `&mut` 37 /// on references (including type-erased references). Unfortunately within the [all …]
|
/aosp_15_r20/external/openthread/src/core/common/ |
H A D | random.hpp | 37 #include "openthread-core-config.h" 71 * Generates and returns a random value using a non-crypto Pseudo Random Number Generator. 82 * @param[out] aBuffer A pointer to a buffer to fill with the random bytes. 83 * @param[in] aSize Size of buffer (number of bytes to fill). 92 class NonCryptoPrng // A non-crypto Pseudo Random Number Generator (PRNG) 133 * Generates and returns a random `uint8_t` value within a given range `[aMin, aMax)`. 138 * @returns A random `uint8_t` value in the given range (i.e., aMin <= random value < aMax). 144 * Generates and returns a random `uint16_t` value within a given range `[aMin, aMax)`. 151 * @returns A random `uint16_t` value in the given range (i.e., aMin <= random value < aMax). 157 * Generates and returns a random `uint32_t` value within a given range `[aMin, aMax)`. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/data/kernel_tests/ |
H A D | padded_batch_test.py | 1 # -*- coding: utf-8 -*- 8 # http://www.apache.org/licenses/LICENSE-2.0 50 lambda x: array_ops.fill([x], x)).padded_batch( 57 for i in range(num_full_batches): 60 if padded_len is None or padded_len == -1: 63 for j in range(batch_size): 66 self.assertAllEqual(result[j, seq_len:], [0] * (padded_len - seq_len)) 71 if padded_len is None or padded_len == -1: 74 for j in range(len(seq_lens) % batch_size): 77 self.assertAllEqual(result[j, seq_len:], [0] * (padded_len - seq_len)) [all …]
|
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
D | slides.v1.json | 38 "x16": "http://www.google.com/images/icons/product/search-16.gif", 39 "x32": "http://www.google.com/images/icons/product/search-32.gif" 75 "Responses with Content-Type of application/json", 76 "Media download with context-dependent Content-Type", 77 "Responses with Content-Type of application/x-protobuf" 109 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit… 418 … by the font_size gives the font size that is rendered in the editor. This property is read-only.", 423 …e line_spacing gives the line spacing that is rendered in the editor. This property is read-only.", 538 …-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in … 598 …-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in … [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/skrifa-0.15.5/src/color/ |
H A D | mod.rs | 10 …olor_painter_impl : &mut impl ColorPainter, glyph_id : GlyphId, size: Size) -> Result<(), PaintErr… 32 …::FontRef, color_painter_impl : &mut impl ColorPainter, glyph_id : GlyphId) -> Result<(), PaintErr… 58 use std::{collections::HashSet, fmt::Debug, ops::Range}; 73 /// parse errors from read-fonts. 82 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 96 fn from(value: ReadError) -> Self { in from() 103 /// All gradient callbacks of [`ColorPainter`] normalize color stops to be in the range of 0 107 // This repr(C) is required so that C-side FFI's 108 // are able to cast the ColorStop slice to a C-side array pointer. 123 // re-applying the deltas at least once, after which we would pass the scaled [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/range/include/boost/range/algorithm/ |
D | fill.hpp | 7 // For more information, see http://www.boost.org/libs/range/ 13 #include <boost/range/begin.hpp> 14 #include <boost/range/end.hpp> 15 #include <boost/range/concepts.hpp> 20 namespace range namespace 23 /// \brief template function fill 25 /// range-based version of the fill std algorithm 29 inline ForwardRange& fill(ForwardRange& rng, const Value& val) in fill() function 32 std::fill(boost::begin(rng), boost::end(rng), val); in fill() 38 inline const ForwardRange& fill(const ForwardRange& rng, const Value& val) in fill() function [all …]
|
/aosp_15_r20/external/eigen/bench/perf_monitoring/resources/ |
H A D | chart_header.html | 5 …<meta charset='utf-8'> … 6 …-axis line,.nvd3 .nv-axis path{fill:none;shape-rendering:crispEdges}.nv-brush .extent,.nvd3 .backg… 9 …box-sizing: border-box; … 18 …font-size: 0; … 21 …clip-path: none; … 24 …fill: #333; … 26 ….nv-axislabel { … 27 …font-size: 16px !important; … 32 …pointer-events: visible; … 34 …@media (min-width: 768px) { …
|
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
H A D | dense_to_ragged_batch_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 41 return _make_scalar_ds(nrows).map(lambda x: array_ops.fill([x], x)) 46 return _make_scalar_ds(nrows).map(lambda x: array_ops.fill([x, 2], x)) 51 return _make_scalar_ds(nrows).map(lambda x: array_ops.fill([2, x], x)) 56 return _make_scalar_ds(nrows).map(lambda x: array_ops.fill([2, 3], x)) 62 lambda x: array_ops.fill([2, x, 3, 2*x, 4], x)) 67 values = [[[i] * (i % 3) for i in range(j)] * (j % 3) for j in range(nrows)] 77 'shape=[x]': math_ops.range(x), 78 'shape=[x, 2]': array_ops.fill([x, 2], x), 79 'shape=[2, x]': array_ops.fill([2, x], x), [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/drawing/ |
D | area.rs | 15 use std::ops::Range; 33 ) -> impl Iterator<Item = Rect> + 'a { in split() 55 fn split_evenly(&self, (row, col): (usize, usize)) -> impl Iterator<Item = Rect> + '_ { in split_evenly() 56 fn compute_evenly_split(from: i32, to: i32, n: usize, idx: usize) -> i32 { in split_evenly() 57 let size = (to - from) as usize; in split_evenly() 75 ) -> impl Iterator<Item = Rect> { in split_grid() 108 /// Make the coordinate in the range of the rectangle 109 pub fn truncate(&self, p: (i32, i32)) -> (i32, i32) { in truncate() 116 /// 1. Layout specification - Split the parent drawing area into sub-drawing-areas 117 /// 2. Coordinate Translation - Allows guest coordinate system attached and used for drawing. [all …]
|
/aosp_15_r20/external/google-breakpad/src/common/windows/ |
H A D | omap.cc | 34 // address spaces. It consists of two streams, each of them a vector 2-tuples. 47 // Consider a trivial 10-byte function described by the following symbol: 51 // Now consider the same function, but with 5-bytes of instrumentation injected 62 // the injected code may also be associated with an original address range; 82 // correct, but the length doesn't take into account the 5-bytes of injected 187 if (FAILED(stream->get_Count(&count))) { in FindAndLoadOmapTable() 196 if (FAILED(stream->Next(count, 0, &bytes_read, NULL, &count_read))) { in FindAndLoadOmapTable() 210 table->resize(count); in FindAndLoadOmapTable() 213 if (FAILED(stream->Next(count, bytes_expected, &bytes_read, in FindAndLoadOmapTable() 214 reinterpret_cast<BYTE*>(&table->at(0)), in FindAndLoadOmapTable() [all …]
|
/aosp_15_r20/external/expat/expat/doc/ |
H A D | ok.min.css | 2 …-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:conten…
|
/aosp_15_r20/external/antlr/runtime/ObjC/Framework/ |
H A D | BufferedTokenStream.m | 40 @synthesize range; 52 - (BufferedTokenStream *) init 58 index = -1; 59 range = -1; 64 -(id) initWithTokenSource:(id<TokenSource>)aSource 70 index = -1; 71 range = -1; 76 - (id) copyWithZone:(NSZone *)aZone 86 copy.range = self.range; 90 - (void)dealloc [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 3 # Version 1.0.1 - 24. 9. 2009 5 # Copyright (C) 2006 - 2010 Gregor Lingl 8 # This software is provided 'as-is', without any express or implied 30 Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it 31 the command turtle.forward(15), and it moves (on-screen!) 15 pixels in 33 command turtle.right(25), and it rotates in-place 25 degrees clockwise. 38 ----- turtle.py 47 the -n switch. 51 - Better animation of the turtle movements, especially of turning the 55 - Different turtle shapes, gif-images as turtle shapes, user defined [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/array/include/boost/ |
D | array.hpp | 16 * 9 Jan 2013 - (mtc) Added constexpr 17 * 14 Apr 2012 - (mtc) Added support for boost::hash 18 * 28 Dec 2010 - (mtc) Added cbegin and cend (and crbegin and crend) for C++Ox compatibility. 19 * 10 Mar 2010 - (mtc) fill method added, matching resolution of the standard library working group. 20 * See <http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#776> or Trac issue #3168 21 * Eventually, we should remove "assign" which is now a synonym for "fill" (Marshall Clow) 22 * 10 Mar 2010 - added workaround for SUNCC and !STLPort [trac #3893] (Marshall Clow) 23 * 29 Jan 2004 - c_array() added, BOOST_NO_PRIVATE_IN_AGGREGATE removed (Nico Josuttis) 24 * 23 Aug 2002 - fix for Non-MSVC compilers combined with MSVC libraries. 25 * 05 Aug 2001 - minor update (Nico Josuttis) [all …]
|