Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,669 for mmap (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            Map<String, Object> emptyProperties = Map.of();
            assertTrue(Features.deployBuildPom(emptyProperties));
    
            // Test with null properties
            assertTrue(Features.deployBuildPom(null));
        }
    
        @Test
        void testDeployBuildPomWithStringTrue() {
            // Test with string "true"
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "true");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentArrayIndex;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.beans.factory.ParameterizedClassDescFactory;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                    .execute()) {
                final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                @SuppressWarnings("unchecked")
                final List<Map<String, Object>> fileList = (List<Map<String, Object>>) contentMap.get("file");
                return fileList.stream().map(fileMap -> {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ResourceManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
            final Map<String, String> params = Maps.of("foo", "true");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    Map<String, String> map = populate(new HashMap<String, String>(), entries);
                    return Collections.checkedMap(map, String.class, String.class);
                  }
                })
            .named("checkedMap/HashMap")
            .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          }
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        /**
         * Calculates the memory size of a document data map.
         * This is useful for monitoring memory usage during indexing operations.
         *
         * @param dataMap the document data as a map of field names to values
         * @return the estimated memory size in bytes
         */
        public long calculateDocumentSize(final Map<String, Object> dataMap) {
            return MemoryUtil.sizeOf(dataMap);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top