- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for newBar (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerWeakKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerWeakKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = newDir("some-dir"); assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); } public void testFileTraverser_multipleFilesAndDirectories() throws Exception { File fileA = newFile("file-a"); File fileB = newFile("file-b"); File dir1 = newDir("dir-1"); File dir2 = newDir("dir-2");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 20:17:27 UTC 2023 - 3.4K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
} delete(istioMap, "cniVersion") var newMap map[string]any if _, ok := existingMap["type"]; ok { // Assume it is a regular network conf file delete(existingMap, "cniVersion") plugins := make([]map[string]any, 2) plugins[0] = existingMap plugins[1] = istioMap newMap = map[string]any{ "name": "k8s-pod-network", "cniVersion": "0.3.1",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
} private Resource alignToBaseDirectory(Resource resource, Path basedir) { if (resource != null) { String newDir = mayAlignToBaseDirectoryOrNull(resource.getDirectory(), basedir); if (newDir != null) { return resource.withDirectory(newDir); } } return resource; } private String alignToBaseDirectory(String path, Path basedir) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertTrue(map.remove(one, one)); assertEquals(0, map.size()); cache.getUnchecked(one); Map<Object, Object> newMap = ImmutableMap.of(one, one); assertEquals(newMap, map); assertEquals(newMap.entrySet(), map.entrySet()); assertEquals(newMap.keySet(), map.keySet()); Set<Object> expectedValues = ImmutableSet.of(one); Set<Object> actualValues = ImmutableSet.copyOf(map.values());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertTrue(map.remove(one, one)); assertEquals(0, map.size()); cache.getUnchecked(one); Map<Object, Object> newMap = ImmutableMap.of(one, one); assertEquals(newMap, map); assertEquals(newMap.entrySet(), map.entrySet()); assertEquals(newMap.keySet(), map.keySet()); Set<Object> expectedValues = ImmutableSet.of(one); Set<Object> actualValues = ImmutableSet.copyOf(map.values());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model); for (int i = 0; i < 10; i++) { String newStr = toXml(fromXml(xml)); assertEquals(newStr, xml); } } @Test void testNamespaceInXmlNode() throws XMLStreamException { String xml = "<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/api-response.go
for index, part := range partsInfo.Parts { newPart := Part{} newPart.PartNumber = part.PartNumber newPart.ETag = "\"" + part.ETag + "\"" newPart.Size = part.Size newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC()) newPart.ChecksumCRC32 = part.ChecksumCRC32 newPart.ChecksumCRC32C = part.ChecksumCRC32C newPart.ChecksumSHA1 = part.ChecksumSHA1 newPart.ChecksumSHA256 = part.ChecksumSHA256
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/p4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p4 type Pair[T1 interface{ M() }, T2 ~int] struct { f1 T1 f2 T2 } func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] { return Pair[T1, T2]{f1: v1, f2: v2} } func (p Pair[X1, _]) First() X1 { return p.f1 } func (p Pair[_, X2]) Second() X2 { return p.f2 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 552 bytes - Viewed (0)