Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 213 for QUEUE (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

        }
    
        throw firstException!!
      }
    
      /**
       * Returns non-null if we don't need to wait for the launched result. In such cases, this result
       * must be processed before whatever is waiting in the queue because we may have already acquired
       * its connection.
       */
      private fun launchTcpConnect(): ConnectResult? {
        val plan =
          when {
            routePlanner.hasNext() -> {
              try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * garbage-collected after that.
       */
    
      public static class MyFinalizableWeakReference extends FinalizableWeakReference<Object> {
        public MyFinalizableWeakReference(Object x, FinalizableReferenceQueue queue) {
          super(x, queue);
        }
    
        @Override
        public void finalizeReferent() {}
      }
    
      private static class PermissivePolicy extends Policy {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
     *   <li>clearing weak references to unreachable referents
     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	}
    
    	h.countScanned(healType)
    
    	if source.noWait {
    		select {
    		case globalBackgroundHealRoutine.tasks <- task:
    			if serverDebugLog {
    				fmt.Printf("Task in the queue: %#v\n", task)
    			}
    		default:
    			// task queue is full, no more workers, we shall move on and heal later.
    			return nil
    		}
    		// Don't wait for result
    		return nil
    	}
    
    	// respCh must be set to wait for result.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        redQueue.execute("task", 100.µs) {
          // Do nothing.
        }
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 schedule canceled (queue is shutdown): task",
        )
      }
    
      @Test fun scheduleThrowsWhenShutdown() {
        redQueue.shutdown()
    
        assertFailsWith<RejectedExecutionException> {
          redQueue.schedule(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. internal/s3select/select.go

    	getProgressFunc := s3Select.getProgress
    	if !s3Select.Progress.Enabled {
    		getProgressFunc = nil
    	}
    	writer := newMessageWriter(w, getProgressFunc)
    
    	var outputQueue []sql.Record
    
    	// Create queue based on the type.
    	if s3Select.statement.IsAggregated() {
    		outputQueue = make([]sql.Record, 0, 1)
    	} else {
    		outputQueue = make([]sql.Record, 0, 100)
    	}
    	var err error
    	sendRecord := func() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        object : Task("$okHttpName ConnectionPool connection closer") {
          override fun runOnce(): Long = closeConnections(System.nanoTime())
        }
    
      private fun AddressState.scheduleOpener() {
        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. mockwebserver/README.md

    assertEquals("application/json; charset=utf-8", request.getHeader("Content-Type"));
    assertEquals("{}", request.getBody().readUtf8());
    ```
    
    #### Dispatcher
    
    By default MockWebServer uses a queue to specify a series of responses. Use a
    Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to
    dispatch on the request path.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top