Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,176 for CONCURRENT (0.28 seconds)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

                return false;
              }
            }
            return true;
          } catch (ClassCastException e) {
            return false;
          } catch (NoSuchElementException e) {
            return false; // concurrent change to other set
          }
        }
        return containsAll(that);
      }
    
      @Override
      public E first() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                assertTrue(request.size() > maxName.length);
            }
    
            @Test
            @DisplayName("Should handle concurrent encoding")
            void testConcurrentEncoding() {
                TestCreateContextRequest request = new TestCreateContextRequest("CONCURRENT".getBytes(StandardCharsets.UTF_8));
    
                byte[] buffer1 = new byte[256];
                byte[] buffer2 = new byte[256];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. docs/features/events.md

        printEvent("callStart");
      }
    
      @Override public void callEnd(Call call) {
        printEvent("callEnd");
      }
    
      ...
    }
    ```
    
    We can use this listener to race a pair of concurrent HTTP requests:
    
    ```java
    Request washingtonPostRequest = new Request.Builder()
        .url("https://www.washingtonpost.com/")
        .build();
    client.newCall(washingtonPostRequest).enqueue(new Callback() {
      ...
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. cmd/admin-handlers.go

    	enableMultipart := r.Form.Get("enableMultipart") == "true"
    
    	size, err := strconv.Atoi(sizeStr)
    	if err != nil {
    		size = 64 * humanize.MiByte
    	}
    
    	concurrent, err := strconv.Atoi(concurrentStr)
    	if err != nil {
    		concurrent = 32
    	}
    
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = time.Second * 10
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds;
    
    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.CountDownLatch;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.exception.JobProcessingException;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     */
    package org.codelibs.fess.script.groovy;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.ExecutionException;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - should complete without errors
            assertTrue(true, "Concurrent setFileId calls should complete without issues");
        }
    
        @Test
        @DisplayName("Should handle file ID with special patterns")
        void testSpecialFileIdPatterns() {
            // Test various special patterns
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            assertTrue(result.contains("Wrapper exception"));
            assertTrue(result.endsWith("\n"));
        }
    
        @Test
        public void test_execute_concurrentCalls() {
            // Setup mock SearchLogHelper for concurrent testing
            final Object lock = new Object();
            final int[] callCount = { 0 };
    
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSortedSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
Back to Top