- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 326 for synchronize (0.05 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
synchronized (future) { if (future.waitersField == expect) { future.waitersField = update; return true; } return false; } } @Override boolean casListeners( AbstractFutureState<?> future, @Nullable Listener expect, Listener update) { synchronized (future) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
* * @return the tree handle implementation * @throws CIFSException if a connection error occurs */ protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) { NbtAddress result = null; try { if (FILENAME != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
int max = NbtAddress.NBNS.length; if (max == 0) { max = 1; /* No WINs, try only bcast addr */ } synchronized (response) { while (max-- > 0) { try { synchronized (LOCK) { request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbFileHandle#close(long) */ @Override public synchronized void close(final long lastWriteTime) throws CIFSException { closeInternal(lastWriteTime, true); } /** * @param lastWriteTime * @throws SmbException */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
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/app/web/base/login/EntraIdCredential.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
executionList.execute(); } return result; } /** * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls * as well as to handle state changes in a thread-safe manner. The current state of the future
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0)