Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 931 for sweep (0.04 sec)

  1. src/cmd/go/testdata/script/script_wait.txt

    # programs, but that should not cause the test to fail if it does not
    # care about the exit status of those programs.
    [exec:sleep] ? exec sleep 86400 &
    
    # It should also cancel any backgrounded builtins that respond to Context
    # cancellation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 693 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

            public String call() throws InterruptedException {
              MILLISECONDS.sleep(DELAY_MS);
              return GOOD_CALLABLE_RESULT;
            }
          };
      private static final Callable<String> BAD_CALLABLE =
          new Callable<String>() {
            @Override
            public String call() throws InterruptedException, SampleException {
              MILLISECONDS.sleep(DELAY_MS);
              throw new SampleException();
            }
          };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/stress.go

    	go func() {
    		var tmp [1]byte
    		rp.Read(tmp[:])
    		<-done
    		wg.Done()
    	}()
    	time.Sleep(time.Millisecond) // give the goroutine above time to block
    
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	defer trace.Stop()
    
    	procs := runtime.GOMAXPROCS(10)
    	time.Sleep(50 * time.Millisecond) // test proc stop/start events
    
    	go func() {
    		runtime.LockOSThread()
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

            return timer;
        }
    
        public S getSignal() {
            return signal;
        }
    
        public interface Signal {
            Signal SLEEP = new Signal() {
                @Override
                public boolean await(long period) throws InterruptedException {
                    Thread.sleep(period);
                    return false;
                }
            };
    
            boolean await(long period) throws InterruptedException;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WaitAtEndOfBuildFixture.groovy

            if (gradleVersion < SUPPORTS_BUILD_SERVICES) {
                return """
                    gradle.buildFinished {
                        Thread.sleep(${waitTimeMillis})
                    }
                """
            }
            return """
                interface EndOfBuildWaitParams extends ${BuildServiceParameters.name} {
                    Property<Long> getWaitTimeMillis()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

        responseBody.close()
      }
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
        } catch (e: InterruptedException) {
          Thread.currentThread().interrupt()
        }
      }
    
      private fun interruptLater(delayMillis: Int) {
        val toInterrupt = Thread.currentThread()
        val interruptingCow =
          Thread {
            sleep(delayMillis)
            toInterrupt.interrupt()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. pkg/kubelet/lifecycle/handlers.go

    		}
    		return msg, err
    	case handler.Sleep != nil:
    		err := hr.runSleepHandler(ctx, handler.Sleep.Seconds)
    		var msg string
    		if err != nil {
    			msg = fmt.Sprintf("Sleep lifecycle hook (%d) for Container %q in Pod %q failed - error: %v", handler.Sleep.Seconds, container.Name, format.Pod(pod), err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/testdata/workloadsummary.txt

    local-path-storage local-path-provisioner-6f8956fb48-vvnpn              10.244.0.4  ambient-control-plane None                                TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 21:30:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/net/interface_unix_test.go

    			if e := err.Error(); strings.Contains(e, "No such device") && strings.Contains(e, "gre0") {
    				t.Skip("skipping test; no gre0 device. likely running in container?")
    			}
    			t.Fatal(err)
    		} else {
    			time.Sleep(3 * time.Millisecond)
    		}
    		ift, err := Interfaces()
    		if err != nil {
    			ti.teardown()
    			t.Fatal(err)
    		}
    		for _, ifi := range ift {
    			if ti.name != ifi.Name {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-with-root-disks.sh

    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    	# will be detected as root disk
    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top