Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 787 for waits (0.04 sec)

  1. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    	<-c.syncedInitialSet
    }
    
    func (c *crdRegistrationController) runWorker() {
    	// hot loop until we're told to stop.  processNextWorkItem will automatically wait until there's work
    	// available, so we don't worry about secondary waits
    	for c.processNextWorkItem() {
    	}
    }
    
    // processNextWorkItem deals with one key off the queue.  It returns false when it's time to quit.
    func (c *crdRegistrationController) processNextWorkItem() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/sync/oncefunc_test.go

    				// is not kept alive after the first call to f.
    				t.Fatal("wrapped function should be garbage collected, but still live")
    			}
    			f()
    		})
    	}
    }
    
    // gcwaitfin performs garbage collection and waits for all finalizers to run.
    func gcwaitfin() {
    	runtime.GC()
    	runtime_blockUntilEmptyFinalizerQueue(math.MaxInt64)
    }
    
    //go:linkname runtime_blockUntilEmptyFinalizerQueue runtime.blockUntilEmptyFinalizerQueue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig.go

    	}
    
    	installLog.Infof("Created CNI config %s", cniConfigFilepath)
    	installLog.Debugf("CNI config: %s", pluginConfig)
    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    // Or until cancelled by parent context
    func getCNIConfigFilepath(ctx context.Context, cniConfName, mountedCNINetDir string, chained bool) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/options/options.go

    	minimumDrainDurationEnv = env.Register("MINIMUM_DRAIN_DURATION",
    		5*time.Second,
    		"The minimum duration for which agent waits before it checks for active connections and terminates proxy "+
    			"when number of active connections become zero").Get()
    
    	exitOnZeroActiveConnectionsEnv = env.Register("EXIT_ON_ZERO_ACTIVE_CONNECTIONS",
    		false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. pkg/proxy/servicechangetracker.go

    	// last Update.
    	UpdatedServices sets.Set[types.NamespacedName]
    
    	// DeletedUDPClusterIPs holds stale (no longer assigned to a Service) Service IPs
    	// that had UDP ports. Callers can use this to abort timeout-waits or clear
    	// connection-tracking information.
    	DeletedUDPClusterIPs sets.Set[string]
    }
    
    // HealthCheckNodePorts returns a map of Service names to HealthCheckNodePort values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/test/mockopenidserver.go

    		},
    	}
    	wait := 10 * time.Millisecond
    	for try := 0; try < 10; try++ {
    		// Try to call the server
    		res, err := httpClient.Get(fmt.Sprintf("%s/.well-known/openid-configuration", ms.URL))
    		if err != nil {
    			log.Infof("Server not yet serving: %v", err)
    			// Retry after some sleep.
    			wait *= 2
    			time.Sleep(wait)
    			continue
    		}
    		res.Body.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/state.go

    	return s, nil
    }
    
    // CloseAndWait cancels the State's Context and waits for any background commands to
    // finish. If any remaining background command ended in an unexpected state,
    // Close returns a non-nil error.
    func (s *State) CloseAndWait(log io.Writer) error {
    	s.cancel()
    	wait, err := Wait().Run(s)
    	if wait != nil {
    		panic("script: internal error: Wait unexpectedly returns its own WaitFunc")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. src/runtime/sigqueue.go

    				}
    			}
    		}
    
    		// Incorporate updates from sender into local copy.
    		for i := range sig.mask {
    			sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
    		}
    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/env.h

                                                    const char* thread_name,
                                                    void (*work_func)(void*),
                                                    void* param);
    
    // Waits for the given thread to finish execution, then deletes it.
    TF_CAPI_EXPORT extern void TF_JoinThread(TF_Thread* thread);
    
    // \brief Load a dynamic library.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  10. src/net/rpc/client.go

    		if cap(done) == 0 {
    			log.Panic("rpc: done channel is unbuffered")
    		}
    	}
    	call.Done = done
    	client.send(call)
    	return call
    }
    
    // Call invokes the named function, waits for it to complete, and returns its error status.
    func (client *Client) Call(serviceMethod string, args any, reply any) error {
    	call := <-client.Go(serviceMethod, args, reply, make(chan *Call, 1)).Done
    	return call.Error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top