- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 280 for synchronized (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/entity/ChatSession.java
*/ public int getMessageCount() { synchronized (messagesLock) { return messages != null ? messages.size() : 0; } } /** * Clears all messages in this session and updates the last accessed timestamp. */ public void clearMessages() { synchronized (messagesLock) { if (messages != null) { messages.clear();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* greater than the max size if a background deletion is pending. */ @Synchronized @Throws(IOException::class) fun size(): Long { initialize() return size } @Synchronized @Throws(IOException::class) internal fun completeEdit( editor: Editor, success: Boolean, ) { val entry = editor.entry
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} @Override public int size() { synchronized (lock) { return cachingHashMap.size(); } } @Override public boolean isEmpty() { synchronized (lock) { return cachingHashMap.isEmpty(); } } @Override public @Nullable V get(@Nullable Object key) { Timestamped<V> value; synchronized (lock) { checkNotNull(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
* into user code. * * @param enqueuedCall a call to enqueue in the synchronized block * @param finishedCall a call to finish in the synchronized block * @param finishedAsyncCall an async call to finish in the synchronized block */ private fun promoteAndExecute( enqueuedCall: AsyncCall? = null, finishedCall: RealCall? = null,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
throw t; } } return; } /* * This is an unsynchronized read! After the read, the function returns immediately or acquires * the lock to check again. Since an IDLE state was observed inside the preceding synchronized * block, and reference field assignment is atomic, this may save reacquiring the lock whenCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
*/ class RecordingCallback : Callback { private val responses = mutableListOf<RecordedResponse>() @Synchronized override fun onFailure( call: Call, e: IOException, ) { responses.add(RecordedResponse(call.request(), null, null, null, e)) (this as Object).notifyAll() } @Synchronized override fun onResponse( call: Call, response: Response, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
* @param timeout the maximum time to wait for the response in milliseconds * @throws IOException if an I/O error occurs during communication */ public synchronized void sendrecv(final Request request, final Response response, long timeout) throws IOException { makeKey(request); response.isReceived = false; try { response_map.put(request, response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
enqueueHelper(event, label); } private void enqueueHelper(Event<L> event, Object label) { checkNotNull(event, "event"); checkNotNull(label, "label"); synchronized (listeners) { for (PerListenerQueue<L> queue : listeners) { queue.add(event, label); } } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* @return */ private synchronized SmbTreeImpl getTreeInternal() { final SmbTreeImpl t = this.tree; if (t != null) { return t; } if (this.delegate != null) { return this.delegate.getTreeInternal(); } return null; } /** * @param t */ private synchronized void switchTree(final SmbTreeImpl t) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
// Access is synchronized internally in the actual implementation // Here we just verify no concurrent modification exceptions occur String url = "http://example.com/thread" + threadIndex + "/doc" + j; // Simulate the synchronized access that happens in deleteDocument() synchronized (mockCallback) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 19.7K bytes - Click Count (0)