| /external/bazel-skylib/tests/ |
| D | new_sets_tests.bzl | 17 load("//lib:new_sets.bzl", "sets") 21 """Unit tests for sets.is_equal.""" 23 # Note that if this test fails, the results for the other `sets` tests will 25 # calls `sets.is_equal`. 28 asserts.true(env, sets.is_equal(sets.make(), sets.make())) 29 asserts.false(env, sets.is_equal(sets.make(), sets.make([1]))) 30 asserts.false(env, sets.is_equal(sets.make([1]), sets.make())) 31 asserts.true(env, sets.is_equal(sets.make([1]), sets.make([1]))) 32 asserts.false(env, sets.is_equal(sets.make([1]), sets.make([1, 2]))) 33 asserts.false(env, sets.is_equal(sets.make([1]), sets.make([2]))) [all …]
|
| /external/bazel-skylib/docs/ |
| D | new_sets_doc.md | 5 An empty set can be created using: `sets.make()`, or it can be created with some starting values 6 if you pass it an sequence: `sets.make([1, 2, 3])`. This returns a struct containing all of the 8 values in the set can be retrieved using `sets.to_list(my_set)`. 10 An arbitrary object can be tested whether it is a set generated by `sets.make()` or not with the 13 <a id="sets.contains"></a> 15 ## sets.contains 18 sets.contains(<a href="#sets.contains-a">a</a>, <a href="#sets.contains-e">e</a>) 28 | <a id="sets.contains-a"></a>a | A set, as returned by `sets.make()`. | none | 29 | <a id="sets.contains-e"></a>e | The element to look for. | none | 36 <a id="sets.copy"></a> [all …]
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| D | SetOperationsTest.java | 35 * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}. 50 return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite() 64 return Sets.union(Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); in suite() 76 return Sets.union(Sets.<String>newHashSet(), Sets.newHashSet(elements)); in suite() 89 return Sets.union(Sets.newHashSet(elements), Sets.<String>newHashSet()); in suite() 103 // Put the sets in different orders for the hell of it in suite() 104 return Sets.union( in suite() 105 Sets.newLinkedHashSet(asList(elements)), in suite() 106 Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2]))); in suite() 119 return Sets.union( in suite() [all …]
|
| D | SetsTest.java | 20 import static com.google.common.collect.Sets.newEnumSet; 21 import static com.google.common.collect.Sets.newHashSet; 22 import static com.google.common.collect.Sets.newLinkedHashSet; 23 import static com.google.common.collect.Sets.powerSet; 24 import static com.google.common.collect.Sets.unmodifiableNavigableSet; 84 * Unit test for {@code Sets}. 121 return Sets.newConcurrentHashSet(Arrays.asList(elements)); in suite() 124 .named("Sets.newConcurrentHashSet") in suite() 137 ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1)) in suite() 138 : Sets.newHashSet(elements); in suite() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/collect/ |
| D | SetOperationsTest.java | 35 * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}. 50 return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite() 64 return Sets.union(Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); in suite() 76 return Sets.union(Sets.<String>newHashSet(), Sets.newHashSet(elements)); in suite() 89 return Sets.union(Sets.newHashSet(elements), Sets.<String>newHashSet()); in suite() 103 // Put the sets in different orders for the hell of it in suite() 104 return Sets.union( in suite() 105 Sets.newLinkedHashSet(asList(elements)), in suite() 106 Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2]))); in suite() 119 return Sets.union( in suite() [all …]
|
| D | SetsTest.java | 20 import static com.google.common.collect.Sets.newEnumSet; 21 import static com.google.common.collect.Sets.newHashSet; 22 import static com.google.common.collect.Sets.newLinkedHashSet; 23 import static com.google.common.collect.Sets.powerSet; 24 import static com.google.common.collect.Sets.unmodifiableNavigableSet; 81 * Unit test for {@code Sets}. 118 return Sets.newConcurrentHashSet(Arrays.asList(elements)); in suite() 121 .named("Sets.newConcurrentHashSet") in suite() 134 ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1)) in suite() 135 : Sets.newHashSet(elements); in suite() [all …]
|
| /external/cpuinfo/src/x86/cache/ |
| D | deterministic.c | 29 const uint32_t sets = 1 + regs.ecx; in cpuinfo_x86_decode_deterministic_cache_parameters() local 50 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 52 .sets = sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 61 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 63 .sets = sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 72 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 74 .sets = sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 92 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 94 .sets = sets, in cpuinfo_x86_decode_deterministic_cache_parameters() 112 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters() [all …]
|
| D | descriptor.c | 110 .sets = 64, in cpuinfo_x86_decode_cache_descriptor() 125 .sets = 128, in cpuinfo_x86_decode_cache_descriptor() 140 .sets = 128, in cpuinfo_x86_decode_cache_descriptor() 155 .sets = 128, in cpuinfo_x86_decode_cache_descriptor() 183 .sets = 128, in cpuinfo_x86_decode_cache_descriptor() 198 .sets = 64, in cpuinfo_x86_decode_cache_descriptor() 213 .sets = 64, in cpuinfo_x86_decode_cache_descriptor() 226 .sets = 1024, in cpuinfo_x86_decode_cache_descriptor() 241 .sets = 512, in cpuinfo_x86_decode_cache_descriptor() 257 .sets = 2048, in cpuinfo_x86_decode_cache_descriptor() [all …]
|
| /external/libxaac/ |
| D | README_dec.md | 15 |IA_API_CMD_INIT | IA_CMD_TYPE_INIT_API_PRE_CONFIG_PARAMS | Sets the configuration parameters of th… 16 |IA_API_CMD_INIT | IA_CMD_TYPE_INIT_API_POST_CONFIG_PARAMS | Sets the attributes(size, priority, al… 19 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_PCM_WDSZ | Sets the bit width of the … 20 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_SAMP_FREQ | Sets the core AAC samplin… 21 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_EFFECT_TYPE | Sets the value of D… 22 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_TARGET_LOUDNESS | Sets the value … 23 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_DOWNMIX | Sets the parameter whether … 24 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_TOSTEREO | Sets the flag to disable i… 25 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_DSAMPLE | Sets the parameter whether … 26 |IA_API_CMD_SET_CONFIG_PARAM | IA_ENHAACPLUS_DEC_CONFIG_PARAM_ISMP4 | Sets the flag to 0 or 1 to in… [all …]
|
| /external/apache-xml/src/main/java/org/apache/xalan/templates/ |
| D | ElemUse.java | 36 * shared behavior the use-attribute-sets attribute. 37 * @see <a href="http://www.w3.org/TR/xslt#attribute-sets">attribute-sets in XSLT Specification</a> 45 * The value of the "use-attribute-sets" attribute. 51 * Set the "use-attribute-sets" attribute. 52 * Attribute sets are used by specifying a use-attribute-sets 54 * xsl:attribute-set elements. The value of the use-attribute-sets 56 * sets. Each name is specified as a QName, which is expanded as 59 * @param v The value to set for the "use-attribute-sets" attribute. 75 * Set the "use-attribute-sets" attribute. 76 * Attribute sets are used by specifying a use-attribute-sets [all …]
|
| /external/bazel-skylib/lib/ |
| D | new_sets.bzl | 17 An empty set can be created using: `sets.make()`, or it can be created with some starting values 18 if you pass it an sequence: `sets.make([1, 2, 3])`. This returns a struct containing all of the 20 values in the set can be retrieved using `sets.to_list(my_set)`. 22 An arbitrary object can be tested whether it is a set generated by `sets.make()` or not with the 49 s: A set, as returned by `sets.make()`. 60 s: A set, as returned by `sets.make()`. 73 s: A set, as returned by `sets.make()`. 88 s: A set, as returned by `sets.make()`. 101 a: A set, as returned by `sets.make()`. 110 """Returns two sets in the order of shortest and longest. [all …]
|
| /external/llvm/lib/Support/ |
| D | DeltaAlgorithm.cpp | 45 const changesetlist_ty &Sets) { in Delta() argument 47 UpdatedSearchState(Changes, Sets); in Delta() 50 if (Sets.size() <= 1) in Delta() 55 if (Search(Changes, Sets, Res)) in Delta() 58 // Otherwise, partition the sets if possible; if not we are done. in Delta() 60 for (changesetlist_ty::const_iterator it = Sets.begin(), in Delta() 61 ie = Sets.end(); it != ie; ++it) in Delta() 63 if (SplitSets.size() == Sets.size()) in Delta() 70 const changesetlist_ty &Sets, in Search() argument 73 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search() [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | DeltaAlgorithm.cpp | 45 const changesetlist_ty &Sets) { in Delta() argument 47 UpdatedSearchState(Changes, Sets); in Delta() 50 if (Sets.size() <= 1) in Delta() 55 if (Search(Changes, Sets, Res)) in Delta() 58 // Otherwise, partition the sets if possible; if not we are done. in Delta() 60 for (changesetlist_ty::const_iterator it = Sets.begin(), in Delta() 61 ie = Sets.end(); it != ie; ++it) in Delta() 63 if (SplitSets.size() == Sets.size()) in Delta() 70 const changesetlist_ty &Sets, in Search() argument 73 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
| D | DeltaAlgorithm.cpp | 44 const changesetlist_ty &Sets) { in Delta() argument 46 UpdatedSearchState(Changes, Sets); in Delta() 49 if (Sets.size() <= 1) in Delta() 54 if (Search(Changes, Sets, Res)) in Delta() 57 // Otherwise, partition the sets if possible; if not we are done. in Delta() 59 for (const changeset_ty &Set : Sets) in Delta() 61 if (SplitSets.size() == Sets.size()) in Delta() 68 const changesetlist_ty &Sets, in Search() argument 71 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search() 72 ie = Sets.end(); it != ie; ++it) { in Search() [all …]
|
| /external/guava/guava-tests/test/com/google/common/cache/ |
| D | CacheBuilderFactory.java | 25 import com.google.common.collect.Sets; 32 * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of 40 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null); 41 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null); 42 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null); 43 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null); 44 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null); 45 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null); 46 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); 47 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null); [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/cache/ |
| D | CacheBuilderFactory.java | 25 import com.google.common.collect.Sets; 32 * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of 40 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null); 41 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null); 42 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null); 43 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null); 44 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null); 45 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null); 46 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); 47 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null); [all …]
|
| /external/rust/crates/openssl/src/x509/ |
| D | extension.rs | 50 /// Sets the `critical` flag to `true`. The extension will be critical. 56 /// Sets the `ca` flag to `true`. 62 /// Sets the `pathlen` to an optional non-negative value. The `pathlen` is the 128 /// Sets the `critical` flag to `true`. The extension will be critical. 134 /// Sets the `digitalSignature` flag to `true`. 140 /// Sets the `nonRepudiation` flag to `true`. 146 /// Sets the `keyEncipherment` flag to `true`. 152 /// Sets the `dataEncipherment` flag to `true`. 158 /// Sets the `keyAgreement` flag to `true`. 164 /// Sets the `keyCertSign` flag to `true`. [all …]
|
| /external/skia/include/core/ |
| D | SkRRect.h | 39 Initializes corner radii to (0, 0), and sets type of kEmpty_Type. 115 /** Sets bounds to zero width and height at (0, 0), the origin. Sets 116 corner radii to zero and sets type to kEmpty_Type. 120 /** Sets bounds to sorted rect, and sets corner radii to zero. 121 If set bounds has width and height, and sets type to kRect_Type; 122 otherwise, sets type to kEmpty_Type. 138 Initializes corner radii to (0, 0), and sets type of kEmpty_Type. 155 /** Sets bounds to oval, x-axis radii to half oval.width(), and all y-axis radii 156 to half oval.height(). If oval bounds is empty, sets to kEmpty_Type. 157 Otherwise, sets to kOval_Type. [all …]
|
| /external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowBuild.java | 26 * Sets the value of the {@link Build#BOARD} field. 35 * Sets the value of the {@link Build#DEVICE} field. 44 * Sets the value of the {@link Build#FINGERPRINT} field. 53 * Sets the value of the {@link Build#ID} field. 62 * Sets the value of the {@link Build#PRODUCT} field. 71 * Sets the value of the {@link Build#IS_DEBUGGABLE} field. 80 * Sets the value of the {@link Build#MODEL} field. 89 * Sets the value of the {@link Build#MANUFACTURER} field. 98 * Sets the value of the {@link Build#BRAND} field. 107 * Sets the value of the {@link Build#HARDWARE} field. [all …]
|
| /external/fonttools/Lib/fontTools/misc/ |
| D | classifyTools.py | 7 Main Classifier object, used to classify things into similar sets. 12 self._sets = [] # list of class sets produced so far 26 things, sets, mapping = self._things, self._sets, self._mapping 37 sets.append(difference) 54 sets.append(old_class_intersection) 61 Add a a list of sets to the classifier. Any iterable of iterables is accepted. 71 sets = self._sets 72 self._sets = [s for s in sets if s] 100 """Returns the list of class sets. 111 Takes a iterable of iterables (list of sets from here on; but any [all …]
|
| /external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/fragments/ |
| D | SimpleFragment.java | 57 ArrayList<IBarDataSet> sets = new ArrayList<>(); in generateBarData() local 69 sets.add(ds); in generateBarData() 72 BarData d = new BarData(sets); in generateBarData() 79 ArrayList<IScatterDataSet> sets = new ArrayList<>(); in generateScatterData() local 96 sets.add(ds); in generateScatterData() 99 ScatterData d = new ScatterData(sets); in generateScatterData() 132 ArrayList<ILineDataSet> sets = new ArrayList<>(); in generateLineData() local 146 sets.add(ds1); in generateLineData() 147 sets.add(ds2); in generateLineData() 149 LineData d = new LineData(sets); in generateLineData() [all …]
|
| /external/autotest/server/cros/cellular/ |
| D | cellular_simulator.py | 181 """ Sets the band for the indicated base station. 190 """ Sets the input power for the indicated base station. 199 """ Sets the output power for the indicated base station. 208 """ Sets the tdd configuration number for the indicated base station. 217 """ Sets the Special Sub-Frame config number for the indicated 227 """ Sets the bandwidth for the indicated base station. 236 """ Sets the downlink channel number for the indicated base station. 245 """ Sets the mimo mode for the indicated base station. 254 """ Sets the transmission mode for the indicated base station. 264 """ Sets the scheduling mode for the indicated base station. [all …]
|
| /external/python/cpython2/Lib/ |
| D | sets.py | 1 """Classes to represent arbitrary sets (including sets of sets). 3 This module implements sets using dictionaries whose values are 7 Important: sets are not sequences! While they support 'x in s', 11 integers: s[i], for i in range(len(s)). Sets don't support 13 their elements have a definite order; sets on the other hand don't 20 sets. This is an abstract class, not meant to be directly 23 Set -- Mutable sets, subclass of BaseSet; not hashable. 25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. 62 warnings.warn("the sets module is deprecated", DeprecationWarning, 66 """Common base class for mutable and immutable sets.""" [all …]
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
| D | Breakpoint002Test.java | 35 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 45 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 56 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 67 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 78 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 89 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 100 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 110 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 120 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the 130 * <BR>It runs Breakpoint002Debuggee and sets breakpoint in the [all …]
|
| /external/clang/utils/ |
| D | token-delta.py | 49 """split(set) -> [sets] 63 def delta(self, c, sets): argument 64 # assert(reduce(set.union, sets, set()) == c) 67 if len(sets) <= 1: 71 res = self.search(c, sets) 75 # Otherwise, partition sets if possible; if not we are done. 76 refined = sum(map(list, map(self.split, sets)), []) 77 if len(refined) == len(sets): 82 def search(self, c, sets): argument 83 for i,S in enumerate(sets): [all …]
|