- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 327 for Synchronized (0.49 seconds)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
public int available() throws IOException { return (int) min(in.available(), left); } // it's okay to mark even if mark isn't supported, as reset won't work @Override public synchronized void mark(int readLimit) { in.mark(readLimit); mark = left; } @Override public int read() throws IOException { if (left == 0) { return -1; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
docs/en/docs/async.md
As the execution time is consumed mostly by waiting for <abbr title="Input and Output">I/O</abbr> operations, they call them "I/O bound" operations. It's called "asynchronous" because the computer / program doesn't have to be "synchronized" with the slow task, waiting for the exact moment that the task finishes, while doing nothing, to be able to take the task result and continue the work.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 23.4K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
private final int batchSize = 10; private final long batchTimeout = 100; // 100ms public void addNotification(WitnessNotification notification) { synchronized (pendingNotifications) { pendingNotifications.offer(notification); if (pendingNotifications.size() >= batchSize) { processBatch(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
public void deleteBadWord(final String badWord) { suggester.indexer().deleteBadWord(badWord); refresh(); } /** * Refreshes the suggest index. */ public synchronized void refresh() { suggester.refresh(); if (popularWordHelper != null) { popularWordHelper.clearCache(); } } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
.suppressing(suppressForLinkedHashMap()) .createTestSuite(); } /** * Tests regular NavigableMap behavior of synchronizedNavigableMap(treeMap); does not test the * fact that it's synchronized. */ public Test testsForSynchronizedNavigableMap() { return NavigableMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap)); } languageHelper.updateDocument(dataMap); synchronized (docList) { docList.add(ingest(paramMap, dataMap)); final long contentSize = indexingHelper.calculateDocumentSize(dataMap); docList.addContentSize(contentSize);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* if there is a DCE/RPC protocol error * @throws IOException * if there is an I/O error during binding */ public void bind() throws DcerpcException, IOException { synchronized (this) { try { this.state = 1; final DcerpcMessage bind = new DcerpcBind(this.binding, this); sendrecv(bind); } catch (final IOException ioe) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* * @return The configured SPNEGO authenticator instance * @throws SsoLoginException if SPNEGO initialization fails */ protected synchronized org.codelibs.spnego.SpnegoAuthenticator getAuthenticator() { final FessConfig fessConfig = ComponentUtil.getFessConfig();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:18:23 GMT 2026 - 18.2K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
* @param crawlingConfig the crawling configuration to store * @return the unique session count ID that can be used to retrieve the stored configuration */ public synchronized String store(final String sessionId, final CrawlingConfig crawlingConfig) { final String sessionCountId = sessionId + "-" + count; crawlingConfigMap.put(sessionCountId, crawlingConfig); count++;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1)