Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,385 for putA (0.05 sec)

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

        Map<String, Integer> underlying = Maps.newLinkedHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
        underlying.put("d", 4);
        underlying.put("e", 5);
        underlying.put("f", 6);
        underlying.put("g", 7);
        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
    
        map.remove("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.put("boost1", 0);
            map.put("boost2", 0);
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 0);
            assertTrue(10.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 2);
            assertTrue(12.0f == docBoostMatcher.getValue(map));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            map.put(FieldNames.LANGUAGES, languages);
            map.put(FieldNames.KINDS, Stream.of(kinds).map(Kind::toString).toArray());
            map.put(FieldNames.QUERY_FREQ, queryFreq);
            map.put(FieldNames.DOC_FREQ, docFreq);
            map.put(FieldNames.USER_BOOST, userBoost);
            map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost);
            map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        ImmutableRangeMap<Integer, Integer> nonEmptyRangeMap =
            new ImmutableRangeMap.Builder<Integer, Integer>()
                .put(Range.closed(2, 4), 5)
                .put(Range.open(6, 7), 3)
                .put(Range.closedOpen(8, 10), 4)
                .put(Range.openClosed(15, 17), 2)
                .build();
    
        ImmutableMap<Range<Integer>, Integer> test = nonEmptyRangeMap.asMapOfRanges();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("name", "test_webconfig");
            requestBody.put("urls", "http://www.example.com");
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. internal/bpool/bpool_test.go

    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    	bp.Put(make([]byte, width))           // wrong capacity is rejected (very less)
    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    		t.Fatal("bytepool should have accepted short slice with sufficient capacity")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        protected void addUserAttributes(final BasicAttributes entry, final User user) {
            entry.put(new BasicAttribute("cn", user.getName()));
            entry.put(new BasicAttribute("userPassword", user.getOriginalPassword()));
    
            OptionalUtil.ofNullable(user.getSurname()).filter(StringUtil::isNotBlank)
                    .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrSurname(), s)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

      }
    
      public void testFilterFiltered() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        unfiltered.put("foo", 1);
        Multimap<String, Integer> keyFiltered = filterKeys(unfiltered, KEY_PREDICATE);
        Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top