- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,219 for key6 (0.02 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
} public void test_integer() { Map<String, Object> doc = new HashMap<>(); int expected3 = 999; doc.put("key3", expected3); assertEquals(expected3, DocumentUtil.getValue(doc, "key3", Integer.class)); doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999))); assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
public void test_putAndGet() { dataStoreParams.put("key1", "value1"); assertEquals("value1", dataStoreParams.get("key1")); dataStoreParams.put("key2", 123); assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key public void test_getNonExistentKey() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with whitespace around keys and values value = " key1 = value1 \n key2=value2\n"; paramMap = ParameterUtil.parse(value); assertEquals(2, paramMap.size()); assertEquals("value1", paramMap.get("key1")); assertEquals("value2", paramMap.get("key2")); // Test with empty lines and mixed whitespace value = "key1=value1\n\n\t\nkey2=value2\n \n";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new); assertTrue("Should contain all keys", Arrays.asList(keys).contains("lang")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("a_key")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("b_key")); assertTrue("Should contain all keys", Arrays.asList(keys).contains("c_key"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1); Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2); Smb2LeaseKey key3 = new Smb2LeaseKey(testBytes3); assertEquals(key1, key2); assertNotEquals(key1, key3); assertNotEquals(key1, null); assertNotEquals(key1, "not a lease key"); assertEquals(key1, key1); // reflexive } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
tests/lru_test.go
lru := lru.NewLRU[string, int](2, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) if _, ok := lru.Get("key1"); ok { t.Errorf("Expected key1 to be removed, but it still exists") } } func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) { lru := lru.NewLRU[string, int](0, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) if _, ok := lru.Get("key1"); !ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
public void testGenerateRandomKey() { byte[] key1 = keyManager.generateRandomKey(32); byte[] key2 = keyManager.generateRandomKey(32); assertNotNull(key1, "Should generate key 1"); assertNotNull(key2, "Should generate key 2"); assertEquals(32, key1.length, "Key 1 should have correct length"); assertEquals(32, key2.length, "Key 2 should have correct length");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); // key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest) assertNull(limitedManager.getLease(key1)); // key2 should still exist (not the oldest)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
key8[2] = (byte) (((key7[1] & 0x03) << 5 | (key7[2] & 0xff) >> 3 & 0xff) & 0xff); key8[3] = (byte) (((key7[2] & 0x07) << 4 | (key7[3] & 0xff) >> 4 & 0xff) & 0xff); key8[4] = (byte) (((key7[3] & 0x0F) << 3 | (key7[4] & 0xff) >> 5 & 0xff) & 0xff); key8[5] = (byte) (((key7[4] & 0x1F) << 2 | (key7[5] & 0xff) >> 6 & 0xff) & 0xff); key8[6] = (byte) (((key7[5] & 0x3F) << 1 | (key7[6] & 0xff) >> 7 & 0xff) & 0xff);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0)