Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for runOnce (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubelet/app/options/options.go

    	fs.StringVar(&c.ResolverConfig, "resolv-conf", c.ResolverConfig, "Resolver configuration file used as the basis for the container DNS resolution configuration.")
    
    	fs.BoolVar(&c.RunOnce, "runonce", c.RunOnce, "If true, exit after spawning pods from static pod files or remote urls. Exclusive with --enable-server")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        val source: BufferedSource,
        val sink: BufferedSink,
      ) : Closeable {
        abstract fun cancel()
      }
    
      private inner class WriterTask : Task("$name writer") {
        override fun runOnce(): Long {
          try {
            if (writeOneFrame()) return 0L
          } catch (e: IOException) {
            failWebSocket(e = e, isWriter = true)
          }
          return -1L
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/types.go

    	// ResolverConfig is the resolver configuration file used as the basis
    	// for the container DNS resolution configuration.
    	ResolverConfig string
    	// RunOnce causes the Kubelet to check the API server once for pods,
    	// run those in addition to the pods specified by static pod files, and exit.
    	RunOnce bool
    	// cpuCFSQuota enables CPU CFS quota enforcement for containers that
    	// specify CPU limits
    	CPUCFSQuota bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    				err := r.ipAddressStore.Add(ip)
    				if err != nil {
    					t.Errorf("Unexpected error trying to add IPAddress %s object: %v", ip, err)
    				}
    			}
    
    			err = r.runOnce()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for _, ip := range test.expectedIPs {
    				_, err := r.ipAddressLister.Get(ip)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       */
      private var nextSequenceNumber: Long = 0
    
      private val cleanupQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName Cache") {
          override fun runOnce(): Long {
            synchronized(this@DiskLruCache) {
              if (!initialized || closed) {
                return -1L // Nothing to do.
              }
    
              try {
                trimToSize()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;ZI)V
    HSPLokhttp3/internal/concurrent/TaskQueue$execute$1;-><init>(Ljava/lang/String;ZLkotlin/jvm/functions/Function0;)V
    HSPLokhttp3/internal/concurrent/TaskQueue$execute$1;->runOnce()J
    HSPLokhttp3/internal/concurrent/TaskQueue;-><init>(Lokhttp3/internal/concurrent/TaskRunner;Ljava/lang/String;)V
    HSPLokhttp3/internal/concurrent/TaskQueue;->cancelAllAndDecide$okhttp()Z
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    			// in this case, the container should not to into waiting state immediately because that can make cases like runonce pods actually run
    			// twice. "container never ran" is different than "container ran and failed".  This is handled differently in the kubelet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top