- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 926 for _value (0.07 seconds)
-
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
ldapManager.init(); // Null byte should be escaped to \00 assertEquals("\\00", ldapManager.escapeLDAPSearchFilter("\0")); assertEquals("test\\00value", ldapManager.escapeLDAPSearchFilter("test\0value")); } @Test public void test_escapeLDAPSearchFilter_withComplexInjectionAttempt() { LdapManager ldapManager = new LdapManager(); ldapManager.init();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().entrySet()).containsExactly(immutableEntry(key2, value2)); } } // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568 // A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
// Test with property that doesn't exist and default value cmdList.clear(); execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null); assertEquals(1, cmdList.size()); assertEquals("-Dnon.existent.property=default.value", cmdList.get(0)); // Test with property that doesn't exist and no default value cmdList.clear();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
public void test_print_parameterSorting() { activityHelper.useEcsFormat = false; Map<String, String> params = new HashMap<>(); params.put("z_param", "z_value"); params.put("a_param", "a_value"); params.put("m_param", "m_value"); activityHelper.print("test", OptionalThing.empty(), params); String result = localLogMsg.get();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* acquire other locks, risking deadlocks. * * @param value the value to be used as the result * @return true if the attempt was accepted, completing the {@code Future} */ @CanIgnoreReturnValue protected boolean set(@ParametricNullness V value) { Object valueToSet = value == null ? NULL : value; if (casValue(this, null, valueToSet)) { complete(this, /* callInterruptTask= */ false);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
} static final class DuplicateKey { private final Object key; private final Object value1; private final Object value2; DuplicateKey(Object key, Object value1, Object value2) { this.key = key; this.value1 = value1; this.value2 = value2; } IllegalArgumentException exception() { return new IllegalArgumentException(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
builder.header("", "Value") } assertFailsWith<IllegalArgumentException> { builder.addHeader("", "Value") } } @Test fun headerAllowsTabOnlyInValues() { val builder = Request.Builder() builder.header("key", "sample\tvalue") assertFailsWith<IllegalArgumentException> { builder.header("sample\tkey", "value") } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
assertEquals(0, event.toSource().size()); // Add elements to the map map1.put("key1", "value1"); assertEquals(1, event.toSource().size()); // Replace the map Map<String, Object> map2 = new HashMap<>(); map2.put("key2", "value2"); map2.put("key3", "value3"); event.setSourceMap(map2); assertEquals(2, event.toSource().size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/** * Sets two distinct values for {@code type}. These values can be used for both null pointer * testing and equals testing. * * @since 17.0 */ protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) { tester.setDistinctValues(type, value1, value2); } /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
builder.header("", "Value") } assertFailsWith<IllegalArgumentException> { builder.addHeader("", "Value") } } @Test fun headerAllowsTabOnlyInValues() { val builder = Request.Builder() builder.header("key", "sample\tvalue") assertFailsWith<IllegalArgumentException> { builder.header("sample\tkey", "value") } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0)