Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Chang (0.09 sec)

  1. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-09-06 17:04
    - 3.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-09-06 17:04
    - 3.7K bytes
    - Viewed (0)
  3. RELEASE.md

    # Release 2.12.1
    
    ### Bug Fixes and Other Changes
    
    Registered: 2024-06-16 05:45
    - Last Modified: 2024-06-11 23:24
    - 730.3K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    eu-2.evennode.com
    eu-3.evennode.com
    eu-4.evennode.com
    us-1.evennode.com
    us-2.evennode.com
    us-3.evennode.com
    us-4.evennode.com
    
    // eDirect Corp. : https://hosting.url.com.tw/
    // Submitted by C.S. chang <******@****.***>
    twmail.cc
    twmail.net
    twmail.org
    mymailer.com.tw
    url.tw
    
    // Fabrica Technologies, Inc. : https://www.fabrica.dev/
    // Submitted by Eric Jiang <******@****.***>
    Registered: 2024-06-16 04:42
    - Last Modified: 2023-12-20 23:27
    - 240.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/HandleStop.java

            // number of milliseconds before continuing to shutdown. This simulates builds for daemons
            // that are very slow to respond.
            int hang = Integer.getInteger("org.gradle.internal.testing.daemon.hang", 0);
            if (hang > 0) {
                try {
                    Thread.sleep(hang);
                } catch (InterruptedException e) {
                    // ignore
                }
            }
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:29
    - 2.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        def "disconnect during hanging build does not block the client"() {
            setup:
            file("gradle.properties") << "systemProp.org.gradle.internal.testing.daemon.hang=60000"
            buildFile.text = """
                task hang {
                    doLast {
                        ${server.callFromBuild("waiting")}
                    }
                }
            """.stripIndent()
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-16 10:10
    - 11.5K bytes
    - Viewed (0)
  7. src/time/internal_test.go

    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    	MinMonoTime = Time{wall: 1 << 63, ext: -1 << 63, loc: UTC}
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-06-03 14:56
    - 2.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

            where:
            configureOnDemand << [true, false]
        }
    
        def "can cancel build and skip some tasks"() {
            buildFile << """
    task hang {
        doLast {
            ${waitForCancel()}
        }
    }
    
    task notExecuted(dependsOn: hang) {
        doLast {
            throw new RuntimeException("should not run")
        }
    }
    """
    
            def cancel = GradleConnector.newCancellationTokenSource()
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 8.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	StartMaxInFlightWatermarkMaintenance(ctx.Done())
    
    	// These should hang, but not affect accounting.  use a query param match
    	for i := 0; i < AllowedNonMutatingInflightRequestsNo; i++ {
    		// These should hang waiting on block...
    		go func() {
    			if err := expectHTTPGet(server.URL+"/api/v1/namespaces/default/wait?watch=true", http.StatusOK); err != nil {
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-07-26 17:14
    - 10.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              TimeoutsToUse.FINITE,
              isBoolean(method) ? Outcome.FAILURE : Outcome.HANG);
          addTests(
              suite,
              method,
              Scenario.SATISFIED_AND_OCCUPIED_BEFORE_ENTERING,
              TimeoutsToUse.INFINITE,
              isGuarded(method) ? Outcome.HANG : (isTryEnter(method) ? Outcome.FAILURE : Outcome.HANG));
          addTests(
              suite,
              method,
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-05-29 16:29
    - 25.8K bytes
    - Viewed (0)
Back to top