Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 160 for captured (0.53 seconds)

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  3. 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: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. 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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. internal/bucket/bandwidth/measurement.go

    // incrementBytes add bytes reported for a bucket.
    func (m *bucketMeasurement) incrementBytes(bytes uint64) {
    	atomic.AddUint64(&m.bytesSinceLastWindow, bytes)
    }
    
    // updateExponentialMovingAverage processes the measurements captured so far.
    func (m *bucketMeasurement) updateExponentialMovingAverage(endTime time.Time) {
    	// Calculate aggregate avg bandwidth and exp window avg
    	m.lock.Lock()
    	defer func() {
    		m.startTime = endTime
    		m.lock.Unlock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Click Count (0)
  8. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. android/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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            every { buildType.steps } returns steps
            every { buildType.stage } returns buildModel.stages[2]
            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top