Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 528 for Map (0.02 seconds)

  1. internal/crypto/metadata_test.go

    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 18.7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         * @throws Exception if any.
         */
        @Test
        public void testMappedDottedKey() throws Exception {
            Map<String, String> map = new HashMap<String, String>();
            map.put("a.b", "a.b-value");
    
            assertEquals("a.b-value", ReflectionValueExtractor.evaluate("h.value(a.b)", new ValueHolder(map)));
        }
    
        /**
         * <p>testIndexedMapped.</p>
         *
         * @throws Exception if any.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  3. 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,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

            this.sortedProjects = sortedProjectLabels.stream()
                    .map(id -> projectMap.get(id))
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private void addEdge(
                Map<String, MavenProject> projectMap,
                Map<String, Map<String, Vertex>> vertexMap,
                MavenProject project,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  5. internal/bucket/object/lock/lock_test.go

    			},
    			expected:        map[string]string{},
    			filterRetention: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "off",
    			},
    			expected:        map[string]string{},
    			filterLegalHold: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "on",
    			},
    			expected:        map[string]string{"x-amz-object-lock-legal-hold": "on"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  6. schema/relationship_test.go

    		}
    		Toys []Toy `gorm:"polymorphic:Owner;"`
    	}
    
    	s, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("Failed to parse schema, got error %v", err)
    	}
    
    	checkEmbeddedRelations(t, s.Relationships.EmbeddedRelations, map[string]EmbeddedRelations{
    		"Cat": {
    			Relations: map[string]Relation{
    				"Toy": {
    					Name:        "Toy",
    					Type:        schema.HasOne,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  7. cmd/metrics-v3-types.go

    	}
    }
    
    type metricValue struct {
    	Labels map[string]string
    	Value  float64
    }
    
    // MetricValues - type to set metric values retrieved while loading metrics. A
    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    func newMetricValues(d map[MetricName]MetricDescriptor) MetricValues {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. cmd/data-usage-cache.go

    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    // toMap returns the map to a map[string]uint64.
    func (h *sizeHistogram) toMap() map[string]uint64 {
    	res := make(map[string]uint64, dataUsageBucketLen)
    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  9. src/cmd/api/main_test.go

    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    	importMap   map[string]map[string]string // importer dir -> import path -> canonical path
    	importDir   map[string]string            // canonical import path -> dir
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Feb 20 03:25:33 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    && options.modelVersion().isEmpty();
    
            boolean allOptionsDisabled = options.all().map(v -> !v).orElse(false)
                    && options.infer().map(v -> !v).orElse(false)
                    && options.model().map(v -> !v).orElse(false)
                    && options.plugins().map(v -> !v).orElse(false)
                    && options.modelVersion().isEmpty();
    
            if (noOptionsSpecified || allOptionsDisabled) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
Back to Top