- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 739 for value_a (0.03 sec)
-
guava-tests/test/com/google/common/primitives/LongsTest.java
private static final long[] VALUES = {MIN_VALUE, -1L, 0L, 1L, MAX_VALUE}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (long value : VALUES) { assertWithMessage("hashCode for " + value) .that(Longs.hashCode(value)) .isEqualTo(Long.hashCode(value)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml); } } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime(); case Boolean b -> b ? 1 : 0; default -> toInteger(o.toString()); }; } private static Integer toInteger(final String s) { if (StringUtil.isEmpty(s)) { return null; } return Integer.valueOf(DecimalFormatUtil.normalize(s)); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
boolean result = validator.isValid(cron, context); // Don't assert true/false here, just test that method doesn't throw assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result)); } } // Test edge cases to understand the validation behavior public void test_edgeCaseBehavior() { String[] edgeCases = { "0 0 25 * * ?", // Invalid day of month
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
} else if (o instanceof String) { return toByte((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Byte.valueOf(new SimpleDateFormat(pattern).format(o)); } return (byte) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (byte) 1 : (byte) 0;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); } } @Benchmark void addsAndRemoves(int reps) { int capacity = this.capacity; BlockingQueue<String> queue = this.queue; String[] strings = this.strings;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml); } } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
} private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable { @Override public int compare(T left, T right) { return String.valueOf(left).compareTo(String.valueOf(right)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/BackupTests.java
final Map<String, Object> searchBody = new HashMap<>(); final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString(); assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status")); } @Override protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jun 19 07:14:01 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetInfoTest.java
assertEquals("field1", facetInfo.field[0]); assertEquals("field2", facetInfo.field[1]); assertEquals("field3", facetInfo.field[2]); assertEquals(Integer.valueOf(10), facetInfo.size); assertEquals(Long.valueOf(5), facetInfo.minDocCount); assertEquals("count.desc", facetInfo.sort); assertEquals("unknown", facetInfo.missing); } // Test init with empty fields
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0)