Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 443 for map1 (0.52 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    	nested, _ := cust.FindField("nested")
    	metadata, _ := cust.FindField("metadata")
    	expectedObjTypeMap := map[string]*apiservercel.DeclType{
    		"CustomObject":          cust,
    		"CustomObject.nested":   nested.Type,
    		"CustomObject.metadata": metadata.Type,
    	}
    	objTypeMap := map[string]*apiservercel.DeclType{}
    	for name, t := range typeMap {
    		if t.IsObject() {
    			objTypeMap[name] = t
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/encoding/gob/encoder_test.go

    	}
    }
    
    // getDecEnginePtr cached engine for ut.base instead of ut.user so we passed
    // a *map and then tried to reuse its engine to decode the inner map.
    func TestPtrToMapOfMap(t *testing.T) {
    	Register(make(map[string]any))
    	subdata := make(map[string]any)
    	subdata["bar"] = "baz"
    	data := make(map[string]any)
    	data["foo"] = subdata
    
    	b := new(bytes.Buffer)
    	err := NewEncoder(b).Encode(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                Stream<JavaClass> matchingInterfaces = item.getRawInterfaces().stream()
                    .filter(types);
                List<String> implementedClasses = Stream.concat(matchingSuperclass.map(Stream::of).orElse(Stream.empty()), matchingInterfaces)
                    .map(JavaClass::getName)
                    .collect(Collectors.toList());
                boolean fulfilled = !implementedClasses.isEmpty();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    			},
    		},
    		wantWorkloadMetadata: []string{
    			";ns;example;;cluster4",
    			";;;;cluster1a",
    			";;;;cluster2a",
    			";;;;cluster2b",
    			";;;;cluster2b",
    		},
    	},
    }
    
    var mtlsCases = map[string]map[string]struct {
    	Config         config.Config
    	Configs        []config.Config
    	IsMtlsDisabled bool
    	SubsetName     string
    }{
    	gvk.PeerAuthentication.String(): {
    		"mtls-off-ineffective": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/data/DocumentDataContainerUtil.kt

     */
    
    package org.gradle.internal.declarativedsl.dom.data
    
    import org.gradle.internal.declarativedsl.dom.DeclarativeDocument
    
    
    fun <D, C : NodeData<D>> C.collectToNodeMap(document: DeclarativeDocument): Map<DeclarativeDocument.DocumentNode, D> =
        buildMap {
            fun visit(node: DeclarativeDocument.DocumentNode) {
                put(node, data(node))
                when (node) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

        }
    
        fun getAllConverters(conversionForCollectionValues: HLParameterConversion): Map<KClass<*>, HLParameterConversion> {
            return buildMap {
                putAll(typeMapping)
                put(
                    Map::class,
                    HLMapParameterConversion(
                        "key",
                        "value",
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation_resourceclass_test.go

    			class: func() *resource.ResourceClass {
    				class := testClass(goodName, goodName)
    				class.Labels = map[string]string{
    					"hello-world": badValue,
    				}
    				return class
    			}(),
    		},
    		"good-annotations": {
    			class: func() *resource.ResourceClass {
    				class := testClass(goodName, goodName)
    				class.Annotations = map[string]string{
    					"foo": "bar",
    				}
    				return class
    			}(),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/Codecs.kt

            // This protects the BeanCodec against StackOverflowErrors, but
            // we can still get them for the other codecs, for instance,
            // with deeply nested Lists, deeply nested Maps, etc.
            // The reentrant codec is stateful, and cannot be cached because of it.
            bind(reentrant(BeanCodec))
        }.build()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

    }
    
    }  // namespace
    
    absl::StatusOr<std::map<int, int>> GetDimensionIndicesAndNumSplitsFromSharding(
        const xla::OpSharding& sharding) {
      int64_t tensor_tile_rank = sharding.tile_assignment_dimensions_size();
      if (sharding.replicate_on_last_tile_dim()) {
        tensor_tile_rank--;
      }
    
      std::map<int, int> dimension_to_splits_map;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    				goto Error
    			}
    			check.indexedElts(e.ElemList, utyp.elem, -1)
    
    		case *Map:
    			// Prevent crash if the map referred to is not yet set up.
    			// See analogous comment for *Array.
    			if utyp.key == nil || utyp.elem == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    			// If the map key type is an interface (but not a type parameter),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top