- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 443 for map1 (0.86 sec)
-
platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/MapExtensions.kt
package org.gradle.internal.extensions.stdlib fun <V> Map<String, V>.filterKeysByPrefix(prefix: String): Map<String, V?> = filterKeys { key -> key.length > prefix.length && key.startsWith(prefix) } /** * Inverts the given map by swapping its keys with their corresponding values and returns the resulting map. * * If the original map contains duplicate values, the resulting map will map each value to the key associated
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/validation_test.go
tests := []struct { name string object map[string]interface{} errors []validationMatch }{ {name: "empty", object: map[string]interface{}{}, errors: []validationMatch{ required("apiVersion"), required("kind"), }}, {name: "version and kind", object: map[string]interface{}{ "apiVersion": "foo/v1", "kind": "Foo", }}, {name: "invalid kind", object: map[string]interface{}{ "apiVersion": "foo/v1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 6.1K bytes - Viewed (0) -
src/go/build/deps_test.go
if err != nil { t.Fatal(err) } slices.Sort(all) sawImport := map[string]map[string]bool{} // from package => to package => true policy := depsPolicy(t) for _, pkg := range all { imports, err := findImports(pkg) if err != nil { t.Error(err) continue } if sawImport[pkg] == nil { sawImport[pkg] = map[string]bool{} } var bad []string for _, imp := range imports {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
final Iterable<Method> getInstanceMethods(Class<?> cls) { ConcurrentMap<Signature, Method> map = Maps.newConcurrentMap(); for (Method method : getVisibleMethods(cls)) { if (!Invokable.from(method).isStatic()) { map.putIfAbsent(new Signature(method), method); } } return map.values(); } private ImmutableList<Method> getVisibleMethods(Class<?> cls) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
*/ private final Map<Path, String> descriptors; /** * Whether module hierarchy was detected. If false, then package hierarchy is assumed. * In a package hierarchy, the {@linkplain #descriptors} map has either zero or one entry. * In a module hierarchy, the descriptors map may have an arbitrary number of entries, * including one (so the map size cannot be used as a criterion). *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/signature-v4_test.go
testCases := []struct { queryParams map[string]string headers map[string]string region string expected APIErrorCode }{ // (0) Should error without a set URL query. { region: globalMinioDefaultRegion, expected: ErrInvalidQueryParams, }, // (1) Should error on an invalid access key. { queryParams: map[string]string{ "X-Amz-Algorithm": signV4Algorithm,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
@Override Map<String, String> someValue() { return ['k1': 'v1', 'k2': 'v2'] } @Override Map<String, String> someOtherValue() { return ['k1': 'v1'] } @Override Map<String, String> someOtherValue2() { return ['k2': 'v2'] } @Override Map<String, String> someOtherValue3() { return ['k3': 'v3'] } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
private List<String> phases; private Map<String, LifecyclePhase> defaultPhases; private org.apache.maven.api.Lifecycle lifecycle; public String getId() { return id; } public List<String> getPhases() { return phases; } static Map<String, LifecyclePhase> getDefaultPhases(org.apache.maven.api.Lifecycle lifecycle) { Map<String, List<String>> goals = new HashMap<>();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed May 22 13:45:13 UTC 2024 - 3.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store_test.go
) func TestServiceInstancesStore(t *testing.T) { store := serviceInstancesStore{ ip2instance: map[string][]*model.ServiceInstance{}, instances: map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance{}, instancesBySE: map[types.NamespacedName]map[configKey][]*model.ServiceInstance{}, instancesByHostAndPort: sets.Set[hostPort]{}, } instances := []*model.ServiceInstance{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 8.1K bytes - Viewed (0) -
pilot/pkg/model/gateway_test.go
mergedServersNum int serverNum int serversForRouteNum map[string]int gatewaysNum int }{ { "single-server-config", []config.Config{gwHTTPFoo}, 1, 1, map[string]int{"http.7": 1}, 1, }, { "two servers on the same port", []config.Config{gwHTTPFoo, gwHTTPbar}, 1, 2, map[string]int{"http.7": 2}, 2, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 02:36:23 UTC 2024 - 9K bytes - Viewed (0)