Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 477 for Cached (0.03 seconds)

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

            // Next get should return the same instance from cache
            byte[] reused = impl.getBuffer();
            assertSame(b, reused, "Buffer should be reused from cache");
            // And it should still be zeroed
            for (byte value : reused) {
                assertEquals(0, value, "Reused buffer must be zeroed");
            }
        }
    
        // Edge: cache size 0 means nothing is cached; release still zeroes argument
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. docs/features/calls.md

    Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added.
    
    ## Rewriting Responses
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Click Count (0)
  3. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

        /**
         * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided
         * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
         * responsible for creating a copy of the original data and store the copy in the cache.
         *
         * @param request The repository request from which this cache was retrieved, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. cmd/object-api-interface_gen.go

    		case "Deleted":
    			z.Deleted, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Deleted")
    				return
    			}
    		case "Cached":
    			z.Cached, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Cached")
    				return
    			}
    		case "NoMetadata":
    			z.NoMetadata, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NoMetadata")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. internal/bucket/replication/filter.go

    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cached[t.Key] = t.Value
    			}
    		}
    		f.cachedTags = cached
    	}
    
    	// This filter does not have any tags, always return true
    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Click Count (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

         * is returned unchanged. The processor is cached for performance.</p>
         *
         * @param <T> the type of the model object
         * @param object the model object to process
         * @return the processed object
         */
        static <T> T processObject(T object) {
            class ProcessorHolder {
                /**
                 * Cached processor instance for performance.
                 */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertThat(cache.size()).isEqualTo(WARMUP_SIZE);
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (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");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. internal/stmt_store/stmt_store.go

    // This interface provides methods for creating new statements, retrieving all cache keys,
    // getting cached statements, setting cached statements, and deleting cached statements.
    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Apr 27 06:05:16 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top