- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,369 for put (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
source.put("bbb", "a"); assertFalse(fessConfig.validateIndexRequiredFields(source)); source.put("aaa", " "); source.put("bbb", "a"); assertFalse(fessConfig.validateIndexRequiredFields(source)); source.put("aaa", "a"); source.put("bbb", "a"); assertTrue(fessConfig.validateIndexRequiredFields(source)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
static { INTERFACES = new HashMap(); INTERFACES.put("srvsvc", srvsvc.getSyntax()); INTERFACES.put("lsarpc", lsarpc.getSyntax()); INTERFACES.put("samr", samr.getSyntax()); INTERFACES.put("netdfs", netdfs.getSyntax()); } public static void addInterface(String name, String syntax) { INTERFACES.put(name, syntax); } String proto; String server;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
* @throws Exception */ @Test public void testCopy_MapToBean() throws Exception { final Map<String, Object> map = newHashMap(); map.put("a", "A"); map.put("b", true); map.put("c", 3); map.put("d", 1.4); final HogeDto hoge = new HogeDto(); BeanUtil.copyMapToBean(map, hoge); assertThat(hoge.getA(), is("A"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0)