- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 842 for ptwo (0.02 seconds)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
CharMappingItem item2 = new CharMappingItem(2L, inputs2, null); CharMappingItem item3 = new CharMappingItem(3L, inputs1, "output"); // Two items with same inputs and null output should be equal assertTrue(item1.equals(item2)); // Item with null output should not equal item with non-null output assertFalse(item3.equals(item1));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
* BufferedReader#lines()}. * * <p><b>Java 25+ users:</b> If the input is a {@link Reader}, you may prefer {@link * Reader#readAllLines()}. The two may have different performance characteristics for different * {@link Reader} classes and Java versions, but both methods read the entire input into memory * immediately, so we discourage use of both when memory usage is a concern.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
* String.format} is not available. As an example, method implementations of the {@link * Preconditions} class use this formatter, for both of the reasons just discussed. * * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is * recognized. * * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
void testRelativeConstructorWithSid() throws Exception { // Arrange SID dom = new SID("S-1-5-21"); SID rel = new SID("S-1-2-200-300"); // two subauthorities appended // Act SID combined = new SID(dom, rel); // Assert assertEquals("S-1-5-21-200-300", combined.toString()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; /** * A task to check licenses for dependencies. * <p> * There are two parts to the check: * <ul> * <li>LICENSE, NOTICE and SOURCES files</li> * <li>SHA checksums for each dependency jar</li> * </ul> * <p>
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* inequality. */ protected final <T> void setDefault(Class<T> type, T value) { tester.setDefault(type, value); } /** * Sets two distinct values for {@code type}. These values can be used for both null pointer * testing and equals testing. * * @since 17.0 */
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) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
} } @Override public void putCoalescing(Range<K> range, V value) { // don't short-circuit if the range is empty - it may be between two ranges we can coalesce. if (entriesByLowerBound.isEmpty()) { put(range, value); return; } Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableLongArray.copyOf(new long[0])).isSameInstanceAs(ImmutableLongArray.of()); } public void testCopyOf_array_nonempty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
return this; } /** * Returns an {@code ImmutableRangeMap} containing the associations previously added to this * builder. * * @throws IllegalArgumentException if any two ranges inserted into this builder overlap */ public ImmutableRangeMap<K, V> build() { sort(entries, Range.<K>rangeLexOrdering().onKeys());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
try { iterator.remove(); fail("Remove on unmodifiable iterator succeeded"); } catch (UnsupportedOperationException expected) { } } } /** * Asserts that two iterators contain elements in tandem. * * <p>This test only works with iterators that iterate over a finite set. */ public static void assertIteratorsInOrder(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0)