- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 2,463 for setS (0.02 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) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache.close() createNewCacheWithSize(10) set("a", "a", "a") set("b", "b", "b") set("c", "c", "c") set("d", "d", "d") set("e", "e", "e") cache["b"]!!.close() // 'B' is now least recently used. // Causing the size to grow to 12 should evict 'A'. set("f", "f", "f") // Causing the size to grow to 12 should evict 'C'. set("g", "g", "g") cache.flush()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
.teamcity/mvnw.cmd
@REM Fallback to current working directory if not found. set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir set EXEC_DIR=%CD% set WDIR=%EXEC_DIR% :findBaseDir IF EXIST "%WDIR%"\.mvn goto baseDirFound cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 6.5K bytes - Click Count (0) -
internal/once/singleton.go
// Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/NetworkConnections.java
Set<N> successors(); Set<E> incidentEdges(); Set<E> inEdges(); Set<E> outEdges(); /** * Returns the set of edges connecting the origin node to {@code node}. For networks without * parallel edges, this set cannot be of size greater than one. */ Set<E> edgesConnecting(N node); /** * Returns the node that is adjacent to the origin node along {@code edge}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
src/main/assemblies/files/fess.bat
TITLE Fess SET params='%*' :loop FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO ( SET current=%%A SET params='%%B' SET silent=N IF "!current!" == "-s" ( SET silent=Y ) IF "!current!" == "--silent" ( SET silent=Y ) IF "!silent!" == "Y" ( SET nopauseonerror=Y ) ELSE ( IF "x!newparams!" NEQ "x" ( SET newparams=!newparams! !current!
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun May 24 22:24:52 GMT 2020 - 796 bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
addrIndexField.setAccessible(true); addrIndexField.set(nameQueryResponse, 0); // Set 'recordName' for NbtAddress constructor Field recordNameField = NameServicePacket.class.getDeclaredField("recordName"); recordNameField.setAccessible(true); Name mockRecordName = new Name(mockConfig); recordNameField.set(nameQueryResponse, mockRecordName);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
cmd/metrics-v3-system-drive.go
m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...) m.Set(driveFreeBytes, float64(drive.AvailableSpace), labels...) m.Set(driveTotalBytes, float64(drive.TotalSpace), labels...) m.Set(driveUsedInodes, float64(drive.UsedInodes), labels...) m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...) m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset (relative to header start) SMBUtil.writeInt2(80, buffer, bufferIndex + 2); // Set buffer length (empty directory) SMBUtil.writeInt4(0, buffer, bufferIndex + 4); // Mock getHeaderStartCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0)