Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 742 for calloc (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

         */
        public interface RequestListener {
    
            /**
             * Called when a request starts.
             *
             * @param client the fault-tolerant client
             * @param request the request data
             */
            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            /**
             * Called before each request attempt.
             *
             * @param client the fault-tolerant client
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

              }
              else -> null
            }
          }
    
        // If the call's connection wasn't released, reuse it. We don't call connectionAcquired() here
        // because we already acquired it.
        if (connectionUser.candidateConnection() != null) {
          check(toClose == null)
          return ReusePlan(candidate)
        }
    
        // The call's connection was released.
        toClose?.closeQuietly()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * We mock a simple 200 OK response to test the handshake is called.
         * @throws IOException
         */
        @Test
        void testGettersTriggerHandshake() throws IOException {
            // Arrange
            // Spy on the connection to verify handshake() is called
            NtlmHttpURLConnection spiedConnection = spy(ntlmConnection);
            doNothing().when(spiedConnection).connect();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
            };
            ComponentUtil.register(factory, "webApiManagerFactory");
    
            // Execute
            webApiFilter.doFilter(request, response, chain);
    
            // Verify manager was called and chain was not called directly
            assertTrue(managerCalled.get());
            assertFalse(chainCalled.get());
        }
    
        // Test doFilter with ServletRequest and ServletResponse (not HTTP variants)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Verify listener not called yet
            assertFalse(listener.wasShutdownCalled());
    
            // Call shutdown
            scriptExecutor.shutdown();
    
            // Verify listener was called
            assertTrue(listener.wasShutdownCalled());
        }
    
        public void test_shutdown_withoutListener() {
            // Call shutdown without setting listener
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         *     {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}
         * @throws IllegalStateException if called outside of a call to {@link
         *     CombiningCallable#call(DeferredCloser, Peeker)} or {@link
         *     AsyncCombiningCallable#call(DeferredCloser, Peeker)}
         */
        @ParametricNullness
        public final <D extends @Nullable Object> D getDone(ClosingFuture<D> closingFuture)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  8. 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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. 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 {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top