Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,738 for Mmap (0.67 sec)

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

        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
        assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
                    map.put(ID, Base64.getUrlEncoder().encodeToString(e.getKeyAsString().getBytes(StandardCharsets.UTF_8)));
                    map.put(KEY, e.getKeyAsString());
                    map.put(COUNT, e.getDocCount());
                    return map;
                }).collect(Collectors.toList());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
        assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                public RescorerBuilder<?> evaluate(Map<String, Object> params) {
                    if (params == null) {
                        return null;
                    }
    
                    // Check for nested map
                    if (params.containsKey("nested") && params.get("nested") instanceof Map) {
                        @SuppressWarnings("unchecked")
                        Map<String, Object> nestedMap = (Map<String, Object>) params.get("nested");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testDefaults() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
    
        assertSame(Strength.STRONG, map.keyStrength);
        assertSame(Strength.STRONG, map.valueStrength);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
        assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence);
    
        assertEquals(0, map.expireAfterAccessNanos);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsBoostDocumentRule.java

        //                                                                              Source
        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (boostExpr != null) {
                addFieldToSource(sourceMap, "boostExpr", boostExpr);
            }
            if (createdBy != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException {
            mockResponse(this.mockConnection, code, message, headers, errorStream);
        }
    
        /**
         * Helper method to mock the response of a specific HttpURLConnection instance.
         */
        private void mockResponse(HttpURLConnection conn, int code, String message, Map<String, List<String>> headers, InputStream stream)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(three, map.get(one));
        assertFalse(map.replace(one, two, three));
        assertSame(three, map.get(one));
        assertTrue(map.replace(one, three, two));
        assertSame(two, map.get(one));
        assertEquals(3, map.size());
    
        map.clear();
        assertTrue(map.isEmpty());
        assertEquals(0, map.size());
    
        cache.getUnchecked(one);
        assertEquals(1, map.size());
        assertSame(one, map.get(one));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top