Home
last modified time | relevance | path

Searched +full:set +full:- +full:array (Results 1 – 25 of 1231) sorted by relevance

12345678910>>...50

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharSetTest.java10 * http://www.apache.org/licenses/LICENSE-2.0
47 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("a-zA-Z")); in testGetInstance()
48 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("A-Za-z")); in testGetInstance()
49 assertSame(CharSet.ASCII_ALPHA_LOWER, CharSet.getInstance("a-z")); in testGetInstance()
50 assertSame(CharSet.ASCII_ALPHA_UPPER, CharSet.getInstance("A-Z")); in testGetInstance()
51 assertSame(CharSet.ASCII_NUMERIC, CharSet.getInstance("0-9")); in testGetInstance()
59 assertEquals("[a-e]", CharSet.getInstance(new String[] {"a-e"}).toString()); in testGetInstance_Stringarray()
64 CharSet set; in testConstructor_String_simple() local
65 CharRange[] array; in testConstructor_String_simple() local
67 set = CharSet.getInstance((String) null); in testConstructor_String_simple()
[all …]
/external/icu/icu4c/source/common/
Duset.cpp6 * Copyright (C) 2002-2011, International Business Machines
11 * encoding: UTF-8
18 * There are functions to efficiently serialize a USet into an array of uint16_t
44 uset_close(USet* set) { in uset_close() argument
45 delete (UnicodeSet*) set; in uset_close()
49 uset_clone(const USet *set) { in uset_clone() argument
50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument
55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen()
59 uset_freeze(USet *set) { in uset_freeze() argument
[all …]
Dschriter.cpp5 * Copyright (C) 1998-2012, International Business Machines Corporation and
38 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
39 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
47 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
48 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
58 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
59 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
66 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
67 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
77 // we had set the input parameter's array, now we need to set our copy's array in operator =()
[all …]
/external/cronet/third_party/icu/source/common/
Duset.cpp6 * Copyright (C) 2002-2011, International Business Machines
11 * encoding: UTF-8
18 * There are functions to efficiently serialize a USet into an array of uint16_t
44 uset_close(USet* set) { in uset_close() argument
45 delete (UnicodeSet*) set; in uset_close()
49 uset_clone(const USet *set) { in uset_clone() argument
50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument
55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen()
59 uset_freeze(USet *set) { in uset_freeze() argument
[all …]
Dschriter.cpp5 * Copyright (C) 1998-2012, International Business Machines Corporation and
38 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
39 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
47 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
48 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
58 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
59 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
66 // we had set the input parameter's array, now we need to set our copy's array in StringCharacterIterator()
67 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
77 // we had set the input parameter's array, now we need to set our copy's array in operator =()
[all …]
/external/zxing/core/src/test/java/com/google/zxing/common/
DBitArrayTestCase.java8 * http://www.apache.org/licenses/LICENSE-2.0
31 BitArray array = new BitArray(33); in testGetSet() local
33 assertFalse(array.get(i)); in testGetSet()
34 array.set(i); in testGetSet()
35 assertTrue(array.get(i)); in testGetSet()
41 BitArray array = new BitArray(32); in testGetNextSet1() local
42 for (int i = 0; i < array.getSize(); i++) { in testGetNextSet1()
43 assertEquals(String.valueOf(i), 32, array.getNextSet(i)); in testGetNextSet1()
45 array = new BitArray(33); in testGetNextSet1()
46 for (int i = 0; i < array.getSize(); i++) { in testGetNextSet1()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.shift.per-set.frag.out1 hlsl.shift.per-set.frag
5 0:34 Function Definition: @main( ( temp 4-component vector of float)
8 0:35 't1' (layout( set=1 binding=1) uniform texture1D)
9 0:36 't2' (layout( set=1 binding=2) uniform texture2D)
10 0:37 't3' (layout( set=2 binding=1) uniform texture3D)
11 0:38 direct index (layout( row_major std430) buffer 4-component vector of float)
12 …ct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component ve…
13 … 't4' (layout( set=3 binding=1 row_major std430) readonly buffer block{layout( row_major std430)…
19 …data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
20 … 't5' (layout( set=3 binding=2 row_major std430) readonly buffer block{layout( row_major std4…
[all …]
/external/angle/third_party/glslang/src/Test/baseResults/
Dhlsl.shift.per-set.frag.out1 hlsl.shift.per-set.frag
5 0:34 Function Definition: @main( ( temp 4-component vector of float)
8 0:35 't1' (layout( set=1 binding=1) uniform texture1D)
9 0:36 't2' (layout( set=1 binding=2) uniform texture2D)
10 0:37 't3' (layout( set=2 binding=1) uniform texture3D)
11 0:38 direct index (layout( row_major std430) buffer 4-component vector of float)
12 …ct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component ve…
13 … 't4' (layout( set=3 binding=1 row_major std430) readonly buffer block{layout( row_major std430)…
19 …data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
20 … 't5' (layout( set=3 binding=2 row_major std430) readonly buffer block{layout( row_major std4…
[all …]
/external/liburing/man/
Dio_uring_register.24 .\" SPDX-License-Identifier: LGPL-2.0-or-later
6 .TH IO_URING_REGISTER 2 2019-01-17 "Linux" "Linux Programmer's Manual"
8 io_uring_register \- register files or user buffers for asynchronous I/O
29 application memory, greatly reducing per-I/O overhead.
42 array of
50 buffer. Currently, the buffers must be anonymous, non-file-backed
57 flag set. It is expected that this limitation will be lifted in the
72 and set the
92 If the application currently has requests in-flight, the registration will
109 should be set to the number of bytes in the structure.
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DPropertyOptions.java17 * The property flags are used when properties are fetched from the <code>XMPMeta</code>-object
39 public static final int ARRAY = 0x00000200; field in PropertyOptions
75 * <tt>rdf:resource</tt> attribute. Not mandatory for URIs, but considered RDF-savvy.
84 * @param value the value to set
106 * @param value the value to set
118 * qualifier itself has a structured value, this flag is only set for the top node of
129 * @param value the value to set
147 * @param value the value to set
165 * @param value the value to set
183 * @param value the value to set
[all …]
/external/clang/test/SemaObjC/
Dconditional-expr-6.m1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
25 NSArray *array = ((void*)0);
26 NSSet *set = ((void*)0);
27 return (argc) ? set : array ;
32 NSArray *array = ((void*)0);
33 NSSet *set = ((void*)0);
34 id <MyProtocol> instance = (argc) ? array : set;
35 id <MyProtocol> instance1 = (argc) ? set : array;
38 id <MyProtocol> instance2 = (argc) ? set : n1;
[all …]
/external/libchrome/base/containers/
Dspan_unittest.nc2 // Use of this source code is governed by a BSD-style license that can be
6 // http://dev.chromium.org/developers/testing/no-compile-tests
10 #include <array>
11 #include <set>
31 // A span with static extent constructed from an array must match the size of
32 // the array.
34 int array[] = {1, 2, 3};
35 span<int, 1> span(array);
40 // A span with static extent constructed from std::array must match the size of
41 // the array.
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DArrayMethodsTestCase.java12 * http://www.apache.org/licenses/LICENSE-2.0
22 import java.lang.reflect.Array;
28 * Used to check that method calls on Array references work properly
30 * a fixed-size {@link List}.
44 // test an array of string objects in testArrayMethods()
45 Object array = new String[] { "foo", "bar", "baz" }; in testArrayMethods() local
46 checkResults(array, "woogie", true); in testArrayMethods()
48 // test an array of primitive ints in testArrayMethods()
49 array = new int[] { 1, 3, 7 }; in testArrayMethods()
50 checkResults(array, 11, false); in testArrayMethods()
[all …]
/external/setfilters/javatests/com/google/setfilters/cuckoofilter/
DCuckooFilterArrayTest.java7 // https://www.apache.org/licenses/LICENSE-2.0
31 assertThrows(IllegalArgumentException.class, () -> new CuckooFilterArray(0, 20)) in createsNewArray_invalidLength()
42 assertThrows(IllegalArgumentException.class, () -> new CuckooFilterArray(5, 0)) in createsNewArray_invalidBitsPerElement()
47 assertThrows(IllegalArgumentException.class, () -> new CuckooFilterArray(5, 65)) in createsNewArray_invalidBitsPerElement()
57 () -> new CuckooFilterArray((long) Integer.MAX_VALUE * 63, 20)) in createsNewArray_tooLarge()
71 IllegalArgumentException.class, () -> new CuckooFilterArray(0, 20, new byte[1])) in createsExistingArray_invalidLength()
82 assertThrows(IllegalArgumentException.class, () -> new CuckooFilterArray(5, 0, new byte[1])) in createsExistingArray_invalidBitsPerElement()
88 IllegalArgumentException.class, () -> new CuckooFilterArray(5, 65, new byte[1])) in createsExistingArray_invalidBitsPerElement()
95 CuckooFilterArray array = new CuckooFilterArray(100, 20); in creatExistingArray() local
96 array.set(0, 1); in creatExistingArray()
[all …]
/external/vulkan-validation-layers/docs/
Dgpu_validation.md1 <!-- markdownlint-disable MD041 -->
2 <!-- Copyright 2015-2019 LunarG, Inc. -->
8 # GPU-Assisted Validation
12 [3]: https://i.creativecommons.org/l/by-nd/4.0/88x31.png "Creative Commons License"
13 [4]: https://creativecommons.org/licenses/by-nd/4.0/
15 GPU-Assisted validation is implemented in the SPIR-V Tools optimizer and the `VK_LAYER_KHRONOS_vali…
16 soon-to-be-deprecated `VK_LAYER_LUNARG_core_validation` layer). This document covers the design of …
21 The basic operation of GPU-Assisted validation is comprised of instrumenting shader code to perform…
25 The layer instruments the shaders by passing the shader's SPIR-V bytecode to the SPIR-V optimizer c…
26 …erform an instrumentation pass to add the additional instructions to perform the run-time checking.
[all …]
/external/rust/crates/tinyvec/src-backup/
Darrayset.rs5 use super::{take, Array};
13 /// Error resulting from attempting to insert into a full array
20 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
25 /// An array-backed set
27 /// This set supports `O(n)` operations and has a fixed size, thus may fail to
30 /// The set is backed by an array of type `A` and indexed by type `L`.
34 pub struct ArraySet<A: Array, L> {
39 impl<A: Array + Default, L: From<u8>> ArraySet<A, L> {
40 /// Constructs a new, empty, set
42 pub fn new() -> Self { in new()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUSerializedSet.java6 * Copyright (C) 2002-2010, International Business Machines
27 * Fill in the given serialized set object.
28 * @param src pointer to start of array
30 * @return true if the given array is valid, otherwise false
34 array=null; in getSet()
55 array = new char[length]; in getSet()
56 System.arraycopy(src,srcStart,array,0,length); in getSet()
62 * Set the USerializedSet to contain the given character (and nothing
72 array[0]=(char)c; in setToOne()
73 array[1]=(char)(c+1); in setToOne()
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
DUSerializedSet.java5 * Copyright (C) 2002-2010, International Business Machines
25 * Fill in the given serialized set object.
26 * @param src pointer to start of array
28 * @return true if the given array is valid, otherwise false
32 array=null; in getSet()
53 array = new char[length]; in getSet()
54 System.arraycopy(src,srcStart,array,0,length); in getSet()
60 * Set the USerializedSet to contain the given character (and nothing
70 array[0]=(char)c; in setToOne()
71 array[1]=(char)(c+1); in setToOne()
[all …]
/external/mesa3d/src/glx/
Dindirect_vertex_array_priv.h18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
43 * State descriptor for a single array of vertex data.
65 * Calculated size, in bytes, of a single element in the array. This
72 * Actual byte-stride from one element to the next. This value will
83 * "Normalized" data is on the range [0,1] (unsigned) or [-1,1] (signed).
89 * Pre-calculated GLX protocol command header.
90 * This contains two 16-bit words: the command length and the command
96 * Set to \c GL_TRUE if this array is enabled. Otherwise, it is set
102 * For multi-arrayed data (e.g., texture coordinates, generic vertex
103 * program attributes, etc.), this specifies which array this is.
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DFixedSizeArray.java8 * http://www.apache.org/licenses/LICENSE-2.0
24 * to provide a contiguous array of fixed length which can be accessed, sorted, and searched without
26 * of an array (the maximum number of objects it can contain) and the "count" of an array
27 * (the current number of objects inserted into the array). Operations such as set() and remove()
28 * can only operate on objects that have been explicitly add()-ed to the array; that is, indexes
30 * @param <T> The type of object that this array contains.
43 // Ugh! No generic array construction in Java. in FixedSizeArray()
63 * Inserts a new object into the array. If the array is full, an assert is thrown and the
67 assert mCount < mContents.length : "Array exhausted!"; in add()
76 * Searches for an object and removes it from the array if it is found. Other indexes in the
[all …]
/external/ComputeLibrary/src/core/CL/
DICLKernel.h2 * Copyright (c) 2016-2022 Arm Limited.
4 * SPDX-License-Identifier: MIT
70 /** Returns the number of arguments enqueued per array object.
72 * @return The number of arguments enqueued per array object.
99 * @param[in] lws_hint Local-Workgroup-Size to use.
100 * @param[in] wbsm_hint (Optional) Workgroup-Batch-Size-Modifier to use.
146 …/** Add the passed 1D array's parameters to the object's kernel's arguments starting from the inde…
148 … Index at which to start adding the array's arguments. Will be incremented by the number of kern…
149 * @param[in] array Array to set as an argument of the object's kernel.
151 * @param[in] num_dimensions Number of dimensions of the @p array.
[all …]
/external/libchrome/base/
Dstl_util_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include <array>
16 #include <set>
124 std::array<int, 4> array = {{1, 2, 3, 4}}; in TEST() local
126 std::is_same<decltype(base::size(array)), in TEST()
127 decltype(array.size())>::value, in TEST()
128 "base::size(array) should have the same type as array.size()"); in TEST()
129 static_assert(base::size(array) == array.size(), in TEST()
130 "base::size(array) should be equal to array.size()"); in TEST()
134 int array[] = {1, 2, 3}; in TEST() local
[all …]
/external/cronet/base/containers/
Dspan_nocompile.nc2 // Use of this source code is governed by a BSD-style license that can be
6 // http://dev.chromium.org/developers/testing/no-compile-tests
10 #include <array>
11 #include <set>
26 …span<int, 1u> span; // expected-error {{no matching constructor for initialization of 'span<int, …
29 // A span with static extent constructed from an array must match the size of
30 // the array.
32 int array[] = {1, 2, 3};
33 …span<int, 1u> span(array); // expected-error {{no matching constructor for initialization of 'spa…
39 std::array<int, 3> array = {1, 2, 3};
[all …]
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypeData.java2 * Javassist, a Java-bytecode translator toolkit.
3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
23 import java.util.Set;
35 * array type is a subtype of Cloneable and Serializable
39 TypeData[] array = new TypeData[size]; in make() local
41 array[i] = TypeTag.TOP; in make()
43 return array; in make()
53 * @param className dot-separated name unless the type is an array type.
86 * @param dim array dimension. It may be negative.
91 * Depth-first search by Tarjan's algorithm
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffersBuilder.kt8 * http://www.apache.org/licenses/LICENSE-2.0
65 return buffer // TODO: make a read-only shallow copy in finish()
83 public operator fun set(key: String? = null, value: Boolean): Unit = in set() method in com.google.flatbuffers.kotlin.FlexBuffersBuilder
89 public fun put(value: Byte): Unit = set(null, value.toLong()) in put()
94 public operator fun set(key: String? = null, value: Byte): Unit = set(key, value.toLong()) in put() method in com.google.flatbuffers.kotlin.FlexBuffersBuilder
99 public fun put(value: Short): Unit = set(null, value.toLong()) in put()
104 public inline operator fun set(key: String? = null, value: Short): Unit = set(key, value.toLong()) in put() method in com.google.flatbuffers.kotlin.FlexBuffersBuilder
109 public fun put(value: Int): Unit = set(null, value.toLong()) in put()
114 public inline operator fun set(key: String? = null, value: Int): Unit = set(key, value.toLong()) in put() method in com.google.flatbuffers.kotlin.FlexBuffersBuilder
119 public fun put(value: Long): Unit = set(null, value) in put()
[all …]

12345678910>>...50