Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 2,585 for Mmap (0.1 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toString()} operations on a map. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.v4.SettingsStaxReader;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                }
            }
    
            dominant.addAll(0, identifiables);
        }
    
        /**
         * @param identifiables
         * @return a map
         */
        private static <T extends IdentifiableBase> Map<String, T> mapById(List<T> identifiables) {
            Map<String, T> byId = new HashMap<>();
    
            for (T identifiable : identifiables) {
                byId.put(identifiable.getId(), identifiable);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                    public Type type() {
                        return null;
                    }
    
                    @Override
                    public Map<String, PluginContainer> plugins() {
                        if ("JAR".equals(id)) {
                            return Map.of(
                                    DEFAULT,
                                    PluginContainer.newBuilder()
                                            .plugins(List.of(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            }
        }
    
        /**
         * Sets multiple settings from a map.
         * @param map The map of settings to set.
         */
        public void set(final Map<String, Object> map) {
            if (logger.isDebugEnabled()) {
                logger.debug("Setting suggest settings (bulk): index={}, settingsId={}, settings={}", settingsIndexName, settingsId,
                        map.toString());
            }
            try {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                        return singleton("a").iterator();
                      }
                    }));
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        assertThrows(AssertionFailedError.class, () -> assertEmpty(map));
      }
    
      public void testAssertEqualInOrder() {
        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                        return singleton("a").iterator();
                      }
                    }));
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        assertThrows(AssertionFailedError.class, () -> assertEmpty(map));
      }
    
      public void testAssertEqualInOrder() {
        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        Segment(
            LocalCache<K, V> map,
            int initialCapacity,
            long maxSegmentWeight,
            StatsCounter statsCounter) {
          this.map = map;
          this.maxSegmentWeight = maxSegmentWeight;
          this.statsCounter = checkNotNull(statsCounter);
          initTable(newEntryArray(initialCapacity));
    
          keyReferenceQueue = map.usesKeyReferences() ? new ReferenceQueue<>() : null;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FailureUrlDbm.java

        //                                                                   Map Communication
        //                                                                   =================
        @Override
        public void acceptPrimaryKeyMap(Entity entity, Map<String, ? extends Object> primaryKeyMap) {
        }
    
        @Override
        public void acceptAllColumnMap(Entity entity, Map<String, ? extends Object> allColumnMap) {
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        /**
         * Subclasses implement the actual upgrade logic here.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project
         * @return the result of the upgrade operation
         */
        protected abstract UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Gets the upgrade options from the context.
         *
         * @param context the upgrade context
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top