- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 344 for synchronized (0.05 seconds)
-
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) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
synchronized (this) { if (!executed) { runnables = new RunnableExecutorPair(runnable, executor, runnables); return; } } executeListener(runnable, executor); } void execute() { RunnableExecutorPair list; synchronized (this) { if (executed) { return; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
synchronized (state) { if (state.seenExceptionsField == expect) { state.seenExceptionsField = update; } } } @Override int decrementAndGetRemainingCount(AggregateFutureState<?> state) { synchronized (state) { return --state.remainingField; } } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K 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/smb/DfsImpl.java
* * @see jcifs.DfsResolver#isTrustedDomain(jcifs.CIFSContext, java.lang.String) */ @Override public boolean isTrustedDomain(final CIFSContext tf, String domain) throws SmbAuthException { synchronized (this.domainsLock) { final Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> domains = getTrustedDomains(tf); if (domains == null) { return false; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
} } public void markForDeletion(File toDelete) { filesToDelete.add(toDelete); warnAboutCleanup = true; } public synchronized File createTempDir() { try { Thread.sleep(20); } catch (InterruptedException e) { // ignore }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java
private final Map<TransferResourceIdentifier, TransferResourceAndSize> transfers = new LinkedHashMap<>(); private final FileSizeFormat format = new FileSizeFormat(); // use in a synchronized fashion private final StringBuilder buffer = new StringBuilder(128); // use in a synchronized fashion private final boolean printResourceNames; private int lastLength; public ConsoleMavenTransferListener(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 22 14:09:32 GMT 2024 - 5.2K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
results: MutableList<InetAddress>, failures: MutableList<Exception>, ) { try { val addresses = readResponse(hostname, response) synchronized(results) { results.addAll(addresses) } } catch (e: Exception) { synchronized(failures) { failures.add(e) } } } @Throws(UnknownHostException::class) private fun throwBestFailure(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
completionLatch.await(); synchronized (this) { return ImmutableList.copyOf(stateHistory); } } @Override public synchronized void starting() { assertTrue(stateHistory.isEmpty()); assertThat(service.state()).isNotEqualTo(State.NEW); stateHistory.add(State.STARTING); } @Override public synchronized void running() {
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)