Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 197 for waitc (0.2 sec)

  1. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    	go c.serviceCIDRInformer.Run(stopCh)
    	if !cache.WaitForNamedCacheSync(controllerName, stopCh, c.serviceCIDRsSynced) {
    		return
    	}
    
    	// wait until first successfully sync
    	// this blocks apiserver startup so poll with a short interval
    	err := wait.PollUntilContextCancel(ctx, 100*time.Millisecond, true, func(ctx context.Context) (bool, error) {
    		syncErr := c.sync()
    		return syncErr == nil, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. manifests/charts/ztunnel/values.yaml

      meshConfig:
        defaultConfig:
          proxyMetadata: {}
    
      # This value defines:
      # 1. how many seconds kube waits for ztunnel pod to gracefully exit before forcibly terminating it (this value)
      # 2. how many seconds ztunnel waits to drain its own connections (this value - 1 sec)
      # Default K8S value is 30 seconds
      terminationGracePeriodSeconds: 30
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/trace/testdata/testprog/main.go

    	wg.Add(2)
    	go cpu10(&wg)
    	go cpu20(&wg)
    	wg.Wait()
    
    	// checkHeapMetrics relies on this.
    	allocHog(25 * time.Millisecond)
    
    	// checkProcStartStop relies on this.
    	var wg2 sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		wg2.Add(1)
    		go func() {
    			defer wg2.Done()
    			cpuHog(50 * time.Millisecond)
    		}()
    	}
    	wg2.Wait()
    
    	// checkSyscalls relies on this.
    	done := make(chan error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/stress-start-stop.go

    		}
    		var tmp [1]byte
    		c.Read(tmp[:])
    		c.Close()
    
    		go func() {
    			runtime.Gosched()
    			select {}
    		}()
    
    		// Unblock helper goroutines and wait them to finish.
    		wp.Write(tmp[:])
    		wp.Write(tmp[:])
    		close(done)
    		wg.Wait()
    	}()
    
    	const iters = 5
    	for i := 0; i < iters; i++ {
    		var w io.Writer
    		if i == iters-1 {
    			w = os.Stdout
    		} else {
    			w = new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    	"fmt"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    	coreinformers "k8s.io/client-go/informers/core/v1"
    	"k8s.io/client-go/kubernetes"
    	listers "k8s.io/client-go/listers/core/v1"
    	"k8s.io/client-go/tools/cache"
    
    	"k8s.io/klog/v2"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/config/mux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package config
    
    import (
    	"context"
    	"sync"
    
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    type merger interface {
    	// Invoked when a change from a source is received.  May also function as an incremental
    	// merger if you wish to consume changes incrementally.  Must be reentrant when more than
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 20:02:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/stacks.go

    	}()
    	var mu sync.Mutex
    	mu.Lock()
    	go func() { // func7
    		mu.Lock()
    		mu.Unlock()
    	}()
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() { // func8
    		wg.Wait()
    	}()
    	cv := sync.NewCond(&sync.Mutex{})
    	go func() { // func9
    		cv.L.Lock()
    		cv.Wait()
    		cv.L.Unlock()
    	}()
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		log.Fatalf("failed to listen: %v", err)
    	}
    	go func() { // func10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    	// the goroutine terminates when 'ctx' is canceled.
    	_ = wait.PollUntilContextCancel(
    		ctx,
    		EncryptionConfigFileChangePollDuration,
    		true,
    		func(ctx context.Context) (bool, error) {
    			// add dummy item to the queue to trigger file content processing.
    			d.queue.Add(workqueueKey)
    
    			// return false to continue polling.
    			return false, nil
    		},
    	)
    
    	wg.Wait()
    }
    
    // runWorker to process file content
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. .github/dependabot.yml

    version: 2
    updates:
    # TODO(b/170636568): Enable Maven updates? Perhaps wait until we can more
    # easily import the generated PRs into our internal repo.
    #  - package-ecosystem: "maven"
    #    directory: "/"
    #    schedule:
    #      interval: "weekly"
    #    groups:
    #      dependencies:
    #        applies-to: version-updates
    #        patterns:
    #          - "*"
    #  - package-ecosystem: "maven"
    #    directory: "/android"
    #    schedule:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 04 17:08:24 UTC 2024
    - 761 bytes
    - Viewed (0)
  10. src/runtime/os_openbsd_syscall2.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
    func exitThread(wait *atomic.Uint32)
    
    //go:noescape
    func obsdsigprocmask(how int32, new sigset) sigset
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigprocmask(how int32, new, old *sigset) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top