- Sort Score
- Num 10 results
- Language All
Results 1271 - 1280 of 1,885 for Failed (0.04 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Finish the task by unblocking the task latch. Then wait for the // listener to be called by blocking on the listener latch. taskLatch.countDown(); assertEquals(25, task.get().intValue()); assertTrue(listenerLatch.await(5, SECONDS)); assertTrue(task.isDone());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmStreamCallback.java
*/ @FunctionalInterface public interface LlmStreamCallback { /** * Called for each chunk of the streaming response. * * @param chunk the text chunk from the LLM response * @param done true if this is the final chunk */ void onChunk(String chunk, boolean done); /** * Called when an error occurs during streaming. * * @param error the error that occurred */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
} @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class. private class InnerWithOneParameterConstructor { @SuppressWarnings("unused") // called by reflection InnerWithOneParameterConstructor(String s) {} } public void testInnerClassWithOneParameterConstructor() { Constructor<?> constructor =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
class MockWebServerRuleTest { @Test fun statementStartsAndStops() { val rule = MockWebServerRule() val called = AtomicBoolean() val statement: Statement = rule.apply( object : Statement() { override fun evaluate() { called.set(true) rule.server .url("/") .toUrl() .openConnection() .connect()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
} // Tests for methods that call checkData(CIFSContext tc) @Test void testIsGroupAddress_CheckDataCalled() throws UnknownHostException { // Test isGroupAddress when checkData is called (hostName is unknown) when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); mockName = new Name(mockConfig, "0.0.0.0", 0, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
boolean[] called = new boolean[1]; f.addCallback( new FutureCallback<String>() { @Override public void onSuccess(String result) { called[0] = true; } @Override public void onFailure(Throwable t) {} }, directExecutor()); assertThat(called[0]).isTrue(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Configure the mock to return a specific value when dec_ndr_long is called when(mockNdrBuffer.dec_ndr_long()).thenReturn(decodedValue); NdrLong ndrLong = new NdrLong(0); // Initialize with a dummy value // Call the decode method ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after // being resumed. To avoid a flake in this scenario, calculate how long that thread actually // waited and assert based on that time. Empirically, the race where the thread ends up waiting // for 5.5 seconds happens about 2% of the time. boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
} @Test public void test_destroy() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test that destroy method can be called without error emptyGenerator.destroy(); // Call destroy multiple times to ensure it's safe emptyGenerator.destroy(); emptyGenerator.destroy(); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* * <p>{@code ByteSink} provides two kinds of methods: * * <ul> * <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned stream is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that areCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0)