- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 890 for key1 (0.14 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
String expected = "1"; doc.put("key1", expected); assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class)); assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
pw.println(""); pw.println("# A value comment"); pw.println("key1 = val1"); pw.println(""); pw.println("# Another value comment"); pw.println("key2 = ${key1}/foo"); pw.println(""); pw.println("# A third comment"); pw.println("key3 = val3"); pw.println(""); MavenProperties props = new MavenProperties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
while (same != 0xffffffff || diff != 0xffffffff) { int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
public void testKeySetEntrySetValues() { for (LoadingCache<Key, String> cache : caches()) { Key key1 = new Key(1); String value1 = key1.toString(); Key key2 = new Key(2); String value2 = key2.toString(); assertSame(value1, cache.getUnchecked(key1)); assertSame(value2, cache.getUnchecked(key2)); assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
public void test_register() { RenderData data = new RenderData(); RenderDataUtil.register(data, "key1", null); assertNull(data.getDataMap().get("key1")); RenderDataUtil.register(data, "key5", ""); assertEquals(data.getDataMap().get("key5"), ""); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length)); } public void test_ofMap() { Map<String, String> map = new HashMap<String, String>(); map.put("key1", "value1"); map.put("key2", "value2"); StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue()))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testBuildKeepingLast_smallTableSameHash() { String key1 = "QED"; String key2 = "R&D"; assertThat(key1.hashCode()).isEqualTo(key2.hashCode()); ImmutableMap<String, Integer> map = ImmutableMap.<String, Integer>builder() .put(key1, 1) .put(key2, 2) .put(key1, 3) .put(key2, 4) .buildKeepingLast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0)