Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 277 for enqueue0 (0.24 sec)

  1. pkg/kubelet/util/queue/work_queue.go

    // considered ready to process if the timestamp has expired.
    type WorkQueue interface {
    	// GetWork dequeues and returns all ready items.
    	GetWork() []types.UID
    	// Enqueue inserts a new item or overwrites an existing item.
    	Enqueue(item types.UID, delay time.Duration)
    }
    
    type basicWorkQueue struct {
    	clock clock.Clock
    	lock  sync.Mutex
    	queue map[types.UID]time.Time
    }
    
    var _ WorkQueue = &basicWorkQueue{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        }
      }
    
      @Test
      fun none() {
        server.enqueue(MockResponse())
        client.newCall(request().build()).execute()
        applicationLogs.assertNoMoreLogs()
        networkLogs.assertNoMoreLogs()
      }
    
      @Test
      fun basicGet() {
        setLevel(Level.BASIC)
        server.enqueue(MockResponse())
        client.newCall(request().build()).execute()
        applicationLogs
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * map built by MapMaker) no longer has a strong reference to this object, the garbage collector
       * will reclaim it and enqueue the phantom reference. The enqueued reference will trigger the
       * Finalizer to stop.
       *
       * If this library is loaded in the system class loader, FinalizableReferenceQueue can load
       * Finalizer directly with no problems.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      private void enqueueStartingEvent() {
        listeners.enqueue(STARTING_EVENT);
      }
    
      private void enqueueRunningEvent() {
        listeners.enqueue(RUNNING_EVENT);
      }
    
      private void enqueueStoppingEvent(final State from) {
        if (from == State.STARTING) {
          listeners.enqueue(STOPPING_FROM_STARTING_EVENT);
        } else if (from == State.RUNNING) {
          listeners.enqueue(STOPPING_FROM_RUNNING_EVENT);
        } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/AsyncCacheAccess.java

         */
        void enqueue(Runnable task);
    
        /**
         * Runs the given action, blocking until the result is available.
         *
         * All actions submitted using {@link #enqueue(Runnable)} must complete before the action is executed.
         */
        <T> T read(Supplier<T> task);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val eventListener = RecordingEventListener()
    
        enableTls()
    
        client = client.newBuilder().eventListenerFactory(clientTestRule.wrap(eventListener)).build()
    
        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
        val request = Request.Builder().url(server.url("/")).build()
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

      }
    
      @Test fun `untrusted host in insecureHosts connects successfully`() {
        val serverCertificates = platform.localhostHandshakeCertificates()
        server.useHttps(serverCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
        val clientCertificates =
          HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost(server.hostName)
            .build()
    
        val client =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    	clusterRoleInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			c.enqueue()
    		},
    		UpdateFunc: func(old, cur interface{}) {
    			c.enqueue()
    		},
    		DeleteFunc: func(uncast interface{}) {
    			c.enqueue()
    		},
    	})
    	return c
    }
    
    func (c *ClusterRoleAggregationController) syncClusterRole(ctx context.Context, key string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/ingress/status.go

    		igSelector := getIngressGatewaySelector(ingressSelector, "")
    		if istiolabels.Instance(igSelector).SubsetOf(o.GetLabels()) {
    			// Ingress selector matches this pod, enqueue everything
    			c.enqueueAll()
    		}
    	}))
    	// Mesh may have changed ingress fields, enqueue everything
    	c.meshConfig.AddMeshHandler(c.enqueueAll)
    	return c
    }
    
    // runningAddresses returns a list of IP addresses and/or FQDN in the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/graph_builder.go

    			}
    			logger.V(5).Info("add virtual item", "identity", ownerNode.identity)
    			gb.uidToNode.Write(ownerNode)
    		}
    		ownerNode.addDependent(n)
    		if !ok {
    			// Enqueue the virtual node into attemptToDelete.
    			// The garbage processor will enqueue a virtual delete
    			// event to delete it from the graph if API server confirms this
    			// owner doesn't exist.
    			gb.attemptToDelete.Add(ownerNode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top