Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,956 for mmap (0.05 sec)

  1. android/guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        // Non-null array of zero length.
        assertEquals(0, fem.getReplacementArray().length);
      }
    
      public void testMapLength() {
        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Array length is highest character value + 1
        assertEquals('z' + 1, fem.getReplacementArray().length);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

      private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>>
    
      init {
        val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>()
        for (caCert in caCerts) {
          map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert)
        }
        this.subjectToCaCerts = map
      }
    
      override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null);
            final Map<String, String> map = ResourceBundleUtil.convertMap(bundle);
            final String value = map.get("ECL0001");
            System.out.println(value);
            assertThat(value, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBundle() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
        Collection<V> valueCollection = map.values();
        Set<Entry<K, V>> entrySet = map.entrySet();
    
        assertEquals(map.size() == 0, map.isEmpty());
        assertEquals(map.size(), keySet.size());
        assertEquals(keySet.size() == 0, keySet.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java

     */
    package org.apache.maven.classrealm;
    
    import java.util.List;
    import java.util.Map;
    
    /**
     */
    class DefaultClassRealmRequest implements ClassRealmRequest {
    
        private final RealmType type;
    
        private final ClassLoader parent;
    
        private final List<String> parentImports;
    
        private final Map<String, ClassLoader> foreignImports;
    
        private final List<ClassRealmConstituent> constituents;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top