Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for mmap (0.01 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
       *       have file descriptors. Bytes are copied from the file into a kernel buffer, then directly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/Maps.java

     *
     * Map&lt;String, Integer&gt; map = map("a", 1).$("b", 2).$("c", 3).$();
     * </pre>
     *
     * @author koichik
     * @param <K> the key type of the {@literal Map}
     * @param <V> the value type of the {@literal Map}
     */
    public class Maps<K, V> {
    
        /** The target <code>Map</code> to be created. */
        protected Map<K, V> map;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocMapTest.java

            Map<String, Object> parentMap = new LinkedHashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            docMap.put("c_key", "value_c");
            docMap.put("a_key", "value_a");
            docMap.put("lang", "en");
            docMap.put("b_key", "value_b");
    
            Set<Map.Entry<String, Object>> entrySet = docMap.entrySet();
            String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            final AtomicReference<String> sentIndex = new AtomicReference<>();
            final List<Map<String, Object>> sentDocList = new ArrayList<>();
            final SearchEngineClient client = new SearchEngineClient() {
                @Override
                public BulkResponse addAll(final String index, final List<Map<String, Object>> docList,
                        final BiConsumer<Map<String, Object>, IndexRequestBuilder> options) {
                    sentIndex.set(index);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return idList;
        }
    
        protected static List<Map<String, Object>> readJobLog(final String namePrefix) {
            final List<Map<String, Object>> logList = readLogItems("joblog");
            final List<Map<String, Object>> resList = new ArrayList<>();
            for (Map<String, Object> elem : logList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

        }
    
        /**
         * Returns a query map for the specified virtual host.
         *
         * @param key The virtual host key.
         * @return A map of terms and boost information.
         */
        protected Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> getQueryMap(final String key) {
            final Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> map = keyMatchQueryMap.get(key);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            set.clear();
        }
    
        private void assertFieldLogs(Map<String, List<String>> fieldLogMap) {
            @SuppressWarnings("unchecked")
            Map<String, List<String>> map = (Map<String, List<String>>) getMockRequest().getAttribute(Constants.FIELD_LOGS);
            if (fieldLogMap != null) {
                assertEquals(fieldLogMap, map);
            }
            map.clear();
        }
    
        private QueryContext buildQuery(String query) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         * @param map the document data map to process
         * @return the processed document map after applying all ingesters
         */
        protected Map<String, Object> ingest(final AccessResult<String> accessResult, final Map<String, Object> map) {
            if (ingestFactory == null) {
                return map;
            }
            Map<String, Object> target = map;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashSet.java

        private static final long serialVersionUID = 1L;
    
        /**
         * The internal LRU hash map used to store elements.
         */
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        /**
         * Creates a new {@link LruHashSet} with the specified limit size.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertTrue(result instanceof List);
            @SuppressWarnings("unchecked")
            List<Map<String, Object>> resultList = (List<Map<String, Object>>) result;
            assertEquals(2, resultList.size());
    
            Map<String, Object> map1 = resultList.get(0);
            assertEquals("name1", map1.get("name"));
    
            Map<String, Object> map2 = resultList.get(1);
            assertEquals("name2", map2.get("name"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top