- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,142 for called (0.1 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
// Act aliasHandle.close(); // Assert // Verify that sendrecv was called with MsrpcSamrCloseHandle verify(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class)); // Verify that close was called only once on the mockDcerpcHandle for MsrpcSamrCloseHandle verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
android/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) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
private boolean called = false; @Override public void onSuccess(String result) { fail("Was not expecting onSuccess() to be called."); } @Override public void onFailure(Throwable t) { synchronized (monitor) { assertFalse(called); assertThat(t).isInstanceOf(CancellationException.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.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/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) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
* </ol> * <p> * Implementations of this interface will be discovered through the Java ServiceLoader mechanism * and will be called in sequence during model building. * <p> * Example usage: * <pre> * public class CustomModelTransformer implements ModelTransformer {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.6K bytes - Click Count (0) -
fastapi/background.py
Doc( """ The function to call after the response is sent. It can be a regular `def` function or an `async def` function. """ ), ], *args: P.args, **kwargs: P.kwargs, ) -> None: """ Add a function to be called in the background after the response is sent. Read more about it in the
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
// Configure the mock NdrBuffer to return a specific value when dec_ndr_hyper is called when(mockNdrBuffer.dec_ndr_hyper()).thenReturn(decodedValue); // Call the decode method with the mocked NdrBuffer ndrHyper.decode(mockNdrBuffer); // Verify that dec_ndr_hyper was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_hyper();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
// fall back to default log level specified in conf loggerLevel = Slf4jConfiguration.Level.INFO; // default for display purposes // Do NOT call setRootLoggerLevel - this is the fix! } // Verify that setRootLoggerLevel was not called assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount); // Verify that system property was not setCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
android/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)