- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 969 for SET (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
if (set.isEmpty()) { /* * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be * greater than tooHigh. */ return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1); } int tooHigh = set.last() + 1; int tooLow = set.first() - 1; set.add(tooHigh);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetOperationsTest.java
protected Set<String> create(String[] elements) { Set<String> set = newHashSet(elements); Set<String> other = newHashSet("wz", "xq"); set.addAll(other); other.add("pq"); return Sets.difference(set, other); } }) .named("set - set") .withFeatures(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
} private Set<Artifact> resolveImpl( Collection<? extends MavenProject> projects, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<String> projectIds) throws ArtifactResolutionException, ArtifactNotFoundException { Set<Artifact> resolved = new LinkedHashSet<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} } return features; } /** * Given a set of features, return a new set of all features directly or indirectly implied by any * of them. * * @param features the set of features whose implications to find * @return the implied set of features */ public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { Set<Feature<?>> impliedSet = new LinkedHashSet<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
for (int i = 0; i < inputSize; i++) { builder.add(i % setSize); } ImmutableSet<Integer> set = builder.build(); assertTrue(set instanceof RegularImmutableSet); assertEquals( "Input size " + inputSize + " and set size " + setSize, tableSize, ((RegularImmutableSet<Integer>) set).table.length); } public void testCopyOf_copiesImmutableSortedSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
* {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override public Set<Entry<K, V>> entries() { return (Set<Entry<K, V>>) super.entries(); } /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
* {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override public Set<Entry<K, V>> entries() { return (Set<Entry<K, V>>) super.entries(); } /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
SettableFuture<Integer> future = SettableFuture.create(); assertTrue(future.set(42)); // Later attempts to set the future should return false. assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.<Integer>create())); // Check that the future has been set properly. assertTrue(future.isDone()); assertFalse(future.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
cmd/test-utils_test.go
credential := fmt.Sprintf("%s/%s", accessKeyID, scope) // Set URL query. query := req.URL.Query() query.Set("X-Amz-Algorithm", signV4Algorithm) query.Set("X-Amz-Date", date.Format(iso8601Format)) query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10)) query.Set("X-Amz-SignedHeaders", "host") query.Set("X-Amz-Credential", credential) query.Set("X-Amz-Content-Sha256", unsignedPayload)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) { Set<Feature<?>> derivedFeatures = new HashSet<>(features); derivedFeatures.remove(SERIALIZABLE); derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS); return derivedFeatures; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.7K bytes - Viewed (0)