Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for getCaches (0.27 sec)

  1. tests/integration/security/util/reachability/context.go

    							// only hit same network headless services
    							match.Network(from.Config().Cluster.NetworkName()).GetMatches(Headless),
    							// only hit same cluster multiversion services
    							match.Cluster(from.Config().Cluster).GetMatches(Multiversion),
    							// only hit same cluster naked services
    							match.Cluster(from.Config().Cluster).GetMatches(Naked),
    							VM,
    						}
    
    						for _, to := range destinationSets {
    							to := to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 23 21:20:43 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

                        indexedCache.afterLockAcquire(stateAtOpen);
                    }
                } else {
                    entry.assertCompatibleCacheParameters(parameters);
                }
                return entry.getCache();
            } finally {
                stateLock.unlock();
            }
        }
    
        private <K, V> File findCacheFile(IndexedCacheParameters<K, V> parameters) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/MultipleCandidatesResult.java

    import org.gradle.api.attributes.MultipleCandidatesDetails;
    
    import java.util.Set;
    
    public interface MultipleCandidatesResult<T> extends MultipleCandidatesDetails<T> {
        boolean hasResult();
    
        Set<T> getMatches();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 883 bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/secure_naming_test.go

    			to := match.Namespace(testNamespace).GetMatches(apps.EchoNamespace.B)
    			for _, cluster := range t.Clusters() {
    				t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    					a := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.A)[0]
    					b := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.B)[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/os/example_test.go

    }
    
    func ExampleUserCacheDir() {
    	dir, dirErr := os.UserCacheDir()
    	if dirErr == nil {
    		dir = filepath.Join(dir, "ExampleUserCacheDir")
    	}
    
    	getCache := func(name string) ([]byte, error) {
    		if dirErr != nil {
    			return nil, &os.PathError{Op: "getCache", Path: name, Err: os.ErrNotExist}
    		}
    		return os.ReadFile(filepath.Join(dir, name))
    	}
    
    	var mkdirOnce sync.Once
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tests/integration/telemetry/tracing/tracing.go

    		return func(i echo.Instance) bool {
    			return strings.HasPrefix(i.Config().Service, prefix)
    		}
    	}
    	client = servicePrefix("client").GetMatches(echos)
    	server = match.ServiceName(echo.NamespacedName{Name: "server", Namespace: appNsInst}).GetMatches(echos)
    	ingInst = ist.IngressFor(ctx.Clusters().Default())
    	addrs, _ := ingInst.HTTPAddresses()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/ArtifactCacheLockingAccessCoordinatorStub.groovy

    import java.util.function.Supplier
    
    class ArtifactCacheLockingAccessCoordinatorStub implements ArtifactCacheLockingAccessCoordinator {
        private final Map<String, IndexedCache<?, ?>> caches = [:]
    
        IndexedCache<?, ?> getCache(String cacheName) {
            caches[cacheName]
        }
    
        @Override
        <K, V> IndexedCache<K, V> createCache(String cacheName, Serializer<K> keySerializer, Serializer<V> valueSerializer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

            }
            int targetSize = cacheSizer.scaleCacheSize(maxEntriesToKeepInMemory);
            CacheDetails cacheDetails = getCache(cacheId, targetSize);
            return new InMemoryDecoratedCache<>(backingCache, cacheDetails.entries, cacheId, cacheDetails.lockState);
        }
    
        private CacheDetails getCache(final String cacheId, final int maxSize) {
            CacheDetails cacheDetails = caches.get(cacheId, () -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/common/deployment/external.go

    	}
    	return b.WithConfig(config)
    }
    
    func (e *External) LoadValues(echos echo.Instances) {
    	e.All = match.ServiceName(echo.NamespacedName{Name: ExternalSvc, Namespace: e.Namespace}).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

        }
    
        /**
         * Returns all matches, when there were more than 1.
         *
         * @return The matches. Returns an empty set when there are no matches.
         */
        public Set<String> getMatches() {
            return matches;
        }
    
        /**
         * Returns the potential matches, if any.
         *
         * @return The matches. Returns an empty set when there are no potential matches.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top