- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 285 for synchronized (0.06 sec)
-
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 */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols) } override fun getSelectedProtocol(sslSocket: SSLSocket): String? = getDelegate(sslSocket)?.getSelectedProtocol(sslSocket) @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? { if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) { this.delegate = socketAdapterFactory.create(sslSocket) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.2K bytes - Viewed (0) -
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.getClass().getSimpleName()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
* this metho again will have no effect. * * @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the default NTLM authenticator.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
@SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
* * @param factory * The URL stream handler factory. */ public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) { synchronized (PROTOCOL_HANDLERS) { if (Handler.factory != null) { throw new IllegalStateException("URLStreamHandlerFactory already set."); } PROTOCOL_HANDLERS.clear();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0)