Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 377 for enqueued (0.33 sec)

  1. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * that enqueued messages were not transmitted.
       */
      fun queueSize(): Long
    
      /**
       * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`)
       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private val messageAndCloseQueue = ArrayDeque<Any>()
    
      /** The total size in bytes of enqueued but not yet transmitted messages. */
      private var queueSize = 0L
    
      /** True if we've enqueued a close frame. No further message frames will be enqueued. */
      private var enqueuedClose = false
    
      /** The close code from the peer, or -1 if this web socket has not yet read a close frame. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * #enqueue enqueued} and {@link #dispatch dispatched}.
       */
      public void addListener(L listener, Executor executor) {
        checkNotNull(listener, "listener");
        checkNotNull(executor, "executor");
        listeners.add(new PerListenerQueue<>(listener, executor));
      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/garbagecollector_test.go

    func (t *trackingWorkqueue[T]) queue(item T) {
    	if _, queued := t.pendingMap[item]; queued {
    		// fmt.Printf("already queued: %#v\n", item)
    		return
    	}
    	t.pendingMap[item] = struct{}{}
    	t.pendingList = append(t.pendingList, item)
    }
    func (t *trackingWorkqueue[T]) dequeue(item T) {
    	if _, queued := t.pendingMap[item]; !queued {
    		// fmt.Printf("not queued: %#v\n", item)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * #enqueue enqueued} and {@link #dispatch dispatched}.
       */
      public void addListener(L listener, Executor executor) {
        checkNotNull(listener, "listener");
        checkNotNull(executor, "executor");
        listeners.add(new PerListenerQueue<>(listener, executor));
      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. pkg/controller/deployment/deployment_controller_test.go

    	if err != nil {
    		t.Fatalf("error creating Deployment controller: %v", err)
    	}
    	enqueued := false
    	c.enqueueDeployment = func(d *apps.Deployment) {
    		if d.Name == "foo" {
    			enqueued = true
    		}
    	}
    
    	c.deletePod(logger, pod)
    
    	if !enqueued {
    		t.Errorf("expected deployment %q to be queued after pod deletion", foo.Name)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/mvs/graph.go

    	var queue []module.Version
    	enqueued := make(map[module.Version]bool)
    	for _, m := range g.roots {
    		if m.Version != "none" {
    			queue = append(queue, m)
    			enqueued[m] = true
    		}
    	}
    
    	for len(queue) > 0 {
    		m := queue[0]
    		queue = queue[1:]
    
    		f(m)
    
    		reqs, _ := g.RequiredBy(m)
    		for _, r := range reqs {
    			if !enqueued[r] && r.Version != "none" {
    				queue = append(queue, r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. pilot/pkg/xds/pushqueue.go

    	// the PushRequest will be merged.
    	pending map[*Connection]*model.PushRequest
    
    	// queue maintains ordering of the queue
    	queue []*Connection
    
    	// processing stores all connections that have been Dequeue(), but not MarkDone().
    	// The value stored will be initially be nil, but may be populated if the connection is Enqueue().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 16 01:37:15 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Call.kt

       *
       * @throws IllegalStateException when the call has already been executed.
       */
      fun enqueue(responseCallback: Callback)
    
      /** Cancels the request, if possible. Requests that are already complete cannot be canceled. */
      fun cancel()
    
      /**
       * Returns true if this call has been either [executed][execute] or [enqueued][enqueue]. It is an
       * error to execute a call more than once.
       */
      fun isExecuted(): Boolean
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    				}
    				return
    			}
    
    			enqueue(newObj, false)
    		},
    		DeleteFunc: func(obj interface{}) {
    			// Enqueue
    			enqueue(obj, false)
    		},
    	})
    
    	// Error might be raised if informer was started and stopped already
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top