- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 169 for captured (0.06 seconds)
-
android/guava/src/com/google/common/reflect/TypeCapture.java
import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /** * Captures the actual type of {@code T}. * * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* <li>Each other step is derived from one or more input steps. At each step, zero or more objects * can be captured for later closing. * <li>There is one last step (the root of the tree), from which you can extract the final result * of the computation. After that result is available (or the computation fails), all objects * captured by any of the steps in the pipeline are closed. * </ol> * * <h3>Starting a pipeline</h3> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
DataStoreParams captured = capturedParams.get(); assertNotNull(captured); assertEquals("test-value", captured.getAsString("string")); assertEquals(42, captured.get("integer")); assertEquals(123456789L, captured.get("long")); assertEquals(true, captured.get("boolean")); assertEquals(3.14, captured.get("double")); assertNotNull(captured.get("map"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
cmd/metrics-v3-cluster-usage.go
dataUsageInfo, err := c.dataUsageInfo.Get() if err != nil { metricsLogIf(ctx, err) return nil } // data usage has not captured any data yet. if dataUsageInfo.LastUpdate.IsZero() { return nil } var ( clusterSize uint64 clusterBuckets uint64 clusterObjectsCount uint64
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
assertNull(ex.getRootCause(), "Root cause should be null by default"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); } /** * Ensures the exception is thrown and captured via assertThrows with the right message. */ @Test void assertThrowsCapturesExceptionAndMessage() { // Act & Assert SmbEndOfFileException thrown = assertThrows(SmbEndOfFileException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
When a dependency with yield raises after the yield (not in an except), the response is already "successfully" sent back to the client, but there's still an error in the server afterwards, an exception is raised and captured or shown in the server logs. """ with TestClient(app, raise_server_exceptions=False) as client: response = client.get("/broken") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
throw new CrawlerSystemException(e); } } } /** * Gets the captured output as a single string. * @return The captured output with newlines. */ public String getOutput() { final StringBuilder buf = new StringBuilder(100); for (final String value : list) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100); // Act + Assert: checkException should throw the SmbException captured by the thread assertThrows(SmbException.class, w::checkException); // Stop the thread synchronized (w) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
RecordingFilter filter = new RecordingFilter(); filter.accept(mockFile); // Verify the filter stored the reference // assertSame may not be necessary but demonstrates captured file // we simply check that getPath was called verify(mockFile, times(1)).getPath(); } }
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/reflect/TypeTokenTest.java
assertAssignable( TypeToken.of(new TypeCapture<L>() {}.capture()), TypeToken.of(new TypeCapture<L>() {}.capture())); assertNotAssignable( TypeToken.of(new TypeCapture<R>() {}.capture()), TypeToken.of(new TypeCapture<L>() {}.capture())); assertAssignable(TypeToken.of(new TypeCapture<L>() {}.capture()), new TypeToken<List<R>>() {}); } public void testisSupertypeOf_resolved() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0)