- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 3,315 for SET (0.11 seconds)
-
guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
return suite; } public void testAllocArraysDefault() { CompactHashSet<Integer> set = CompactHashSet.create(); assertThat(set.needsAllocArrays()).isTrue(); assertThat(set.elements).isNull(); set.add(1); assertThat(set.needsAllocArrays()).isFalse(); assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE); } public void testAllocArraysExpectedSize() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 4K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
/** * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is * not present in this network. * * @since 33.1.0 */ protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) { return InvalidatableSet.of( set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0) -
cmd/api-headers.go
func setEventStreamHeaders(w http.ResponseWriter) { w.Header().Set(xhttp.ContentType, "text/event-stream") w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering w.Header().Set("X-Accel-Buffering", "no") // nginx to turn off buffering } // Write http common headers func setCommonHeaders(w http.ResponseWriter) { // Set the "Server" http header. w.Header().Set(xhttp.ServerInfo, MinioStoreName)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
tests/association_generics_test.go
// Test Set + Update with Association OpCreate assocOp := clause.Association{ Association: "Pets", Type: clause.OpCreate, Set: []clause.Assignment{ {Column: clause.Column{Name: "name"}, Value: "new-pet"}, }, } rows, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(assocOp).Update(ctx) if err != nil { t.Fatalf("Set Update with association failed: %v", err) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
byte[] buffer = new byte[1024]; int bufferIndex = 100; // Start at non-zero index // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset (relative to header start) SMBUtil.writeInt2(50, buffer, bufferIndex + 2); // Set buffer length SMBUtil.writeInt4(8, buffer, bufferIndex + 4); // Mock getHeaderStartCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
} private static Set<Feature<?>> computeReserializedMapFeatures(Set<Feature<?>> mapFeatures) { Set<Feature<?>> derivedFeatures = copyToSet(mapFeatures); derivedFeatures.remove(CollectionFeature.SERIALIZABLE); derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS); return derivedFeatures; } private static Set<Feature<?>> computeEntrySetFeatures(Set<Feature<?>> mapFeatures) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/distributed/DESIGN.md
- Erasure set is a single erasure coding unit within a MinIO deployment. An object is sharded within an erasure set. Erasure set size is automatically calculated based on the number of drives. MinIO supports unlimited number of drives but each erasure set can be up to 16 drives and a minimum of 2 drives.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
@Override public SortedSet<String> create(String[] elements) { SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator()); Collections.addAll(set, elements); return set; } }) .named("TreeSet, with comparator") .withFeatures( SetFeature.GENERAL_PURPOSE,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 15K bytes - Click Count (0)