Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 631 for waitc (0.07 sec)

  1. src/runtime/netpoll_solaris.go

    	if portfd == -1 {
    		return gList{}, 0
    	}
    
    	var wait *timespec
    	var ts timespec
    	if delay < 0 {
    		wait = nil
    	} else if delay == 0 {
    		wait = &ts
    	} else {
    		ts.setNsec(delay)
    		if ts.tv_sec > 1e6 {
    			// An arbitrary cap on how long to wait for a timer.
    			// 1e6 s == ~11.5 days.
    			ts.tv_sec = 1e6
    		}
    		wait = &ts
    	}
    
    	var events [128]portevent
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. pkg/volume/testing/volume_host.go

    	}
    	host.subpather = &subpath.FakeSubpath{}
    	host.informerFactory = informers.NewSharedInformerFactory(kubeClient, time.Minute)
    	// Wait until the InitPlugins setup is finished before returning from this setup func
    	if err := host.WaitForKubeletErrNil(); err != nil {
    		t.Fatalf("Failed to wait for kubelet err to be nil while creating fake volume host: %v", err)
    	}
    	return host
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    	ctx := context.Background()
    	terminate := func() {
    		cacher.Stop()
    		server.Terminate(t)
    	}
    
    	// Since some tests depend on the fact that GetList shouldn't fail,
    	// we wait until the error from the underlying storage is consumed.
    	if err := wait.PollInfinite(100*time.Millisecond, wrappedStorage.ErrorsConsumed); err != nil {
    		t.Fatalf("Failed to inject list errors: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/syscall/mkerrors.sh

    #define _DARWIN_USE_64_BIT_INODE
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/ptrace.h>
    #include <sys/socket.h>
    #include <sys/sockio.h>
    #include <sys/sysctl.h>
    #include <sys/mman.h>
    #include <sys/wait.h>
    #include <net/bpf.h>
    #include <net/if.h>
    #include <net/if_types.h>
    #include <net/route.h>
    #include <netinet/in.h>
    #include <netinet/ip.h>
    #include <netinet/ip_mroute.h>
    #include <termios.h>
    '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    		}
    
    		tries++
    		switch {
    		case errors.Is(err, errNotFirstDisk):
    			// Fresh setup, wait for first server to be up.
    			logger.Info("Waiting for the first server to format the drives (elapsed %s)\n", getElapsedTime())
    		case errors.Is(err, errFirstDiskWait):
    			// Fresh setup, wait for other servers to come up.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin.go

    		}
    
    		// Backoff parameters tuned to retry over 140 seconds. Will fail and restart the Kubelet
    		// after max retry steps.
    		initBackoff := wait.Backoff{
    			Steps:    6,
    			Duration: 15 * time.Millisecond,
    			Factor:   6.0,
    			Jitter:   0.1,
    		}
    		err = wait.ExponentialBackoff(initBackoff, func() (bool, error) {
    			klog.V(4).Infof("Initializing migrated drivers on CSINode")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. src/net/sendfile_test.go

    		defer conn.Close()
    		io.Copy(io.Discard, conn)
    	}()
    
    	// Wait for the byte to be copied, meaning that sendfile has
    	// been called on the pipe.
    	<-copied
    
    	// Set a very short deadline on the read end of the pipe.
    	if err := r.SetDeadline(time.Now().Add(time.Microsecond)); err != nil {
    		t.Fatal(err)
    	}
    
    	wg.Add(1)
    	go func() {
    		// Wait for much longer than the deadline and write a byte
    		// to the pipe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/binder.go

    //     This is handled in the scheduler and not here.
    //     f. Asynchronously bind volumes and pod in a separate goroutine
    //     i.  BindPodVolumes() is called first in PreBind phase. It makes all the necessary API updates and waits for
    //     PV controller to fully bind and provision the PVCs. If binding fails, the Pod is sent
    //     back through the scheduler.
    //     ii. After BindPodVolumes() is complete, then the scheduler does the final Pod->Node binding.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    	// closes `doneCh` to indicate to caller to also exit.
    	//
    	// 2. If caller (Evaluate()) has an error, it sends an error
    	// message and waits for this go-routine to quit in
    	// FinishWithError()
    	//
    	// 3. If caller is done, it waits for this go-routine to exit
    	// in Finish()
    
    	quitFlag := false
    	for !quitFlag {
    		select {
    		case data := <-writer.errCh:
    			quitFlag = true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

                previous.assertCanWait();
                if (notReceived.isEmpty()) {
                    // Have received all requests so downstream can wait.
                    return;
                }
                if (!isAutoRelease()) {
                    throw new IllegalStateException(String.format("Cannot wait as no requests have been released. Waiting for %s, received %s.", format(notReceived), format(received)));
                }
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top