Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,022 for concurrency (0.11 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertThrows(SmbException.class, () -> tree.send(request, response));
        }
    
        @Test
        void testTreeConnectWithWaitInterrupted() throws Exception {
            // Create a tree and simulate concurrent connection attempt
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

             *
             * @param oldItem The original item from the dictionary.
             * @return The written item, or null if the item was deleted.
             * @throws DictionaryException if the file was updated concurrently.
             */
            public StopwordsItem write(final StopwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.util.Arrays;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.SmbFileHandle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.artifact.metadata.ResolutionGroup;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.lang.reflect.Field;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.codelibs.fess.app.service.FailureUrlService;
    import org.codelibs.fess.ds.DataStore;
    import org.codelibs.fess.ds.DataStoreFactory;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * limitations under the License.
     */
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.http.promisesBody
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("filter.null"));
            }
        }
    
        // Test concurrent access
        public void test_get_concurrentAccess() throws InterruptedException {
            // Create multiple threads accessing the same property
            final String testKey = "domain.title";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    import javax.net.ssl.SSLException
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseSocket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        lateinit var currentThread: Thread
    
        private val loggerHandler =
          object : Handler() {
            override fun publish(record: LogRecord) {
              // Try to avoid multi threading issues with concurrent requests
              if (Thread.currentThread() != currentThread) {
                return
              }
    
              // https://timothybasanov.com/2016/05/26/java-pre-master-secret.html
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

    import java.io.InputStream;
    import java.io.StringWriter;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.pdfbox.Loader;
    import org.apache.pdfbox.cos.COSInputStream;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top