Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 608 for caches (0.73 sec)

  1. src/test/java/jcifs/smb/DfsImplTest.java

            // Should not throw any exception.
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral));
        }
    
        @Test
        void testCache_ValidPath() {
            // Scenario: A valid referral is cached.
            DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        }
    
        /**
         * Gets the maximum age for cached directory data before requiring refresh
         * @return the maximum cache age in milliseconds
         */
        public long getMaxCacheAge() {
            return maxCacheAge;
        }
    
        /**
         * Sets the maximum age for cached directory data
         * @param maxCacheAge the maximum cache age in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.cache;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Enumeration defining different retention periods for cached data.
     * Each value represents a specific scope and lifetime for cached items.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
     *   <li>When a cache lookup first encounters a missing cache entry, a new entry is loaded.
     *       <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

                entry.breaking = true;
                entry.updateState(newState);
                // Flush any cached data if losing write cache
                if (!entry.hasWriteCache()) {
                    flushCachedWrites(entry.path);
                }
                // Invalidate cached data if losing read cache
                if (!entry.hasReadCache()) {
                    invalidateReadCache(entry.path);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/BufferCache.java

        /**
         * Gets a buffer from the cache or creates a new one if the cache is empty.
         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc} is cached. To clear the cache, call {@link DisposableUtil#dispose()}.
     * </p>
     *
     * @author higa
     * @see BeanDesc
     * @see DisposableUtil
     */
    public abstract class BeanDescFactory {
    
        /**
         * Do not instantiate.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/extending-openapi.md

    {* ../../docs_src/extending_openapi/tutorial001.py hl[22:24] *}
    
    ### Cache the OpenAPI schema { #cache-the-openapi-schema }
    
    You can use the property `.openapi_schema` as a "cache", to store your generated schema.
    
    That way, your application won't have to generate the schema every time a user opens your API docs.
    
    It will be generated only once, and then the same cached schema will be used for the next requests.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/HandlerTest.java

            assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it.");
        }
    
        @Test
        void testOpenConnection_CachedHandler_ReusesExistingHandler() throws Exception {
            // This test verifies that once a handler is cached, subsequent calls reuse it.
            setupMockProtocolHandlers();
            URL url1 = new URL("http://example.com/resource1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

     * <ul>
     *   <li>Determining the storage path for locally installed artifacts</li>
     *   <li>Managing the layout and organization of cached remote artifacts</li>
     *   <li>Maintaining consistency in artifact storage patterns</li>
     * </ul>
     *
     * <p>This interface is part of Maven's repository management system and works in
     * conjunction with {@link RemoteRepository} and {@link LocalRepository} to provide
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top