- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 815 for Threads (0.04 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread. * * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints. * * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertThrows(SmbEndOfFileException.class, () -> raf.readFully(new byte[4])); } @Test @DisplayName("readFully(): reads across multiple partial reads") void readFully_readsAll() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
log.trace("Acquire tree " + usage + " " + this); } if (track && this.traceResource) { synchronized (this.acquires) { this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace())); } } if (usage == 1) { synchronized (this) { if (this.sessionAcquired.compareAndSet(false, true)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
/* * We access this field racily but safely. For discussion of a similar situation, see the comments * on the fields of TimeoutFuture. This field is slightly different from the fields discussed * there: cancel() never reads this field, only writes to it. That makes the race here completely * harmless, rather than just 99.99% harmless. */ @LazyInit private @Nullable List<@Nullable Present<V>> values;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} private void negotiate(int port, final ServerMessageBlock resp) throws IOException { /* We cannot use Transport.sendrecv() yet because * the Transport thread is not setup until doConnect() * returns and we want to supress all communication * until we have properly negotiated. */ synchronized (sbuf) { if (port == 139) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* <li>Checking if a URL has already been visited.</li> * <li>Generating URL queues from a previous session's access results.</li> * </ul> * * <p> * The class uses synchronization to ensure thread safety when accessing and modifying the URL queue. * It also checks for duplicate URLs before adding them to the queue, * both within the queue itself and against previously accessed URLs stored in the {@link MemoryDataHelper}.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
failureUrl.setErrorName(errorName); failureUrl.setErrorLog(getStackTrace(e)); failureUrl.setLastAccessTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); failureUrl.setThreadName(Thread.currentThread().getName()); bhv.insertOrUpdate(failureUrl, op -> { op.setRefreshPolicy(Constants.TRUE); }); return failureUrl; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
Class<?> sepFrqC = sepLoader.loadClass(frqC.getName()); assertThat(frqC).isNotSameInstanceAs(sepFrqC); // Check the assumptions above. // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways. // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} } } /** * Dispatches all events enqueued prior to this call, serially and in order, for every listener. * * <p>Note: this method is idempotent and safe to call from any thread */ public void dispatch() { // iterate by index to avoid concurrent modification exceptions for (int i = 0; i < listeners.size(); i++) { listeners.get(i).dispatch(); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java
ClassLoader projectRealm = project.getClassRealm(); if (projectRealm == null) { projectRealm = classRealmManager.getCoreRealm(); } Thread.currentThread().setContextClassLoader(projectRealm); } private List<org.eclipse.aether.artifact.Artifact> toAetherArtifacts(final List<Artifact> pluginArtifacts) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.8K bytes - Viewed (0)