- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 78 for getCaches (0.23 sec)
-
operator/pkg/cache/cache_test.go
}, }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) { defer FlushObjectCaches() for key, value := range tt.in { objectCaches[key] = value } if gotCache := GetCache(tt.key); !reflect.DeepEqual(*gotCache, tt.want) { t.Errorf("%s: expected cache %v, got cache %v\n", tt.desc, tt.want, *gotCache) } }) } } func TestRemoveObject(t *testing.T) { tests := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 20 18:46:12 UTC 2023 - 5.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java
PluginVersionResult result = resolveFromProject(request); if (result == null) { ConcurrentMap<Key, PluginVersionResult> cache = getCache(request); Key key = getKey(request); result = cache.get(key); if (result == null) { result = resolveFromRepository(request); logger.debug(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 09 20:17:59 UTC 2024 - 17.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
public static ModelCache newInstance(RepositorySystemSession session, boolean anew) { ConcurrentHashMap<Object, Supplier<?>> cache; RepositoryCache repositoryCache = session != null ? session.getCache() : null; if (repositoryCache == null) { return new DefaultModelCache(new ConcurrentHashMap<>()); } else { if (anew) { cache = new ConcurrentHashMap<>();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 6.8K bytes - Viewed (0) -
pkg/volume/portworx/portworx.go
} var _ volume.Unmounter = &portworxVolumeUnmounter{} // Unmounts the bind mount, and detaches the disk only if the PD // resource was the last reference to that disk on the kubelet. func (c *portworxVolumeUnmounter) TearDown() error { return c.TearDownAt(c.GetPath()) } // Unmounts the bind mount, and detaches the disk only if the PD // resource was the last reference to that disk on the kubelet.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 13.6K bytes - Viewed (0) -
src/net/http/httputil/persist.go
func NewServerConn(c net.Conn, r *bufio.Reader) *ServerConn { if r == nil { r = bufio.NewReader(c) } return &ServerConn{c: c, r: r, pipereq: make(map[*http.Request]uint)} } // Hijack detaches the [ServerConn] and returns the underlying connection as well // as the read-side bufio which may have some left over data. Hijack may be // called before Read has signaled the end of the keep-alive logic. The user
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/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: Mon Apr 01 15:48:18 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java
if (value == null || !explanationBuilder.canSkipExplanation()) { int[] matches = new MultipleCandidateMatcher<>(schema, candidateList, requestedAttributes, explanationBuilder).getMatches(); LOGGER.debug("Selected matches {} from candidates {} for {}", Ints.asList(matches), candidateList, requested); return matches; } return value; });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.6K bytes - Viewed (0) -
operator/pkg/helmreconciler/apply.go
scope.Infof("Processing resources from manifest: %s for CR %s", cname, crHash) allObjects, err := object.ParseK8sObjectsFromYAMLManifest(manifest.Content) if err != nil { return result, err } objectCache := cache.GetCache(crHash) // Ensure that for a given CR crHash only one control loop uses the per-crHash cache at any time. objectCache.Mu.Lock() defer objectCache.Mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 6.4K bytes - Viewed (0) -
tests/integration/pilot/mcs/discoverability/discoverability_test.go
framework.NewTest(t). Run(func(t framework.TestContext) { t.Skip("https://github.com/istio/istio/issues/34051") // Get all the clusters where service B resides. bClusters := serviceB.GetMatches(echos.Instances).Clusters() // Test exporting service B exclusively in each cluster. for _, exportCluster := range bClusters { exportCluster := exportCluster
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.9K bytes - Viewed (0) -
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
// Watch for changes to primary resource IstioOperator err = c.Watch(source.Kind( mgr.GetCache(), &iopv1alpha1.IstioOperator{}, &handler.TypedEnqueueRequestForObject[*iopv1alpha1.IstioOperator]{}, operatorPredicates, )) if err != nil { return err } // watch for changes to Istio resources err = watchIstioResources(mgr.GetCache(), c) if err != nil { return err } scope.Info("Controller added")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0)