Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      @Test fun regularMappings() {
        assertThat("hello".map()).isEqualTo("hello")
        assertThat("hello-world".map()).isEqualTo("hello-world")
        assertThat("HELLO".map()).isEqualTo("hello")
        assertThat("Hello".map()).isEqualTo("hello")
    
        // These compound characters map their its components.
        assertThat("¼".map()).isEqualTo("1⁄4")
        assertThat("™".map()).isEqualTo("tm")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/collect/ImmutableMapValues.java

      private final ImmutableMap<K, V> map;
    
      ImmutableMapValues(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
      public UnmodifiableIterator<V> iterator() {
        return new UnmodifiableIterator<V>() {
          final UnmodifiableIterator<Entry<K, V>> entryItr = map.entrySet().iterator();
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

      }
    
      public void testCreateFromMap() {
        /* Test with non-empty Map. */
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                          case 0:
                            map.incrementAndGet(key);
                            threadSum++;
                            break;
                          case 1:
                            map.decrementAndGet(key);
                            threadSum--;
                            break;
                          case 2:
                            map.addAndGet(key, delta);
                            threadSum += delta;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            Map<String, Object> doc3 = new HashMap<>();
            doc3.put("title", "Doc3");
            assertEquals(-1, qrList.indexOf(doc3));
        }
    
        public void test_listOperations_iterators() {
            List<Map<String, Object>> documentList = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Doc1");
            Map<String, Object> doc2 = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            final Set<String> keySet = createTestParam(0).keySet();
            final Map<String, Object> updateMap = getUpdateMap();
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<Map<String, Object>> settings = getItemList(searchBody);
    
            for (Map<String, Object> setting : settings) {
                final Map<String, Object> requestBody = new HashMap<>(updateMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

        }
    
        private ParamMap<Object, Object> createCamelMap() {
            final Map<Object, Object> map = new HashMap<>();
            map.put("aaa", "111");
            map.put("aaaBbb", "222");
            map.put("aaaBbbCcc", "333");
            map.put("ccc.ddd", "444");
            return new ParamMap<>(map);
        }
    
        public void test_snake_get() {
            Map<Object, Object> paramMap = createSnakeMap();
    
            assertNull(paramMap.get("xxx"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.4K bytes
    - Viewed (1)
Back to top