Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for runOnce (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    		return
    	}
    
    	// doesn't matter what workers say, only start one.
    	go wait.Until(c.runWorker, time.Second, ctx.Done())
    
    	<-ctx.Done()
    }
    
    // // RunOnce runs a single sync loop
    func (c *RequestHeaderAuthRequestController) RunOnce(ctx context.Context) error {
    	configMap, err := c.client.CoreV1().ConfigMaps(c.configmapNamespace).Get(ctx, c.configmapName, metav1.GetOptions{})
    	switch {
    	case errors.IsNotFound(err):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/loader.cc

    // session dies. With this Callable mechanism, that memory will be released
    // right after ReleaseCallable returns.
    //
    // However, the resource manager state remains.
    Status RunOnce(const RunOptions& run_options,
                   const std::vector<std::pair<string, Tensor>>& inputs,
                   const std::vector<string>& output_tensor_names,
                   const std::vector<string>& target_node_names,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

        tcpConnectsInFlight += plan
        val taskName = "$okHttpName connect ${routePlanner.address.url.redact()}"
        taskRunner.newQueue().schedule(
          object : Task(taskName) {
            override fun runOnce(): Long {
              val connectResult =
                try {
                  plan.connectTcp()
                } catch (e: Throwable) {
                  ConnectResult(plan, throwable = e)
                }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      private val cleanupTask =
        object : Task("$okHttpName ConnectionPool connection closer") {
          override fun runOnce(): Long = closeConnections(System.nanoTime())
        }
    
      private fun AddressState.scheduleOpener() {
        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server.go

    		klog.ErrorS(err, "Failed to set rlimit on max file handles")
    	}
    
    	// process pods and exit.
    	if runOnce {
    		if _, err := k.RunOnce(podCfg.Updates()); err != nil {
    			return fmt.Errorf("runonce failed: %w", err)
    		}
    		klog.InfoS("Started kubelet as runonce")
    	} else {
    		startKubelet(k, podCfg, &kubeServer.KubeletConfiguration, kubeDeps, kubeServer.EnableServer)
    		klog.InfoS("Started kubelet")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := v1.Convert_Pointer_string_To_string(&in.ResolverConfig, &out.ResolverConfig, s); err != nil {
    		return err
    	}
    	out.RunOnce = in.RunOnce
    	if err := v1.Convert_Pointer_bool_To_bool(&in.CPUCFSQuota, &out.CPUCFSQuota, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/controller/repairip.go

    		go wait.Until(r.ipWorker, r.workerLoopPeriod, stopCh)
    		go wait.Until(r.svcWorker, r.workerLoopPeriod, stopCh)
    	}
    
    	<-stopCh
    }
    
    // runOnce verifies the state of the ClusterIP allocations and returns an error if an unrecoverable problem occurs.
    func (r *RepairIPAddress) runOnce() error {
    	return retry.RetryOnConflict(retry.DefaultBackoff, r.doRunOnce)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        val currentThread = Thread.currentThread()
        val oldName = currentThread.name
        currentThread.name = task.name
    
        var delayNanos = -1L
        try {
          delayNanos = task.runOnce()
        } finally {
          lock.withLock {
            afterRun(task, delayNanos)
          }
          currentThread.name = oldName
        }
      }
    
      private fun afterRun(
        task: Task,
        delayNanos: Long,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				MaxPods:                          0,
    				PodCIDR:                          "",
    				PodPidsLimit:                     utilpointer.Int64(0),
    				ResolverConfig:                   utilpointer.String(""),
    				RunOnce:                          false,
    				CPUCFSQuota:                      utilpointer.Bool(false),
    				CPUCFSQuotaPeriod:                &zeroDuration,
    				NodeStatusMaxImages:              utilpointer.Int32(0),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top