Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for enqueue (0.14 sec)

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

          if (existingCall.host == host) return existingCall
        }
        return null
      }
    
      /**
       * Cancel all calls currently enqueued or executing. Includes calls executed both
       * [synchronously][Call.execute] and [asynchronously][Call.enqueue].
       */
      fun cancelAll() {
        this.withLock {
          for (call in readyAsyncCalls) {
            call.call.cancel()
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

        status->status = tensorflow::errors::Internal(
            "Unable to find the placeholder node as input to enqueue in the TF "
            "graph.");
        return;
      }
    
      VLOG(1) << "Running the enqueue op";
      TF_Output input{placeholder_op, 0};
      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
                    /*inputs*/ &input, /*input_values*/ &tensor, /*ninputs*/ 1,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
    
        this.threadStarted = threadStarted;
      }
    
      @Override
      public void close() {
        frqRef.enqueue();
        cleanUp();
      }
    
      /**
       * Repeatedly dequeues references from the queue and invokes {@link
       * FinalizableReference#finalizeReferent()} on them until the queue is empty. This method is a
       * no-op if the background thread was created successfully.
       */
      void cleanUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            dispatchListenerEvents();
          }
        }
    
        void enqueueStoppedEvent() {
          listeners.enqueue(STOPPED_EVENT);
        }
    
        void enqueueHealthyEvent() {
          listeners.enqueue(HEALTHY_EVENT);
        }
    
        void enqueueFailedEvent(final Service service) {
          listeners.enqueue(
              new ListenerCallQueue.Event<Listener>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

            dispatchListenerEvents();
          }
        }
    
        void enqueueStoppedEvent() {
          listeners.enqueue(STOPPED_EVENT);
        }
    
        void enqueueHealthyEvent() {
          listeners.enqueue(HEALTHY_EVENT);
        }
    
        void enqueueFailedEvent(final Service service) {
          listeners.enqueue(
              new ListenerCallQueue.Event<Listener>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        responses: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        val latch = CountDownLatch(networkRequests.size)
    
        for (call in networkRequests) {
          call.enqueue(
            object : Callback {
              override fun onFailure(
                call: Call,
                e: IOException,
              ) {
                synchronized(failures) {
                  failures.add(e)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  }
                },
                directExecutor()));
        thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());
        results.add(thingToCancel[0]);
        // Enqueue more than enough tasks to force reentrancy.
        for (int i = 0; i < 5; i++) {
          results.add(serializer.submit(Callables.returning(null), directExecutor()));
        }
    
        manualExecutorTask[0].run();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            ReferenceEntry<Object, Object> entry = segment.getEntry(keyOne, hashOne);
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) entry;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
            assertFalse(map.containsValue(valueOne));
            assertNull(map.get(keyOne));
            assertEquals(1, map.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            ReferenceEntry<Object, Object> entry = segment.getEntry(keyOne, hashOne);
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) entry;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
            assertFalse(map.containsValue(valueOne));
            assertNull(map.get(keyOne));
            assertEquals(1, map.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  }
                },
                directExecutor()));
        thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());
        results.add(thingToCancel[0]);
        // Enqueue more than enough tasks to force reentrancy.
        for (int i = 0; i < 5; i++) {
          results.add(serializer.submit(Callables.returning(null), directExecutor()));
        }
    
        manualExecutorTask[0].run();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top