Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 470 for puts (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("bar", 2);
        map.put("quux", 1);
    
        assertThat(map.inverse().entrySet())
            .containsExactly(immutableEntry(2, "bar"), immutableEntry(1, "quux"))
            .inOrder();
      }
    
      public void testInverseInsertionOrderAfterInverseForcePut() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.put(1, "e");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          V v9,
          K k10,
          V v10) {
        return new Builder<K, V>(Ordering.natural())
            .put(k1, v1)
            .put(k2, v2)
            .put(k3, v3)
            .put(k4, v4)
            .put(k5, v5)
            .put(k6, v6)
            .put(k7, v7)
            .put(k8, v8)
            .put(k9, v9)
            .put(k10, v10)
            .build();
      }
    
      // Unsafe, see ImmutableSortedMapFauxverideShim.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            requestBody.put("name", NAME_PREFIX + "WebConfig");
            requestBody.put("urls", urls);
            requestBody.put("included_urls", includedUrls);
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("depth", 0);
            requestBody.put("max_access_count", 1L); // Already minimal
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 0); // No delay between requests
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    params.put("ID", e.getId());
                    params.put("Query ID", e.getQueryId());
                    params.put("Doc ID", e.getDocId());
                    params.put("User Session ID", e.getUserSessionId());
                    params.put("URL", e.getUrl());
                    params.put("URL ID", e.getUrlId());
                    params.put("Order", toNumberString(e.getOrder()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            doc.put("intStr", "123");
            assertEquals(Integer.valueOf(123), DocumentUtil.getValue(doc, "intStr", Integer.class));
    
            doc.put("longStr", "123456789");
            assertEquals(Long.valueOf(123456789L), DocumentUtil.getValue(doc, "longStr", Long.class));
    
            doc.put("doubleStr", "123.45");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top