- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 491 for leastOf (0.05 seconds)
-
android/guava/src/com/google/common/base/Strings.java
*/ public static boolean isNullOrEmpty(@Nullable String string) { return Platform.stringIsNullOrEmpty(string); } /** * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended * with as many copies of {@code padChar} as are necessary to reach that length. For example, * * <ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
* * @param element the element to check for * @return {@code true} if this multiset contains at least one occurrence of the element */ @Override boolean contains(@Nullable Object element); /** * Returns {@code true} if this multiset contains at least one occurrence of each element in the * specified collection. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
android/pom.xml
<maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version> <mockito.version>4.11.0</mockito.version> <plexus-io.version>3.6.0</plexus-io.version> <!-- We need at least 3.5.1 to avoid https://github.com/codehaus-plexus/plexus-io/issues/109. Once we upgrade maven-jar-plugin itself to a version new enough to depend on 3.5.1 or higher, we can remove this override. -->
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 17 19:12:41 GMT 2026 - 26.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
import java.io.IOException; import java.nio.file.Files; import java.util.*; /** * Checks adoc files for reversed multi-language snippet order. * Only rule enforced: * In a ==== ... ==== block, if there are at least two [.multi-language-sample] snippets, * flag when the first is GROOVY and the second is KOTLIN. */ @CacheableTask public abstract class FindBadMultiLangSnippets extends DefaultTask { @InputDirectory
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
Address[] addresses = nameServiceClient.getAllByName("localhost", false); // Then assertNotNull(addresses, "Should return addresses array"); assertTrue(addresses.length > 0, "Should return at least one address"); } @Test @DisplayName("Should handle NetBIOS name resolution with timeout") @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout void testGetNbtByName() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); assertThat(bimap.get(Currency.DOLLAR)).isEqualTo("dollar"); assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); /* Map must have at least one entry if not an EnumHashBiMap. */ assertThrows( IllegalArgumentException.class, () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularContiguousSet.java
} @GwtIncompatible // not used by GWT emulation @Override int indexOf(@Nullable Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
* Returns the index of the first appearance of the value {@code target} in {@code array}. * * @param array an array of {@code byte} values, possibly empty * @param target a primitive {@code byte} value * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no * such index exists. */ public static int indexOf(byte[] array, byte target) { return indexOf(array, target, 0, array.length); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 15.6K bytes - Click Count (0) -
tests/test_path.py
assert response.json() == { "detail": [ { "type": "string_too_short", "loc": ["path", "item_id"], "msg": "String should have at least 3 characters", "input": "fo", "ctx": {"min_length": 3}, } ] } def test_path_param_maxlength_foo():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
android/guava/src/com/google/common/primitives/Ints.java
* * @param array an array of {@code int} values, possibly empty * @param target a primitive {@code int} value * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no * such index exists. */ public static int indexOf(int[] array, int target) { return indexOf(array, target, 0, array.length); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0)