Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,325 for concurrency (0.08 seconds)

  1. misc/cgo/gmp/fib.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Compute Fibonacci numbers with two goroutines
    // that pass integers back and forth.  No actual
    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        public int getHistoryAssistantSummaryMaxChars() {
            return 800;
        }
    
        // --- Concurrency control ---
    
        /**
         * Gets the maximum number of concurrent requests to the LLM provider.
         * Default is 5. Override or configure via rag.llm.{provider}.max.concurrent.requests.
         *
         * @return the maximum concurrent requests
         */
        protected int getMaxConcurrentRequests() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * MapMaker emulation.
     *
     * @author Charles Fry
     */
    public final class MapMaker {
      private int initialCapacity = 16;
    
      public MapMaker() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * Map<K, V> syncMap = Collections.synchronizedMap(new LruHashMap<>(100));
     * </pre>
     * <p>
     * Alternatively, for high-concurrency scenarios, consider implementing a custom
     * LRU cache using {@link java.util.concurrent.ConcurrentHashMap} with an eviction strategy.
     * </p>
     *
     * @author koichik
     * @param <K> the key type
     * @param <V> the value type
     */
    public class LruHashMap<K, V> extends LinkedHashMap<K, V> {
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/role/EditForm.java

         * Stored as a long value representing milliseconds since epoch.
         * Used for audit trail and concurrency control.
         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the role for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the role hasn't been modified by another process.
         */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

         * Stored as a long value representing milliseconds since epoch.
         * Used for audit trail and concurrency control.
         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the label type for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the label type hasn't been modified by another process.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. CONTRIBUTORS

    mirroring out changes from our internal repo.
    
    This files serves mainly to credit people who have not received proper credit
    in the Git history.
    
    Doug Lea, author of some concurrency libraries
    
    Joshua O'Madadhain (@jrtom), author of some common.graph commits beyond those
    that are already attributed to him in the Git history:
    https://github.com/google/guava/commit/909c593c61a656c2d70f0f9bd1cb0e5cdf43a556
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 09 21:14:06 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/group/EditForm.java

         * Stored as a long value representing milliseconds since epoch.
         * Used for audit trail and concurrency control.
         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the group for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the group hasn't been modified by another process.
         */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top