Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 370 for locking (0.4 sec)

  1. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

    import java.util.concurrent.ExecutionException;
    
    /**
     * A cache which forwards all its method calls to another cache. Subclasses should override one or
     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * The internal LRU hash map used to store elements.
         */
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        /**
         * Creates a new {@link LruHashSet} with the specified limit size.
         *
         * @param limitSize
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        ExecutorService executor = newFixedThreadPool(barrier.getParties());
        AtomicReference<AbstractFuture<String>> currentFuture = Atomics.newReference();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
       * retries, there is increased contention and reduced locality,
       * which is still better than alternatives.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. docs/en/data/sponsors.yml

        img: https://fastapi.tiangolo.com/img/sponsors/coderabbit.png
      - url: https://subtotal.com/?utm_source=fastapi&utm_medium=sponsorship&utm_campaign=open-source
        title: The Gold Standard in Retail Account Linking
        img: https://fastapi.tiangolo.com/img/sponsors/subtotal.svg
      - url: https://docs.railway.com/guides/fastapi?utm_medium=integration&utm_source=docs&utm_campaign=fastapi
        title: Deploy enterprise applications at startup speed
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okio.ByteString
    
    /**
     * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create
     * instances; usually this is [OkHttpClient].
     *
     * ## Web Socket Lifecycle
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/main.go

    		Usage: "disable startup and info messages",
    	},
    	cli.BoolFlag{
    		Name:  "anonymous",
    		Usage: "hide sensitive information from logging",
    	},
    	cli.BoolFlag{
    		Name:  "json",
    		Usage: "output logs in JSON format",
    	},
    	// Deprecated flag, so its hidden now, existing deployments will keep working.
    	cli.BoolFlag{
    		Name:   "compat",
    		Usage:  "enable strict S3 compatibility by turning off certain performance optimizations",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbSessionTest.java

                verify(mockSession, times(1)).unwrap(SmbSession.class);
                verify(mockSession, times(1)).close();
            }
    
            @Test
            @DisplayName("Should support partial mocking scenarios")
            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
        }
    
        @Nested
        class AttributeAndStateTests {
    
            @Test
            public void testGetTypeForFile() throws Exception {
                // Mocking underlying connection and info retrieval is complex.
                // This test focuses on the logic based on the URL structure.
                SmbFile file = new SmbFile("smb1://server/share/file.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
       * backingMap}. The caller surrenders control of the backing map, and thus should not allow any
       * direct references to it to remain accessible.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create(
          Map<Class<? extends @NonNull B>, B> backingMap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top