- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for maps (0.15 sec)
-
cmd/bucket-replication.go
func filterReplicationStatusMetadata(metadata map[string]string) map[string]string { // Copy on write dst := metadata var copied bool delKey := func(key string) { if _, ok := metadata[key]; !ok { return } if !copied { dst = make(map[string]string, len(metadata)) maps.Copy(dst, metadata) copied = true } delete(dst, key) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118K bytes - Viewed (0) -
cmd/metrics-v2.go
HistogramBucketLabel: m.HistogramBucketLabel, StaticLabels: make(map[string]string, len(m.StaticLabels)), VariableLabels: make(map[string]string, len(m.VariableLabels)), Histogram: make(map[string]uint64, len(m.Histogram)), } maps.Copy(metric.StaticLabels, m.StaticLabels) maps.Copy(metric.VariableLabels, m.VariableLabels) maps.Copy(metric.Histogram, m.Histogram) return metric }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0) -
cmd/object-handlers.go
} // Store the preserved compression metadata. maps.Copy(srcInfo.UserDefined, compressMetadata) // We need to preserve the encryption headers set in EncryptRequest, // so we do not want to override them, copy them instead. maps.Copy(srcInfo.UserDefined, encMetadata) // Ensure that metadata does not contain sensitive information
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
cmd/object-handlers_test.go
{"small-0", []int64{11}, make(map[string]string)}, {"small-1", []int64{509}, make(map[string]string)}, {"small-2", []int64{5 * oneMiB}, make(map[string]string)}, // // // cases 5-8: multipart part objects {"mp-0", []int64{5 * oneMiB, 1}, make(map[string]string)}, {"mp-1", []int64{5*oneMiB + 1, 1}, make(map[string]string)}, {"mp-2", []int64{5487701, 5487799, 3}, make(map[string]string)},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/site-replication.go
} info.StatsSummary = make(map[string]madmin.SRSiteSummary, len(c.state.Peers)) info.BucketStats = make(map[string]map[string]srBucketStatsSummary) info.PolicyStats = make(map[string]map[string]srPolicyStatsSummary) info.UserStats = make(map[string]map[string]srUserStatsSummary) info.GroupStats = make(map[string]map[string]srGroupStatsSummary) info.ILMExpiryRulesStats = make(map[string]map[string]srILMExpiryRuleStatsSummary)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 184.7K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
public void testDefaults() { LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertSame(Strength.STRONG, map.keyStrength); assertSame(Strength.STRONG, map.valueStrength); assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); assertEquals(0, map.expireAfterAccessNanos);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
cmd/admin-handlers.go
func anonymizeHost(hostAnonymizer map[string]string, endpoint Endpoint, poolNum int, srvrNum int) { if len(endpoint.Host) == 0 { return } currentURL := endpoint.String() // mapIfNotPresent - Maps the given key to the value only if the key is not present in the map mapIfNotPresent := func(m map[string]string, key string, val string) { _, found := m[key] if !found { m[key] = val }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
return this.fileLocator.getCanonicalURL(); } /** * If the path of this <code>SmbFile</code> falls within a DFS volume, * this method will return the referral path to which it maps. Otherwise * <code>null</code> is returned. * * @return URL to the DFS volume * @throws SmbException if an error occurs while resolving the DFS path */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
FileEntry e; HashMap map; if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(url.toString() + " directory must end with '/'"); } if (getType() != TYPE_SERVER) { throw new SmbException("The requested list operations is invalid: " + url.toString()); } map = new HashMap();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
try { if (StringUtil.isBlank(prev)) { final Map<String, Map<String, String>> result = mapper.readValue(line, new TypeReference<Map<String, Map<String, String>>>() { }); if (result.containsKey("index") || result.containsKey("update")) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)