Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,040 for concurrency (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     */
    @GwtCompatible
    @IgnoreJRERequirement // Users will use this only if they're already using streams.
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              () -> new ToOptionalState<>(null),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. .teamcity/test-buckets.json

              "test-suites-base",
              "testing-jvm"
            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
              "concurrent",
              "daemon-protocol",
              "daemon-server-worker",
              "functional",
              "internal-instrumentation-api",
              "java-api-extractor",
              "java-compiler-plugin",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 118.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.util.Map.Entry;
    import java.util.Properties;
    import java.util.Set;
    import java.util.TimeZone;
    import java.util.UUID;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/RegularImmutableMultiset.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.Multisets.ImmutableEntry;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMultiset} with zero or more elements.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.io.IOException;
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    
    /**
     * A race between Lucene Expressions, Painless, and a hand optimized script
     * implementing a {@link ScriptScoreQuery}.
     */
    @Fork(2)
    @Warmup(iterations = 10)
    @Measurement(iterations = 5)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.mockwebserver
    
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.WebSocketListener
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    class MockResponse : Cloneable {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 7.1K bytes
    - Click Count (1)
  7. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

    import com.google.common.cache.AbstractCache.StatsCounter;
    import com.google.common.collect.ImmutableList;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractCache}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testConcurrentFailureHandling() throws InterruptedException {
            IOException error = new IOException("Connection failed");
    
            // Simulate concurrent failures
            Thread[] threads = new Thread[5];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> failover.handleFailure(failedChannel, error));
                threads[i].start();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.services.Lookup;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/MoreCollectors.java

     * with a {@code com.google.common} type.
     *
     * @author Louis Wasserman
     * @since 21.0
     */
    @GwtCompatible
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              () -> new ToOptionalState<>(null),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top