- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 3,315 for set (0.02 seconds)
-
guava/src/com/google/common/collect/Platform.java
} /** Returns the platform preferred implementation of a set based on a hash table. */ static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) { return Sets.newHashSetWithExpectedSize(expectedSize); } /** Returns the platform preferred implementation of a thread-safe hash set. */ static <E> Set<E> newConcurrentHashSet() { return ConcurrentHashMap.newKeySet(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java
this.markerFile.set(getProject().getLayout().getBuildDirectory().file("markers/" + this.getName() + ".marker")); } @TaskAction public void auditSplitPackages() { workerExecutor.noIsolation().submit(SplitPackagesAuditAction.class, params -> { params.getProjectPath().set(getProject().getPath()); params.getProjectBuildDirs().set(getProjectBuildDirs());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 22:04:23 GMT 2021 - 14.2K bytes - Click Count (0) -
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.create())); // Check that the future has been set properly. assertTrue(future.isDone()); assertFalse(future.isCancelled());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} } shuffle(queryList, random); return queryList.toArray(new Element[0]); } private Set<Element> createData() { Set<Element> set = Sets.newHashSetWithExpectedSize(size); while (set.size() < size) { set.add(newElement()); } return set; } private Element newElement() { int value = random.nextInt();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} /** * Gets the set of highlighted query terms. * @return The set of highlighted query terms, or empty set if not initialized. */ public Set<String> getHighlightedQuerySet() { return highlightedQuerySet != null ? highlightedQuerySet : new HashSet<>(); } /** * Gets the field log map containing field names and their associated query terms.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
import java.util.Collections; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Encapsulates the constraints that a class under test must satisfy in order for a tester method to * be run against that class. * * @author George van den Driessche */ @GwtCompatible public final class TesterRequirements { private final Set<Feature<?>> presentFeatures; private final Set<Feature<?>> absentFeatures;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 2.6K bytes - Click Count (0) -
helm-releases/minio-2.0.1.tgz
## Provide a name to substitute for the full names of resources ## fullnameOverride: "" ## set kubernetes cluster domain where minio is running ## clusterDomain: cluster.local ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the ## image: repository: minio/minio tag: RELEASE.2021-08-20T18-32-01Z pullPolicy: IfNotPresent imagePullSecrets: [] # - name: "image-pull-secret" ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio ## client used to create...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 31 09:09:09 GMT 2021 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly"); assertEquals(credits, request.getCredit(), "Credits should be set correctly"); assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly"); assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set for non-zero asyncId"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
* * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large * range set (such as {@code ImmutableRangeSet.of(Range.greaterThan(0))}). Certain operations on * such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link * Collections#frequency}) can cause major performance problems. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
* * @param collection the elements that the set should contain * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates) */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create( Collection<? extends E> collection) { CompactLinkedHashSet<E> set = createWithExpectedSize(collection.size()); set.addAll(collection); return set; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 9.4K bytes - Click Count (0)