Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,377 for waitc (0.06 sec)

  1. operator/pkg/util/progress/progress.go

    	comps := make([]string, 0, len(p.components))
    	wait := make([]string, 0, len(p.components))
    	for c, l := range p.components {
    		comps = append(comps, name.UserFacingComponentName(name.ComponentName(c)))
    		wait = append(wait, l.waitingResources()...)
    	}
    	sort.Strings(comps)
    	sort.Strings(wait)
    	msg := fmt.Sprintf(`Processing resources for %s.`, strings.Join(comps, ", "))
    	if len(wait) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pkg/volume/util/nestedpendingoperations/nestedpendingoperations_test.go

    		t.Errorf("Error waiting for GoRoutineMap.Wait: %v", err)
    	}
    }
    
    func Test_NestedPendingOperations_Positive_WaitEmptyWithExpBackoff(t *testing.T) {
    	// Test than Wait() on empty GoRoutineMap always succeeds without blocking
    	// Arrange
    	grm := NewNestedPendingOperations(true /* exponentialBackOffOnError */)
    
    	// Act
    	waitDoneCh := make(chan interface{}, 1)
    	go func() {
    		grm.Wait()
    		waitDoneCh <- true
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 36.1K bytes
    - Viewed (0)
  3. src/net/tcpsock_unix_test.go

    					t.Errorf("#%d: %v", i, err)
    				}
    			}
    			c.Close()
    		}(i)
    	}
    
    	ln.Close()
    	wg.Wait()
    }
    
    // Issue 19289.
    // Test that a canceled Dial does not cause a subsequent Dial to succeed.
    func TestTCPSpuriousConnSetupCompletionWithCancel(t *testing.T) {
    	mustHaveExternalNetwork(t)
    
    	defer dnsWaitGroup.Wait()
    	t.Parallel()
    	const tries = 10000
    	var wg sync.WaitGroup
    	wg.Add(tries * 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    		go func() {
    			defer waitGroup.Done()
    			wait.Until(c.runWorker, time.Second, ctx.Done())
    		}()
    	}
    
    	klog.Infof("Started %v workers for %v", c.options.Workers, c.options.Name)
    
    	// Wait for context cancel.
    	<-ctx.Done()
    
    	// Forcefully shutdown workqueue. Drop any enqueued items.
    	c.queue.ShutDown()
    
    	// Workqueue shutdown signals for workers to stop. Wait for all workers to
    	// clean up
    	waitGroup.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/erasure.go

    				w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    				return w.Run(func() error {
    					wait := deleteCleanupSleeper.Timer(ctx)
    					removeAll(pathJoin(drivePath, minioMetaTmpDeletedBucket, ddir))
    					wait()
    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. src/runtime/stubs2.go

    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    // the stack is safe to reclaim.
    //
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    //sys	wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	wpid, err = wait4(pid, &status, options, rusage)
    	if wstatus != nil {
    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb_unix_test.go

    		t.Fatalf("error starting test binary: %v", err)
    	}
    
    	pid := cmd.Process.Pid
    
    	err = cmd.Wait()
    	t.Logf("child output:\n%s", output.String())
    	if err == nil {
    		t.Fatalf("Wait succeeded, want SIGABRT")
    	}
    	ee, ok := err.(*exec.ExitError)
    	if !ok {
    		t.Fatalf("Wait err got %T %v, want exec.ExitError", ee, ee)
    	}
    	ws, ok := ee.Sys().(syscall.WaitStatus)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. pkg/kubelet/pluginmanager/plugin_manager_test.go

    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func TestPluginRegistration(t *testing.T) {
    	defer cleanup(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/health.go

    	if client.Discovery().RESTClient() == nil {
    		fmt.Printf("[upgrade/health] Would create the Job with the prefix %q in namespace %q and wait until it completes\n", prefix, ns)
    		return nil
    	}
    
    	// Check if there is at least one Node where a Job's Pod can schedule. If not, skip this preflight check.
    	err = wait.PollUntilContextTimeout(ctx, time.Second*1, timeout, true, func(_ context.Context) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top