Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 2,045 for _key (0.14 seconds)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(cache.getIfPresent(60)).isEqualTo(70);
        assertThat(cache.getIfPresent(5)).isEqualTo(5);
      }
    
      private static <K> boolean containsKey(Cache<K, ?> cache, K key) {
        return cache.getIfPresent(key) != null;
      }
    
      @Test
      public void invalidate() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        cache.put(654, 2675);
        cache.put(2456, 56);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            SmbTransportImpl acquired = transport.acquire();
            assertSame(transport, acquired);
            transport.close(); // release once
        }
    
        @Test
        @DisplayName("Server encryption key is returned for SMB1 negotiation only")
        void serverEncryptionKey() {
            // No negotiation yet -> null
            assertNull(transport.getServerEncryptionKey());
    
            // SMB1 negotiation with server data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * 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> {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Default initial capacity.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Change the Theme { #change-the-theme }
    
    The same way you could set the syntax highlighting theme with the key `"syntaxHighlight.theme"` (notice that it has a dot in the middle):
    
    {* ../../docs_src/configure_swagger_ui/tutorial002_py310.py hl[3] *}
    
    That configuration would change the syntax highlighting color theme:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/RemovalCause.java

       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    
      /**
       * The entry was removed automatically because its key or value was garbage-collected. This can
       * occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link
       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. tests/test_stream_cancellation.py

    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
        # cancelled will be True because the infinite generator was interrupted.
        assert cancelled
    
    
    async def test_jsonl_stream_cancellation() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`.
    
    To override a dependency for testing, you put as a key the original dependency (a function), and as the value, your dependency override (another function).
    
    And then **FastAPI** will call that override instead of the original dependency.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. apache-maven/src/assembly/maven/bin/mvnDebug.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 18 11:01:21 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. docs_src/websockets_/tutorial002_an_py310.py

                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. docs_src/websockets_/tutorial002_py310.py

                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top