- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 327 for Synchronized (0.06 seconds)
-
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
// Test implementation } } // ========== Thread Safety Tests for getDataStoreNames() ========== /** * Test concurrent getDataStoreNames calls to verify synchronized method works correctly. * Multiple threads call getDataStoreNames() simultaneously. */ @Test public void test_getDataStoreNames_concurrentAccess() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false; final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); this.handle.sendrecv(rpc);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
return false; } } private static final class RecordingRunnable implements Runnable { final CountDownLatch wasRun = new CountDownLatch(1); // synchronized so that checkState works as expected. @Override public synchronized void run() { checkState(wasRun.getCount() > 0); wasRun.countDown(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
* @see jcifs.SmbPipeHandle#isStale() */ @Override public boolean isStale() { return !this.open || this.handle != null && !this.handle.isValid(); } @Override public synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { if (!this.open) { throw new SmbException("Pipe handle already closed"); } if (!isOpen()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
throw new SQLRuntimeException(e); } } /** * Deregisters all JDBC drivers associated with the current class loader. */ public static synchronized void deregisterAllDrivers() { for (final Enumeration<Driver> e = DriverManager.getDrivers(); e.hasMoreElements();) { deregisterDriver(e.nextElement()); } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
import java.io.OutputStream; class SocketOutputStream extends FilterOutputStream { SocketOutputStream(final OutputStream out) { super(out); } @Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */ return delegate.values(); } @Override public Set<Cell<R, C, V>> cellSet() { assertTrue(Thread.holdsLock(mutex)); return delegate.cellSet(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
protected CrawlerClientFactory crawlerClientFactory; /** * List of URLs to be deleted, cached for batch processing. * All access is synchronized via indexUpdateCallback lock. */ protected List<String> deleteUrlList = new ArrayList<>(); /** Maximum size of the delete URL cache before batch deletion is triggered. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
* This prevents stack trace generation for this exception type. * * @return null to skip stack trace generation */ @Override public synchronized Throwable fillInStackTrace() { return null; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2K bytes - Click Count (0)