Home
last modified time | relevance | path

Searched +full:fill +full:- +full:range (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/third_party/python/Tools/demo/
Dsortvisu.py8 - 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 …]
Dlife.py4 A curses-based version of Conway's Game of Life.
8 R : Fill the board randomly
30 display(update_board) -- If update_board is true, compute the
33 erase() -- clear the entire board
34 make_random() -- fill the board randomly
35 set(y,x) -- set the given cell to Live; doesn't refresh the screen
36 toggle(y,x) -- change the given cell from live to dead, or vice
43 scr -- curses screen object to use for display
44 char -- character used to render live cells (default: '*')
49 self.X, self.Y = X - 2, Y - 2 - 1
[all …]
Dredemo.py14 text="Enter a Perl-style regular expression:")
15 self.promptdisplay.pack(side=TOP, fill=X)
18 self.regexdisplay.pack(fill=X)
24 self.statusdisplay.pack(side=TOP, fill=X)
28 self.labeldisplay.pack(fill=X)
29 self.labeldisplay.pack(fill=X)
32 self.showframe.pack(fill=X, anchor=W)
52 self.stringdisplay.pack(fill=BOTH, expand=1)
56 self.grouplabel.pack(fill=X)
59 self.grouplist.pack(expand=1, fill=BOTH)
[all …]
/third_party/python/Modules/_decimal/tests/
Dformathelper.py2 # 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 …]
/third_party/skia/experimental/docs/
Dsvgbaseddoc.htm8 font-family: Helvetica, Arial, sans-serif;
9 font-size: 100%;
17 display: inline-block;
18 border-radius: 3px;
20 font-size: 0.9rem;
23 border-bottom: 1px solid #498b50;
25 -webkit-font-smoothing: antialiased;
26 font-weight: bold;
28 text-align: center;
38 box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
[all …]
/third_party/pulseaudio/src/tests/
Dvolume-ui.py156 cm.parse("surround-51")
161 for i in range(cm.channels):
180 for i in range(cm.channels):
192 for i in range(cm.channels):
213 for i in range(cm.channels):
216 vbox.pack_start(channel_labels[i], expand=False, fill=True)
222 vbox.pack_start(channel_scales[i], expand=False, fill=True)
224 channel_dB_labels[i] = gtk.Label("-xxx dB")
226 vbox.pack_start(channel_dB_labels[i], expand=False, fill=True)
230 vbox.pack_start(value_label, expand=False, fill=True)
[all …]
/third_party/skia/third_party/externals/expat/expat/doc/
Dok.min.css2-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:conten…
/third_party/openGLES/extensions/ARB/
DARB_clear_buffer_object.txt21 Copyright (c) 2012-2014 The Khronos Group Inc. Copyright terms at
26 Khronos-approved extension specifications are updated in response to
116 To fill all or part of an existing buffer object's data store with a
135 range to fill. Both <offset> and <range> must be multiples of the number
136 of basic machine units per-element for that internal format specified by
139 containing the data to be used as the source of the constant fill value.
142 fill the specified range of the destination buffer. If <data> is NULL, then
143 the pointer is ignored and the sub-range of the buffer is filled with zeros.
150 range of the buffer bound to <target> is currently mapped.
192 (Per-Fragment Operations and the Frame Buffer)
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_clear_buffer_object.txt21 Copyright (c) 2012-2014 The Khronos Group Inc. Copyright terms at
106 To fill all or part of an existing buffer object's data store with a
125 range to fill. Both <offset> and <range> must be multiples of the number
126 of basic machine units per-element for that internal format specified by
129 containing the data to be used as the source of the constant fill value.
132 fill the specified range of the destination buffer. If <data> is NULL, then
133 the pointer is ignored and the sub-range of the buffer is filled with zeros.
140 range of the buffer bound to <target> is currently mapped.
182 (Per-Fragment Operations and the Frame Buffer)
224 specified range of the buffer bound to <target> is currently mapped.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_fill_rectangle.txt44 rasterized by computing and filling its axis-aligned screen-space bounding
48 that need to be drawn, particularly for a user-interface.
59 (Fixed-Function Primitive Assembly and Rasterization)
69 method for front-facing polygons, back-facing polygons, or both front- and
70 back-facing polygons. <mode> is one of the symbolic constants POINT, LINE,
71 FILL, or FILL_RECTANGLE_NV. Calling PolygonMode with POINT causes certain
78 for subsequent edges.) FILL is the default mode of polygon rasterization,
85 within the primitive if the sample location is inside the window-aligned
87 weights used in attribute interpolation may be outside the range [0,1]
96 frustum or by user clip planes, in an implementation-dependent manner.
[all …]
/third_party/openGLES/extensions/NV/
DNV_fill_rectangle.txt44 rasterized by computing and filling its axis-aligned screen-space bounding
48 that need to be drawn, particularly for a user-interface.
59 (Fixed-Function Primitive Assembly and Rasterization)
69 method for front-facing polygons, back-facing polygons, or both front- and
70 back-facing polygons. <mode> is one of the symbolic constants POINT, LINE,
71 FILL, or FILL_RECTANGLE_NV. Calling PolygonMode with POINT causes certain
78 for subsequent edges.) FILL is the default mode of polygon rasterization,
85 within the primitive if the sample location is inside the window-aligned
87 weights used in attribute interpolation may be outside the range [0,1]
96 frustum or by user clip planes, in an implementation-dependent manner.
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_pseudocolor.c18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
99 typedef struct Fill { struct
100 float fill[4]; member
101 } Fill; argument
103 typedef struct Range { struct
105 } Range; typedef
109 const Range *ranges;
111 const Fill *fills;
114 static const Range full_range = {{0, 1}, {1, 1}};
115 static const Range nominal_range[] = {{{0, 1}, {4096, 65536}}, {{4096, 65536}, {60161, 65536}}, {{6…
[all …]
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate06.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * 4. deallocate misaligned part of file range written in step 1
17 * 5. read() the deallocated range and check that it was zeroed
21 * - fill filesystem between step 2 and 3
22 * - disable copy-on-write on test file
23 * - combinations of above subtests
92 * Set FS_NOCOW_FL flag on the temp file. Non-CoW filesystems will in setup()
120 "Error checking copy-on-write support"); in setup()
125 tst_res(TINFO, "Copy-on-write is%s supported", in setup()
130 /* Fill the buffer with known values */ in setup()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/probability/distribution/
Dcategorical.py1 # Copyright 2020-2024 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
36 A Categorical Distribution is a discrete distribution with the range :math:`\{1, 2, ..., k\}`
139 if self.probs.shape[:-1] == ():
141 self._broadcast_shape = self._broadcast_shape[:-1]
143 self.argmax = P.ArgMaxWithValue(axis=-1)
147 self.concat = P.Concat(-1)
171 self.squeeze_last_axis = P.Squeeze(-1)
209 E[X] = \sum_{i=0}^{num_classes-1} i*p_i
212 num_classes = self.shape(probs)[-1]
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/layer/
Dmath.py1 # Copyright 2020-2021 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
31 'Range',
45 -1259.13921672240287047156078755283,
47 -176.61502916214059906584551354,
49 -0.13857109526572011689554707,
50 9.984369578019570859563e-6,
51 1.50563273514931155834e-7]
69 …axis (Union[int, tuple(int), list(int)]) - The dimensions to reduce. Default: ``()`` , reduce all …
76 - **x** (Tensor) - The input tensor. With float16 or float32 data type.
[all …]
/third_party/icu/icu4c/source/test/perf/unisetperf/draft/
Dbitset.cpp11 * encoding: UTF-8
18 * Idea for a "compiled", fast, read-only (immutable) version of a UnicodeSet
19 * using a folded bit set consisting of a 1k-entry index table and a
20 * compacted array of 64-bit words.
30 * Hash table for up to 1k 64-bit words, for 1 bit per BMP code point.
31 * Hashes 64-bit words and maps them to 16-bit integers which are
43 // Fill values[] with 0xffff. in BMPBitHash()
77 * Invert the hash map: Fill an array of length countKeys() with the keys
107 prevIndex=-1; in BitSet()
117 // Finish the end of the previous range. in BitSet()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/device/
Dtensor_array.cc2 * Copyright 2021-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
23 if (dtype != dtype_->type_id()) { in CheckValue()
25 << TypeIdLabel(dtype_->type_id()); in CheckValue()
37 MS_LOG(ERROR) << "Index " << index << " out of range " << valid_size_ << ", " << name_; in CheckReadIndexLogical()
46 MS_LOG(EXCEPTION) << "Index " << index << " out of range " << tensors_.size() << ", " << name_; in Read()
48 …MS_LOG(DEBUG) << "Read tensor index = " << index << ", addr = " << tensors_[LongToSize(index)]->ad… in Read()
54 // Case 2: index > valid_size, fill the rest dev_value with zeros, and set valid_size to index + 1.
66 // Create/reuse (index - valid_size) size dev_value with zeros. in Write()
67 // 1 create new mem : index > real_size ? index - real_size : 0 in Write()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 switch (descriptor->dimension) { in TargetForTexture()
33 if (descriptor->size.depthOrArrayLayers > 1) { in TargetForTexture()
34 ASSERT(descriptor->sampleCount == 1); in TargetForTexture()
37 if (descriptor->sampleCount > 1) { in TargetForTexture()
92 if (texture->GetFormat().format != textureViewDescriptor->format) { in RequiresCreatingNewTextureView()
96 if (texture->GetArrayLayers() != textureViewDescriptor->arrayLayerCount) { in RequiresCreatingNewTextureView()
100 if (texture->GetNumMipLevels() != textureViewDescriptor->mipLevelCount) { in RequiresCreatingNewTextureView()
104 if (ToBackend(texture)->GetGLFormat().format == GL_DEPTH_STENCIL && in RequiresCreatingNewTextureView()
105 (texture->GetUsage() & wgpu::TextureUsage::TextureBinding) != 0 && in RequiresCreatingNewTextureView()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h7 // https://www.apache.org/licenses/LICENSE-2.0
38 // Returns a random variate R in range [min, max] such that
39 // floor(log(R-min, base)) is uniformly distributed.
63 range_(static_cast<unsigned_type>(max_) - in min_()
70 // Determine where the first set bit is on range(), giving a log2(range) in min_()
73 (std::min)(bit_width(range()), in min_()
84 // Thus a result which should equal K may equal K +/- epsilon, in min_()
87 const double log_range = std::log(static_cast<double>(range()) + 0.5); in min_()
108 unsigned_type range() const { return range_; } in range() function
113 unsigned_type range_; // max - min
[all …]
/third_party/backends/japi/
DSane.c1 /* sane - Scanner Access Now Easy.
40 ** Sane.c - Native methods for the SANE Java API.
42 ** Written: 10/9/97 - JSF
63 jint *versionCodeBody; /* Gets ->array. */ in Java_Sane_init()
68 len = (*env)->GetArrayLength(env, versionCode); in Java_Sane_init()
69 versionCodeBody = (*env)->GetIntArrayElements(env, versionCode, 0); in Java_Sane_init()
72 (*env)->ReleaseIntArrayElements(env, versionCode, versionCodeBody, 0); in Java_Sane_init()
109 devListLen = (*env)->GetArrayLength(env, devList); in Java_Sane_getDevicesNative()
111 for (i = 0; i < devListLen - 1 && device_list[i]; i++) in Java_Sane_getDevicesNative()
114 devObj = (*env)->GetObjectArrayElement(env, devList, i); in Java_Sane_getDevicesNative()
[all …]
/third_party/icu/icu4c/source/common/unicode/
Ducurr.h5 * Copyright (c) 2002-2016, International Business Machines
20 * ISO 4217. A currency is represented by a 3-character string
71 * @param buff fill in buffer. Can be NULL for preflighting.
72 * @param buffCapacity capacity of the fill in buffer. Can be 0 for
73 * preflighting. If it is non-zero, the buff parameter
112 * "$" instead of "US$" for USD in en-CA.
122 * such as banking; for example, "NT$" instead of "$" for TWD in zh-TW.
149 * @param isoCode the three-letter ISO 4217 currency code
161 * Unregister the previously-registered currency definitions using the
179 * @param currency null-terminated 3-letter ISO 4217 code
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Ducurr.h5 * Copyright (c) 2002-2016, International Business Machines
20 * ISO 4217. A currency is represented by a 3-character string
71 * @param buff fill in buffer. Can be NULL for preflighting.
72 * @param buffCapacity capacity of the fill in buffer. Can be 0 for
73 * preflighting. If it is non-zero, the buff parameter
112 * "$" instead of "US$" for USD in en-CA.
123 * such as banking; for example, "NT$" instead of "$" for TWD in zh-TW.
151 * @param isoCode the three-letter ISO 4217 currency code
163 * Unregister the previously-registered currency definitions using the
181 * @param currency null-terminated 3-letter ISO 4217 code
[all …]
/third_party/ffmpeg/libavutil/
Dimgutils.h16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
64 * Fill plane linesizes for an image with pixel format pix_fmt and
73 * Fill plane sizes for an image with pixel format pix_fmt and height height.
87 * Fill plane data pointers for an image with pixel format pix_fmt and
102 * fill pointers and linesizes accordingly.
188 * To allocate the buffer and fill in the dst_data and dst_linesize in
221 * for the buffer to fill.
281 * sub-rectangle of an image, meaning the padding between the right most pixel
288 * non-hwaccel pixel formats should be supported.
297 * @param range the color range of the image (important for colorspaces such as YUV)
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Darray-prototype-fill.js7 // http://www.apache.org/licenses/LICENSE-2.0
16 // Use of this source code is governed by a BSD-style license that can be
33 assert (1 === Array.prototype.fill.length);
35 assert (assertArrayEquals ([].fill (8), []));
36 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (), [undefined, undefined, undefined, undefined, un…
37 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8), [8, 8, 8, 8, 8]));
38 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 1), [0, 8, 8, 8, 8]));
39 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 10), [0, 0, 0, 0, 0]));
40 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, -5), [8, 8, 8, 8, 8]));
41 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 1, 4), [0, 8, 8, 8, 0]));
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/image/
Dimage_utils.h2 * Copyright 2020-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
129 /// \param flip_code: 1 for Horizontal (around y-axis), 0 for Vertical (around x-axis), -1 for both
210 /// \param[out] input Masks the input image in-place and returns it
226 /// \brief Swap the red and blue pixels (RGB <-> BGR)
277 /// If user input one value in python, the range is [1 - value, 1 + value].
286 /// If user input one value in python, the range is [1 - value, 1 + value].
312 /// If user input one value in python, the range is [1 - value, 1 + value].
327 /// \param hue: Hue value to adjust by, should be within range [-0.5, 0.5]. 0.5 and - 0.5 will reve…
329 /// If user input one value in python, the range is [-value, value].
[all …]

12345678910>>...44