Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for cache2 (2 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

    import java.util.concurrent.Callable
    import java.util.concurrent.Executors
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.cache2.Relay.Companion.edit
    import okhttp3.internal.cache2.Relay.Companion.read
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Pipe
    import okio.Source
    import okio.buffer
    import okio.source
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/pod_cache.go

    				Netns:    existing.Netns,
    			}
    			// already in cache
    			return existing.Netns
    		}
    		log.Debug("netns inode mismatch, using the new one")
    	}
    
    	p.addToCacheUnderLock(uid, workload)
    	return workload.Netns
    }
    
    // Update the cache with the given uid and nspath. Return the Netns for the given uid.
    // If uid is already present, a cached Netns is returned, and the given nspath is ignored.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    )
    
    // metricsCache - cache for metrics.
    //
    // When serving metrics, this cache is passed to the MetricsLoaderFn.
    //
    // This cache is used for metrics that would result in network/storage calls.
    type metricsCache struct {
    	dataUsageInfo       *cachevalue.Cache[DataUsageInfo]
    	esetHealthResult    *cachevalue.Cache[HealthResult]
    	driveMetrics        *cachevalue.Cache[storageMetrics]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    // dataUsageCacheV2 contains a cache of data usage entries version 2.
    type dataUsageCacheV2 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV2
    }
    
    // dataUsageCacheV3 contains a cache of data usage entries version 3.
    type dataUsageCacheV3 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV3
    }
    
    // dataUsageCacheV4 contains a cache of data usage entries version 4.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

      }
    
      companion object {
        /**
         * Cache control request directives that require network validation of responses. Note that such
         * requests may be assisted by the cache via conditional GET requests.
         */
        @JvmField
        val FORCE_NETWORK = commonForceNetwork()
    
        /**
         * Cache control request directives that uses the cache only, even if the cached response is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. .github/workflows/codeql-analysis.yml

        - name: Cache Gradle Modules
          uses: actions/cache@v4
          with:
            path: |
              ~/.gradle/caches/modules-2/
              ~/.gradle/caches/build-cache-1/
              ~/.gradle/caches/signatures/
              ~/.gradle/caches/keyrings/
            key: ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/pod_cache_test.go

    	found := false
    	snap := p.ReadCurrentPodSnapshot()
    	for k, v := range snap {
    		if k == "123" && v == (WorkloadInfo{}) {
    			found = true
    		}
    	}
    	if !found {
    		t.Fatalf("expected pod 123 to be in the cache")
    	}
    }
    
    func TestUpsertPodCacheWithLiveNetns(t *testing.T) {
    	p := newPodNetnsCache(openNsTestOverride)
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	ns := newFakeNsInode(inc(), 1)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    import okhttp3.internal.toNonNegativeInt
    
    /**
     * Given a request and cached response, this figures out whether to use the network, the cache, or
     * both.
     *
     * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header
     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.Source;
    
    /**
     * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache
     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        when {
          name.equals("Cache-Control", ignoreCase = true) -> {
            if (headerValue != null) {
              // Multiple cache-control headers means we can't use the raw value.
              canUseHeaderValue = false
            } else {
              headerValue = value
            }
          }
          name.equals("Pragma", ignoreCase = true) -> {
            // Might specify additional cache-control params. We invalidate just in case.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top