- Sort Score
- Num 10 results
- Language All
Results 1211 - 1220 of 3,920 for chat (0.41 seconds)
-
android/guava/src/com/google/common/collect/TopKSelector.java
import java.math.RoundingMode; import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.List; import org.jspecify.annotations.Nullable; /** * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to * create the {@code TopKSelector} instance. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
} return true; }).orElse(false); } /** * Retrieves a list of URLs that are in the user's favorites from the provided URL list. * This method filters the input URL list to return only those URLs that the specified user * has marked as favorites. * * @param userCode the unique code identifying the userCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
/* * This is a public type so that the Android test runner can create an instance directly as it * insists upon doing. It then runs the test, which behaves exactly like this package's existing * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and * that would be a problem because it violates small-test rules. Note that we strip the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
CIFSContext wrappedContext = context.withCredentials(newCreds); assertNotNull(wrappedContext); assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper); // Verify that the new context uses the provided credentials assertEquals(newCreds, wrappedContext.getCredentials()); } @Test void testWithAnonymousCredentials() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; /** * Test class for MIME type patterns defined in crawler/rule.xml. * Verifies that regex patterns correctly match MIME types with special characters. * * This test ensures that the + character in MIME types like application/xhtml+xml * is properly escaped in regex patterns to match literally. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractIterator.java
* * <p>Implementations of {@code AbstractIterator} that wish to expose this functionality should * implement {@code PeekingIterator}. */ @ParametricNullness public final T peek() { if (!hasNext()) { throw new NoSuchElementException(); } // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`. return uncheckedCastNullableTToT(next); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
} public static void assertEmpty(Iterable<?> iterable) { if (!isEmpty(iterable)) { fail("Not true that " + iterable + " is empty"); } } public static void assertEmpty(Map<?, ?> map) { if (!map.isEmpty()) { fail("Not true that " + map + " is empty"); } } public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
src/main/java/jcifs/Encodable.java
* License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullsFirstOrdering.java
public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof NullsFirstOrdering) { NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() { return ordering.hashCode() ^ 957692532; // meaningless } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} /* * Full and proper black-box testing of a Stream-returning method is extremely involved, and is * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and * just test that the toArray() contents are as expected. */ public void testStream() { assertThat(FluentIterable.of().stream()).isEmpty(); assertThat(FluentIterable.of("a").stream()).containsExactly("a");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0)