- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 109 for asSequence (0.54 sec)
-
guava/src/com/google/common/primitives/Booleans.java
* i, i + target.length)} contains exactly the same elements as {@code target}. * * @param array the array to search for the sequence {@code target} * @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(boolean[] array, boolean[] target) { checkNotNull(array, "array"); checkNotNull(target, "target");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content); // Reload the file protwordsFile.reload(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, -1)); } /** * This test creates a long random sequence of inputs, then a lot of differently configured sinks * process it; all should produce the same answer, the only difference should be the number of * process()/processRemaining() invocations, due to alignment. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
assertEquals("Simulated OOM", e.getMessage()); } } public void test_execute_multipleDifferentExceptions() { // Test job behavior with different exception types in sequence final int[] callCount = { 0 }; SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { @Override public void storeSearchLog() { callCount[0]++;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
import okio.BufferedSource import okio.ByteString import okio.Sink import okio.Timeout import okio.buffer /** * A scriptable web server. Callers supply canned responses and the server replays them upon request * in sequence. */ public class MockWebServer : Closeable { private val taskRunnerBackend = TaskRunner.RealBackend( threadFactory("MockWebServer TaskRunner", daemon = false), )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
} } /** * Artificially stall until manually resumed by the test thread with [runTasks]. Use this to * simulate races in tasks that doesn't have a deterministic sequence. */ fun yield() { taskRunner.assertLockNotHeld() taskRunner.withLock { yieldUntil() } } /** Process the queue until [condition] returns true. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
tagClass = tagClass, tag = tag, codec = codec, ) } /** Returns an adapter that returns a list of values of this type. */ fun asSequenceOf( name: String = "SEQUENCE OF", tagClass: Int = DerHeader.TAG_CLASS_UNIVERSAL, tag: Long = 16L, ): BasicDerAdapter<List<T>> { val codec = object : BasicDerAdapter.Codec<List<T>> { override fun encode(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
throw new IllegalStateException(); } iterator.remove(); } } public void testCanCatchJdkBug6529795InTargetIterator() { try { /* Choose 4 steps to get sequence [next, next, next, remove] */ new IteratorTester<Integer>( 4, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
Writer writer = openStream(); return (writer instanceof BufferedWriter) ? (BufferedWriter) writer : new BufferedWriter(writer); } /** * Writes the given character sequence to this sink. * * @throws IOException if an I/O error while writing to this sink */ public void write(CharSequence charSequence) throws IOException { checkNotNull(charSequence);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertThrows(IOException.class, () -> reader.reset()); } /** * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces * the same sequence when read using each type of read method it provides. */ private static void assertReadsCorrectly(CharSequence charSequence) throws IOException { String expected = charSequence.toString();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0)