- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 987 for segons (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.lang.Thread.currentThread; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 28.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
get() { if (executorServiceOrNull == null) { executorServiceOrNull = ThreadPoolExecutor( 0, Int.MAX_VALUE, 60, TimeUnit.SECONDS, SynchronousQueue(), threadFactory("$okHttpName Dispatcher", false), ) } return executorServiceOrNull!! }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(100L, SMBUtil.readInt8(buffer, 0)); assertEquals(200L, SMBUtil.readInt8(buffer, 8)); assertEquals(1, SMBUtil.readInt4(buffer, 16)); // Verify second lock assertEquals(300L, SMBUtil.readInt8(buffer, 24)); assertEquals(400L, SMBUtil.readInt8(buffer, 32)); assertEquals(2, SMBUtil.readInt4(buffer, 40));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
when(mockEntry.getName()).thenReturn(null, "", " "); // Act & Assert assertNull(mockEntry.getName(), "first call returns null"); assertEquals("", mockEntry.getName(), "second call returns empty"); assertEquals(" ", mockEntry.getName(), "third call returns space"); verify(mockEntry, times(3)).getName(); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
projectStates.values.forEach { projectState -> cleanUp(projectState.tmpExtractedResourcesDirs()) } // Second run: collect and archive leftover files projectStates.forEach { (projectPath: String, projectState: TestFilesCleanupProjectState) -> val tmpTestFiles = projectState.tmpTestFiles()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
// Load persisted handles on startup loadPersistedHandles(); // Schedule periodic persistence and cleanup scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS); } /** * Request a new durable handle * @param path the file path * @param type the handle type * @param timeout the timeout in millisecondsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, initialState); leaseManager.updateLease(key, initialState); // Call with default timeout (should use 60 seconds from config) leaseManager.handleLeaseBreakWithTimeout(key, newState); LeaseEntry entry = leaseManager.getLease(key); assertNotNull(entry); assertEquals(newState, entry.getLeaseState());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth .thenReturn(handle); // second attempt succeeds // dest currently has READONLY attribute set int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE; when(dest.getAttributes()).thenReturn(currentAttrs);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0)