- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for cacheGet (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
): Headers.Builder = builder.addLenient(line) internal fun addHeaderLenient( builder: Headers.Builder, name: String, value: String, ): Headers.Builder = builder.addLenient(name, value) internal fun cacheGet( cache: Cache, request: Request, ): Response? = cache.get(request) internal fun applyConnectionSpec( connectionSpec: ConnectionSpec, sslSocket: SSLSocket, isFallback: Boolean,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
import okhttp3.MediaType.Companion.toMediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.internal.addHeaderLenient import okhttp3.internal.cacheGet import okhttp3.internal.platform.Platform.Companion.get import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.testing.PlatformRule import okio.Buffer import okio.BufferedSink import okio.FileSystem
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 116.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) { return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k); } @Override public PluginDescriptor get(Key cacheKey) { return clone(descriptors.get(cacheKey)); } @Override public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java
import org.eclipse.aether.repository.WorkspaceRepository; /** */ @Named @Singleton public class DefaultPluginArtifactsCache implements PluginArtifactsCache { /** * CacheKey */ protected static class CacheKey implements Key { private final Plugin plugin; private final WorkspaceRepository workspace; private final LocalRepository localRepo;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} protected CacheKey newCacheKey( Artifact artifact, boolean resolveManagedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { return new CacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories); } protected void put(CacheKey cacheKey, ResolutionGroup result) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
* Default PluginCache implementation. Assumes cached data does not change. */ @Named @Singleton public class DefaultPluginRealmCache implements PluginRealmCache, Disposable { /** * CacheKey */ protected static class CacheKey implements Key { private final Plugin plugin; private final WorkspaceRepository workspace; private final LocalRepository localRepo;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
@Named @Singleton public class DefaultProjectRealmCache implements ProjectRealmCache, Disposable { /** * CacheKey */ protected static class CacheKey implements Key { private final List<? extends ClassRealm> extensionRealms; private final int hashCode; public CacheKey(List<? extends ClassRealm> extensionRealms) { this.extensionRealms =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
import org.eclipse.aether.repository.WorkspaceRepository; /** */ @Named @Singleton public class DefaultProjectArtifactsCache implements ProjectArtifactsCache { /** * CacheKey */ protected static class CacheKey implements Key { private final String groupId; private final String artifactId; private final String version;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
ProjectArtifactsCache.Key cacheKey = projectArtifactsCache.createKey( project, scopesToCollect, scopesToResolve, aggregating, session.getRepositorySession()); ProjectArtifactsCache.CacheRecord recordArtifacts; recordArtifacts = projectArtifactsCache.get(cacheKey); if (recordArtifacts == null) { synchronized (cacheKey) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0)