- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 679 for maps (0.02 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@Override protected final Map<String, String> create(Entry<String, String>[] entries) { HashMap<String, String> map = new HashMap<>(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return wrap(map); } abstract Map<String, String> wrap(HashMap<String, String> map); } private static TestSuite wrappedHashMapTests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* @param callback The function to resolve variable values not found in the map. * @param defaultsToEmpty If true, unresolved placeholders are replaced with empty strings. If false, they are left unchanged. */ default void interpolate( @Nonnull Map<String, String> map, @Nullable UnaryOperator<String> callback, boolean defaultsToEmpty) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs * @see FileChannel#map(MapMode, long, long) * @since 2.0 */ public static MappedByteBuffer map(File file) throws IOException { checkNotNull(file); return map(file, MapMode.READ_ONLY); } /** * Fully maps a file in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
return (ImmutableRangeMap<K, V>) rangeMap; } Map<Range<K>, ? extends V> map = rangeMap.asMapOfRanges(); ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size()); ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size()); for (Entry<Range<K>, ? extends V> entry : map.entrySet()) { rangesBuilder.add(entry.getKey());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
assertTrue(descendingMap instanceof SynchronizedNavigableMap); assertThat(((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex) .isSameInstanceAs(mutex); } public void testFirstEntry() { assertThat(create().firstEntry()).isNull(); } public void testFirstKey() { NavigableMap<String, Integer> map = create(); map.put("a", 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Check information level (first 2 bytes) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101 // Check reserved bytes (4 bytes of 0x00) assertEquals(0x00, buffer[2]); assertEquals(0x00, buffer[3]); assertEquals(0x00, buffer[4]); assertEquals(0x00, buffer[5]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
* display. This includes two values for each extreme. * * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will * work for this purpose, which may cause problems for navigable maps with non-string or unicode * generators. */ private static List<String> getExtremeValues() { List<String> result = new ArrayList<>(); result.add("!! a"); result.add("!! b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 11.9K bytes - Click Count (0) -
cmd/metrics-v3.go
// of buckets is not known until the request is made. So we keep a separate // map for bucket metrics and handle them specially. // Add the serverName and poolIndex labels to all non-cluster metrics. // // Also create metric group maps and set the cache. metricsCache := newMetricsCache() mgMap := make(map[collectorPath]*MetricsGroup) bucketMGMap := make(map[collectorPath]*MetricsGroup) for _, mg := range allMetricGroups {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 02 00:55:27 GMT 2024 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
*/ public static <K extends @Nullable Object, V extends @Nullable Object> LinkedHashMultimap<K, V> create(int expectedKeys, int expectedValuesPerKey) { return new LinkedHashMultimap<>( Maps.capacity(expectedKeys), Maps.capacity(expectedValuesPerKey)); } /** * Constructs a {@code LinkedHashMultimap} with the same mappings as the specified multimap. If a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
} @LazyInit private transient @Nullable Map<R, Map<C, V>> rowMap; @Override public Map<R, Map<C, V>> rowMap() { Map<R, Map<C, V>> result = rowMap; return (result == null) ? rowMap = createRowMap() : result; } Map<R, Map<C, V>> createRowMap() { return new RowMap(); } @WeakOuter class RowMap extends ViewCachingAbstractMap<R, Map<C, V>> { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0)