Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 883 for cached (0.11 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * imposes both obligations and limits on the client application.
     *
     * ### The response body must be closed.
     *
     * Each response body is backed by a limited resource like a socket (live network responses) or
     * an open file (for cached responses). Failing to close the response body will leak resources and
     * may ultimately cause the application to slow down or crash.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

      /** The full domain name, converted to lower case. */
      private final String name;
    
      /** The parts of the domain name, converted to lower case. */
      private final ImmutableList<String> parts;
    
      /**
       * Cached value of #publicSuffixIndex(). Do not use directly.
       *
       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        /**
         * Gets the list of plugin upgrades to apply.
         */
        public static List<PluginUpgrade> getPluginUpgrades() {
            return PLUGIN_UPGRADES;
        }
    
        /**
         * Gets or creates the cached Maven 4 session.
         */
        private Session getSession() {
            if (session == null) {
                session = createMaven4Session();
            }
            return session;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        /**
         * Field location.
         */
        private InputLocation location;
    
        /**
         * Field importedFrom.
         */
        private InputLocation importedFrom;
    
        /**
         * Cached hashCode for performance.
         */
        private volatile int hashCode = 0;
    
        // ----------------/
        // - Constructors -/
        // ----------------/
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. docs/recipes.md

    it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt the response cache, and possibly crash your program.
    
    Response caching uses HTTP headers for all configuration. You can add request headers like `Cache-Control: max-stale=3600` and OkHttp's cache will honor them. Your webserver configures how long responses are cached with its own response headers, like `Cache-Control: max-age=9600`. There are cache headers to force...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml");
    
            getProject(f1);
    
            // it's the building of the grandchild project, having already cached the child project
            // (but not the parent project), which causes the problem.
            getProject(f2);
        }
    
        @Disabled("Maven 4 does not allow duplicate plugin declarations")
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. gorm.go

    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// PrepareStmt cache support LRU expired,
    	// default maxsize=int64 Max value and ttl=1h
    	PrepareStmtMaxSize int
    	PrepareStmtTTL     time.Duration
    
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. cmd/metrics-v3-types.go

    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    	cache *metricsCache
    
    	// managed values follow:
    
    	// map of metric descriptors by metric name.
    	descriptorMap map[MetricName]MetricDescriptor
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. cmd/data-usage_test.go

    		t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot:  %+v", want, got)
    	}
    	if len(want.Cache) != len(got.Cache) {
    		t.Errorf("deserialize mismatch length\nwant: %+v\ngot:  %+v", len(want.Cache), len(got.Cache))
    	}
    	for wkey, wval := range want.Cache {
    		gotv := got.Cache[wkey]
    		if !equalAsJSON(gotv, wval) {
    			t.Errorf("deserialize mismatch, key %v\nwant: %#v\ngot:  %#v", wkey, wval, gotv)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                    propertyMap.put(name, property);
                }
            }
    
            while (parser.getEventType() == XmlPullParser.START_TAG) {
                // update properties inside the bean, guided by the cached property map
                final BeanProperty<Object> property = propertyMap.get(Roles.camelizeName(parser.getName()));
                if (property != null) {
                    property.set(bean, parse(parser, property.getType()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top