Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 388 for stopFn (0.2 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
        executor.shutdown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteProcessor.java

    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. cni/pkg/log/uds_test.go

    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger()
    	pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level
    	stop := make(chan struct{})
    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := log.DefaultOptions()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            assertTrue(expiredCount > 0);
            assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount());
            TimeoutManager.getInstance().stop();
            assertNull(TimeoutManager.getInstance().thread);
            Thread.sleep(10);
            int count = expiredCount;
            task.stop();
            TimeoutManager.getInstance().start();
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
       * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  6. .github/workflows/run-mint.sh

    docker volume prune -f || true
    docker volume rm $(docker volume ls -q -f dangling=true) || true
    
    # Stop two nodes, one of each pool, to check that all S3 calls work while quorum is still there
    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio2
    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio6
    
    docker run --rm --net=mint_default \
    	--name="mint-${MODE}-${JOB_NAME}" \
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Oct 01 03:29:45 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess/zh-cn/stopwords.txt

    》
    —
    -
    ,
    。
    、
    :
    ;
    !
    ·
    ?
    “
    ”
    )
    (
    【
    】
    [
    ]
    ●
    # the line below contains an IDEOGRAPHIC SPACE character (Used as a space in Chinese)
     
    
    # English Stop Words
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Jun 17 08:00:22 GMT 2017
    - 310 bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/internal/Finalizer.java

     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    // no @ElementTypesAreNonNullByDefault for the reasons discussed above
    public class Finalizer implements Runnable {
    
      private static final Logger logger = Logger.getLogger(Finalizer.class.getName());
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineProcessor.java

    /**
     * A callback to be used with the streaming {@code readLines} methods.
     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. cni/pkg/monitoring/monitoring.go

    package monitoring
    
    import (
    	"fmt"
    	"net"
    	"net/http"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/network"
    )
    
    func SetupMonitoring(port int, path string, stop <-chan struct{}) {
    	if port <= 0 {
    		return
    	}
    	mux := http.NewServeMux()
    	var listener net.Listener
    	var err error
    	if listener, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top