Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for enqueue0 (0.14 sec)

  1. tensorflow/cc/training/queue_runner_test.cc

    constexpr char kCloseOp0[] = "close0";
    constexpr char kCloseOp1[] = "close1";
    constexpr char kCountUpToOpName[] = "count";
    constexpr char kDequeueOp0[] = "dequeue0";
    constexpr char kDequeueOp1[] = "dequeue1";
    constexpr char kEnqueueOp0[] = "enqueue0";
    constexpr char kEnqueueOp1[] = "enqueue1";
    constexpr char kIllegalOpName1[] = "would fail";
    constexpr char kIllegalOpName2[] = "fail again";
    constexpr char kQueueName[] = "unit_test";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 21 06:27:51 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  2. 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)
  3. 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/queue/delay.go

    // will block until there is room.
    func DelayQueueBuffer(bufferSize int) DelayQueueOption {
    	return func(queue *delayQueue) {
    		if queue.enqueue != nil {
    			close(queue.enqueue)
    		}
    		queue.enqueue = make(chan *delayTask, bufferSize)
    	}
    }
    
    // DelayQueueWorkers sets the number of background worker goroutines await tasks to execute. Effectively the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        // makeSimpleCall() because it uses the MockResponse enqueued above.
        val callB = client.newCall(Request(server.url("/")))
        callB.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("abc")
        }
      }
    
      private fun makeSimpleCall() {
        server.enqueue(MockResponse(body = "healthy"))
        val callB = client.newCall(Request(server.url("/")))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top