- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,016 for value2 (0.84 sec)
-
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} private static void assertCastFails(long value) { try { SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
## Default values { #default-values } You can, of course, use default values other than `None`. Let's say that you want to declare the `q` query parameter to have a `min_length` of `3`, and to have a default value of `"fixedquery"`: {* ../../docs_src/query_params_str_validations/tutorial005_an_py39.py hl[9] *} /// noteRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
finisher_api.go
default: tx = db.getInstance() tx.Statement.Dest = value tx = tx.callbacks.Create().Execute(tx) } return } // Save updates value in database. If value doesn't contain a matching primary key, value is inserted. func (db *DB) Save(value interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.Dest = value reflectValue := reflect.Indirect(reflect.ValueOf(value))
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { // Only trust the size of `values` if it is a Set and therefore probably already deduplicated. if (values instanceof Set<?>) { Set<?> collection = (Set<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} private static void assertCastFails(long value) { try { SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
final void setMap(Map<K, Collection<V>> map) { this.map = map; totalSize = 0; for (Collection<V> values : map.values()) { checkArgument(!values.isEmpty()); totalSize += values.size(); } } /** * Creates an unmodifiable, empty collection of values. * * <p>This is used in {@link #removeAll} on an empty key. */ Collection<V> createUnmodifiableEmptyCollection() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
} /** * Converts a number to its string representation, handling null values. * * @param value The number to convert * @return String representation of the number, or empty string if null */ private String toNumberString(final Number value) { return value != null ? value.toString() : StringUtil.EMPTY; } /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
for (StandardSystemProperty property : StandardSystemProperty.values()) { assertEquals(property.key() + "=" + property.value(), property.toString()); } } public void testNoNullValues() { for (StandardSystemProperty property : StandardSystemProperty.values()) { // Even though the contract in System.getProperties() specifies that a value will exist for
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { // Only trust the size of `values` if it is a Set and therefore probably already deduplicated. if (values instanceof Set<?>) { Set<?> collection = (Set<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)