- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 551 for FIRST (0.02 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
private static File file(String first, String... more) { return file(new File(first), more); } /** Returns a {@code File} object for the given path parts. */ private static File file(File first, String... more) { // not very efficient, but should definitely be correct File file = first; for (String name : more) { file = new File(file, name); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
@Keep public static final WithPublicConstants FIRST = new WithPublicConstants(); // To test that we pick the first constant alphabetically @Keep public static final WithPublicConstants SECOND = new WithPublicConstants(); } private static class FirstConstantIsNull { // To test that null constant is ignored @Keep public static final @Nullable FirstConstantIsNull FIRST = null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
mockwebserver-junit5/README.md
MockWebServer for JUnit 5 ========================= This module integrates mockwebserver3.MockWebServer with JUnit 5. To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.1.0") ``` Annotate fields in test classes with `@StartStop`. The server will be started and shut down automatically. ``` class MyTest { @StartStop
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 665 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} @Override public NavigableSet<E> descendingSet() { return new SafeTreeSet<>(delegate.descendingSet()); } @Override public E first() { return delegate.first(); } @Override public @Nullable E floor(E e) { return delegate.floor(checkValid(e)); } @Override public SortedSet<E> headSet(E toElement) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
import java.util.Queue; /** * A non-blocking queue which automatically evicts elements from the head of the queue when * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e., * cyclic buffer or ring buffer). * * <p>An evicting queue must be configured with a maximum size. Each time an element is added to a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
.github/workflows/ci.yml
- name: 'Set up JDKs' uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0 with: # For discussion, see the first setup-java block. # The publish-snapshot workflow doesn't run tests, so we don't have to care which version Maven would select for that step. java-version: 24 distribution: 'temurin'
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
String input = "first\nsecond\nthird"; InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)); InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null); thread.start(); thread.join(1000); String output = thread.getOutput(); assertEquals("first\nsecond\nthird\n", output); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
* concurrent maps whose content may change while the method is running. * * <p>The serialized output consists of the number of entries, first key, first value, second key, * second value, and so on. */ static <K extends @Nullable Object, V extends @Nullable Object> void writeMap( Map<K, V> map, ObjectOutputStream stream) throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Integer#compare} method instead. * * @param a the first {@code int} to compare * @param b the second {@code int} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
// The replacement array (see ArrayBasedEscaperMap). private final char[][] replacements; // The number of elements in the replacement array. private final int replacementsLength; // The first character in the safe range. private final char safeMin; // The last character in the safe range. private final char safeMax; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.2K bytes - Viewed (0)