- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 779 for sweep (0.06 sec)
-
internal/config/heal/heal.go
// Config represents the heal settings. type Config struct { // Bitrot will perform bitrot scan on local disk when checking objects. Bitrot string `json:"bitrotscan"` // maximum sleep duration between objects to slow down heal operation. Sleep time.Duration `json:"sleep"` IOCount int `json:"iocount"` DriveWorkers int `json:"drive_workers"` // Cached value from Bitrot field cache struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy
file("src/test/java/example/MyTest.java") << """ package example; public class MyTest { @org.junit.Test public void foo() throws Exception { Thread.sleep(100); // sleep for a moment to ensure test duration is > 0 (due to limited clock resolution) org.junit.Assert.assertEquals(1, 1); } } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 21.5K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go
HTTPGet *HTTPGetActionApplyConfiguration `json:"httpGet,omitempty"` TCPSocket *TCPSocketActionApplyConfiguration `json:"tcpSocket,omitempty"` Sleep *SleepActionApplyConfiguration `json:"sleep,omitempty"` } // LifecycleHandlerApplyConfiguration constructs an declarative configuration of the LifecycleHandler type for use with // apply.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 11:50:33 UTC 2023 - 3K bytes - Viewed (0) -
test/fixedbugs/issue19182.go
go func() { for { atomic.AddUint64(&a, uint64(1)) } }() time.Sleep(10 * time.Millisecond) // Short sleep is enough in passing case i, val := 0, atomic.LoadUint64(&a) for ; val == 0 && i < 100; val, i = atomic.LoadUint64(&a), i+1 { time.Sleep(100 * time.Millisecond) } if val == 0 { fmt.Printf("Failed to observe atomic increment after %d tries\n", i) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 737 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java
ThreadUtil.sleep(delayMillisAfterProcessing); } } /* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.interval.impl.AbstractIntervalController#delayAtNoUrlInQueue * () */ @Override protected void delayAtNoUrlInQueue() { if (delayMillisAtNoUrlInQueue > 0) { ThreadUtil.sleep(delayMillisAtNoUrlInQueue); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3K bytes - Viewed (0) -
test/fixedbugs/issue38093.go
"os" "syscall/js" "time" ) func main() { ch1 := make(chan struct{}) go func() { for { time.Sleep(5 * time.Millisecond) ch1 <- struct{}{} } }() go func() { for { time.Sleep(8 * time.Millisecond) ch1 <- struct{}{} } }() go func() { time.Sleep(2 * time.Second) os.Exit(0) }() for range ch1 { ch2 := make(chan struct{}, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 861 bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gomaxprocs.go
// GOMAXPROCS calls. go func() { for { runtime.GC() time.Sleep(1 * time.Millisecond) } }() // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } // Run GOMAXPROCS a bunch of times, up and down. for i := 1; i <= 16; i *= 2 { runtime.GOMAXPROCS(i) time.Sleep(1 * time.Millisecond) } for i := 16; i >= 1; i /= 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 967 bytes - Viewed (0) -
src/time/sleep_test.go
go func(i int) { timer := AfterFunc(2*Second, func() { t.Errorf("timer %d was not stopped", i) }) Sleep(1 * Second) timer.Stop() }(i) } Sleep(3 * Second) } func TestSleepZeroDeadlock(t *testing.T) { // Sleep(0) used to hang, the sequence of events was as follows. // Sleep(0) sets G's status to Gwaiting, but then immediately returns leaving the status.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ThreadUtil.java
* */ public abstract class ThreadUtil { private static final Logger logger = Logger.getLogger(ThreadUtil.class); public static void sleep(final long millis) { if (millis < 1L) { return; } try { Thread.sleep(millis); } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/bucket/replication/sio-error.sh
./minio server --address "127.0.0.1:$((9100 + i))" ${args2[@]} & # | tee /tmp/minio/node.$i & done sleep 10 ./mc alias set myminio1 http://localhost:9001 minioadmin minioadmin ./mc alias set myminio2 http://localhost:9101 minioadmin minioadmin ./mc ready myminio1 ./mc ready myminio2 sleep 1 ./mc mb myminio1/testbucket/ --with-lock ./mc mb myminio2/testbucket/ --with-lock
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 1.7K bytes - Viewed (0)