Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for squatting (0.16 sec)

  1. src/net/http/main_test.go

    			if strings.Contains(stacks, substr) {
    				bad = what
    			}
    		}
    		if bad == "" {
    			leakReported = false
    			return
    		}
    		// Bad stuff found, but goroutines might just still be
    		// shutting down, so give it some time.
    		time.Sleep(1 * time.Millisecond)
    	}
    	t.Errorf("Test appears to have leaked %s:\n%s", bad, stacks)
    }
    
    // waitCondition waits for fn to return true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    		switch {
    		case errors.IsAlreadyExists(err):
    			// The ServiceExport already exists. Nothing to do.
    			return nil
    		case errors.IsNotFound(err):
    			log.Warnf("%s ServiceExport CRD Not found. Shutting down MCS ServiceExport sync. "+
    				"Please add the CRD then restart the istiod deployment", c.logPrefix())
    			c.mcsSupported = false
    
    			// Do not return the error, so that the queue does not attempt a retry.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/queue/instance.go

    	defer q.cond.L.Unlock()
    	// wait for closing to be set, or a task to be pushed
    	for !q.closing && len(q.tasks) == 0 {
    		q.cond.Wait()
    	}
    
    	if q.closing && len(q.tasks) == 0 {
    		// We must be shutting down.
    		return nil, true
    	}
    	task = q.tasks[0]
    	// Slicing will not free the underlying elements of the array, so explicitly clear them out here
    	q.tasks[0] = nil
    	q.tasks = q.tasks[1:]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/pushqueue.go

    	defer p.cond.L.Unlock()
    
    	// Block until there is one to remove. Enqueue will signal when one is added.
    	for len(p.queue) == 0 && !p.shuttingDown {
    		p.cond.Wait()
    	}
    
    	if len(p.queue) == 0 {
    		// We must be shutting down.
    		return nil, nil, true
    	}
    
    	con = p.queue[0]
    	// The underlying array will still exist, despite the slice changing, so the object may not GC without this
    	// See https://github.com/grpc/grpc-go/issues/4758
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 16 01:37:15 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. pkg/controller/certificates/rootcacertpublisher/publisher.go

    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting root CA cert publisher controller")
    	defer logger.Info("Shutting down root CA cert publisher controller")
    
    	if !cache.WaitForNamedCacheSync("crt configmap", ctx.Done(), c.cmListerSynced) {
    		return
    	}
    
    	for i := 0; i < workers; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/network_test.go

    		workingDNSServer.Server.PacketConn.LocalAddr().String(),
    	}
    	t.Cleanup(func() {
    		errW := workingDNSServer.Shutdown()
    		errF := failingDNSServer.Shutdown()
    		if errW != nil || errF != nil {
    			t.Logf("failed shutting down fake dns servers")
    		}
    	})
    
    	meshNetworks := mesh.NewFixedNetworksWatcher(nil)
    	xdsUpdater := xdsfake.NewFakeXDS()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    		return result
    	}
    
    	counter.Open()
    
    	if _, err := os.Stat(telemetry.Default.LocalDir()); err != nil {
    		// There was a problem statting LocalDir, which is needed for both
    		// crash monitoring and counter uploading. Most likely, there was an
    		// error creating telemetry.LocalDir in the counter.Open call above.
    		// Don't start the child.
    		return result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/cc/training/queue_runner.cc

          first_iteration = false;
        }
      }
      bool last_run = false;
      {
        mutex_lock l(mu_);
        runs_--;
        last_run = (runs_ == 0);
      }
    
      // Close the queue unless the coordinator is shutting down since the cancel op
      // will be run anyway in this case.
      if (IsQueueClosed(status) && (!coord_ || !coord_->ShouldStop())) {
        if (last_run && !close_op_name_.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting ClusterRoleAggregator controller")
    	defer logger.Info("Shutting down ClusterRoleAggregator controller")
    
    	if !cache.WaitForNamedCacheSync("ClusterRoleAggregator", ctx.Done(), c.clusterRolesSynced) {
    		return
    	}
    
    	for i := 0; i < workers; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    func (c *DynamicCertKeyPairContent) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.InfoS("Starting controller", "name", c.name)
    	defer klog.InfoS("Shutting down controller", "name", c.name)
    
    	// doesn't matter what workers say, only start one.
    	go wait.Until(c.runWorker, time.Second, ctx.Done())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top