- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 3,810 for value1 (0.04 seconds)
-
android/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) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
Map<String, String> innerMap = new HashMap<>(); innerMap.put("inner", "value"); nestedData.put("nested", innerMap); callback.store(params, nestedData); assertEquals(4L, callback.getDocumentSize()); } // Helper method to create mock callbacks with preset values private IndexUpdateCallback createMockCallback(final long docSize, final long execTime) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
DeferredCloser closer, @ParametricNullness V1 value1, @ParametricNullness V2 value2, @ParametricNullness V3 value3, @ParametricNullness V4 value4, @ParametricNullness V5 value5) throws Exception; } /** * A function that returns a {@link ClosingFuture} when applied to the values of the fiveCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(filesystem.exists(cacheDir / "dir1")).isFalse() } private operator fun set( key: String, value0: String, value1: String, ) { val editor = cache.edit(key)!! editor.setString(0, value0) editor.setString(1, value1) editor.commit() } private fun assertAbsent(key: String) { val snapshot = cache[key] if (snapshot != null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
Map<String, String> dataMap = new HashMap<>(); dataMap.put("key1", "value1"); dataMap.put("key2", ""); dataMap.put("key3", null); // Test with existing value String result1 = (String) method.invoke(crawler, dataMap, "key1", "default"); assertEquals("value1", result1); // Test with empty value String result2 = (String) method.invoke(crawler, dataMap, "key2", "default");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
} @Test @DisplayName("Should be serializable") void testSerialization() throws Exception { // Given Map<String, Object> context = new HashMap<>(); context.put("key1", "value1"); context.put("key2", 123); exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_NOT_FOUND, "test.txt not found",Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertTrue(viewHelper.isUseSession()); viewHelper.addInitFacetParam("key1", "value1"); assertEquals("key1", viewHelper.getInitFacetParamMap().get("value1")); viewHelper.addInitGeoParam("key2", "value2"); assertEquals("key2", viewHelper.getInitGeoParamMap().get("value2")); FacetQueryView facetQueryView = new FacetQueryView(); facetQueryView.setTitle("test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
private final String name; private final int value; public CustomTestObject(String name, int value) { this.name = name; this.value = value; } public String getName() { return name; } public int getValue() { return value; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
queryContext = new QueryContext("test", false); QueryBuilder initialQuery = QueryBuilders.termQuery("field1", "value1"); queryContext.setQueryBuilder(initialQuery); queryContext.addQuery(boolQuery -> { boolQuery.must(QueryBuilders.termQuery("field2", "value2")); }); QueryBuilder result = queryContext.getQueryBuilder(); assertNotNull(result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0)