- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 347 for synchronize (0.06 seconds)
-
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
* The ingester is inserted into the collection and the array is re-sorted by priority. * This method is thread-safe. * * @param ingester the ingester to add */ public synchronized void add(final Ingester ingester) { if (logger.isDebugEnabled()) { logger.debug("Loaded Ingester: {}", ingester.getClass().getSimpleName()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
check(socket == null) val socket = serverSocket!!.accept()!! this.socket = socket // Bail out now if this instance was closed while waiting for the socket to accept. synchronized(this) { if (executor.isShutdown) { socket.close() return } } val outputStream = socket.getOutputStream() val inputStream = socket.getInputStream()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
android/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/smb1/smb1/TransTransactNamedPipeResponse.java
int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { if (pipe.pipeIn != null) { final TransactNamedPipeInputStream in = (TransactNamedPipeInputStream) pipe.pipeIn; synchronized (in.lock) { in.receive(buffer, bufferIndex, len); in.lock.notify(); } } return len; } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
DcerpcHandle handle = null; LsaPolicyHandle policyHandle = null; synchronized (sid_cache) { try { handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", auth); String server = authorityServerName;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class SynchronizedDequeTest extends TestCase { protected Deque<String> create() { TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
} final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false; final samr.SamrCloseHandle 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.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
this.delegates = delegates; this.coreArtifacts = coreExports.getExportedArtifacts(); } private synchronized Set<String> getExcludedArtifacts() { if (excludedArtifacts == null) { excludedArtifacts = new LinkedHashSet<>(coreArtifacts); } return excludedArtifacts; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.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 MsrpcLsarClose rpc = new MsrpcLsarClose(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.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
log.debug("Usage dropped to zero, release connection " + this.transport); } // Ensure atomic cleanup of all resources synchronized (this) { // Double-check usage count within synchronized block if (this.usageCount.get() != 0) { return; // Another thread acquired the session }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)