Home
last modified time | relevance | path

Searched refs:PriorityQueue (Results 1 – 25 of 93) sorted by relevance

1234

/external/libchrome/base/task_scheduler/
Dpriority_queue.cc19 class PriorityQueue::SequenceAndSortKey {
61 PriorityQueue::Transaction::Transaction(PriorityQueue* outer_queue) in Transaction()
65 PriorityQueue::Transaction::~Transaction() = default;
67 void PriorityQueue::Transaction::Push( in Push()
73 const SequenceSortKey& PriorityQueue::Transaction::PeekSortKey() const { in PeekSortKey()
78 scoped_refptr<Sequence> PriorityQueue::Transaction::PopSequence() { in PopSequence()
86 const_cast<PriorityQueue::SequenceAndSortKey&>( in PopSequence()
93 bool PriorityQueue::Transaction::IsEmpty() const { in IsEmpty()
97 size_t PriorityQueue::Transaction::Size() const { in Size()
101 PriorityQueue::PriorityQueue() = default;
[all …]
Dpriority_queue.h23 class BASE_EXPORT PriorityQueue {
62 friend class PriorityQueue;
64 explicit Transaction(PriorityQueue* outer_queue);
69 PriorityQueue* const outer_queue_;
74 PriorityQueue();
76 ~PriorityQueue();
98 DISALLOW_COPY_AND_ASSIGN(PriorityQueue);
Dpriority_queue_unittest.cc31 explicit ThreadBeginningTransaction(PriorityQueue* priority_queue) in ThreadBeginningTransaction()
37 std::unique_ptr<PriorityQueue::Transaction> transaction = in Run()
50 PriorityQueue* const priority_queue_;
84 PriorityQueue pq; in TEST()
131 PriorityQueue pq_a; in TEST()
132 PriorityQueue pq_b; in TEST()
136 std::unique_ptr<PriorityQueue::Transaction> transaction_a = in TEST()
138 std::unique_ptr<PriorityQueue::Transaction> transaction_b = in TEST()
148 PriorityQueue pq; in TEST()
151 std::unique_ptr<PriorityQueue::Transaction> transaction = in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dpriority_queue.cc36 PriorityQueue::PriorityQueue(int32 capacity, in PriorityQueue() function in tensorflow::PriorityQueue
42 Status PriorityQueue::Initialize() { in Initialize()
62 void PriorityQueue::DequeueLocked(OpKernelContext* ctx, Tuple* tuple) { in DequeueLocked()
71 void PriorityQueue::TryEnqueue(const Tuple& tuple, OpKernelContext* ctx, in TryEnqueue()
117 Status PriorityQueue::GetElementComponentFromBatch( in GetElementComponentFromBatch()
118 const PriorityQueue::Tuple& tuple, int index, int component, in GetElementComponentFromBatch()
130 void PriorityQueue::TryEnqueueMany(const Tuple& tuple, OpKernelContext* ctx, in TryEnqueueMany()
198 void PriorityQueue::TryDequeue(OpKernelContext* ctx, in TryDequeue()
239 void PriorityQueue::TryDequeueMany(int num_elements, OpKernelContext* ctx, in TryDequeueMany()
389 Status PriorityQueue::MatchesNodeDef(const NodeDef& node_def) { in MatchesNodeDef()
[all …]
Dpriority_queue.h46 class PriorityQueue
51 PriorityQueue(int32 capacity, const DataTypeVector& component_dtypes,
77 ~PriorityQueue() override {} in ~PriorityQueue()
88 TF_DISALLOW_COPY_AND_ASSIGN(PriorityQueue);
Dpriority_queue_op.cc55 PriorityQueue* queue = new PriorityQueue(capacity_, component_types_, in CreateResource()
/external/guava/android/guava/src/com/google/common/collect/
DQueues.java25 import java.util.PriorityQueue;
225 public static <E extends Comparable> PriorityQueue<E> newPriorityQueue() { in newPriorityQueue()
226 return new PriorityQueue<E>(); in newPriorityQueue()
237 public static <E extends Comparable> PriorityQueue<E> newPriorityQueue( in newPriorityQueue()
240 return new PriorityQueue<E>((Collection<? extends E>) elements); in newPriorityQueue()
242 PriorityQueue<E> queue = new PriorityQueue<E>(); in newPriorityQueue()
/external/guava/guava/src/com/google/common/collect/
DQueues.java25 import java.util.PriorityQueue;
225 public static <E extends Comparable> PriorityQueue<E> newPriorityQueue() { in newPriorityQueue()
226 return new PriorityQueue<E>(); in newPriorityQueue()
237 public static <E extends Comparable> PriorityQueue<E> newPriorityQueue( in newPriorityQueue()
240 return new PriorityQueue<E>((Collection<? extends E>) elements); in newPriorityQueue()
242 PriorityQueue<E> queue = new PriorityQueue<E>(); in newPriorityQueue()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DPriorityTaskManager.java20 import java.util.PriorityQueue;
46 private final PriorityQueue<Integer> queue;
50 queue = new PriorityQueue<>(10, Collections.reverseOrder()); in PriorityTaskManager()
/external/tensorflow/tensorflow/python/kernel_tests/
Dpriority_queue_test.py43 q = data_flow_ops.PriorityQueue(2000, (dtypes.string, dtypes.string), (
77 q = data_flow_ops.PriorityQueue(2000, (dtypes.string, dtypes.string), (
126 q = data_flow_ops.PriorityQueue(10, (dtypes.int64), (()))
179 q = data_flow_ops.PriorityQueue(2000, (dtypes.int64), (()))
238 q = data_flow_ops.PriorityQueue(2000, (dtypes.string, dtypes.string), (
287 q = data_flow_ops.PriorityQueue(2000, (dtypes.string, dtypes.string), (
308 q = data_flow_ops.PriorityQueue(2000, (dtypes.int64), (()))
316 q = data_flow_ops.PriorityQueue(2000, (dtypes.int64), (()))
325 q = data_flow_ops.PriorityQueue(2000, (dtypes.string), (()))
333 q = data_flow_ops.PriorityQueue(2000, (dtypes.string,), (()))
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPriorityQueue.h27 class PriorityQueue : public std::priority_queue<T, Sequence, Compare> {
29 explicit PriorityQueue(const Compare &compare = Compare(),
35 PriorityQueue(Iterator begin, Iterator end,
/external/llvm-project/llvm/include/llvm/ADT/
DPriorityQueue.h27 class PriorityQueue : public std::priority_queue<T, Sequence, Compare> {
29 explicit PriorityQueue(const Compare &compare = Compare(),
35 PriorityQueue(Iterator begin, Iterator end,
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java28 import java.util.PriorityQueue;
88 final PriorityQueue<E> q;
103 q = new PriorityQueue<E>(); in MonitorBasedPriorityBlockingQueue()
114 q = new PriorityQueue<E>(initialCapacity, null); in MonitorBasedPriorityBlockingQueue()
128 q = new PriorityQueue<E>(initialCapacity, comparator); in MonitorBasedPriorityBlockingQueue()
143 q = new PriorityQueue<E>(c); in MonitorBasedPriorityBlockingQueue()
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java28 import java.util.PriorityQueue;
88 final PriorityQueue<E> q;
103 q = new PriorityQueue<E>(); in MonitorBasedPriorityBlockingQueue()
114 q = new PriorityQueue<E>(initialCapacity, null); in MonitorBasedPriorityBlockingQueue()
128 q = new PriorityQueue<E>(initialCapacity, comparator); in MonitorBasedPriorityBlockingQueue()
143 q = new PriorityQueue<E>(c); in MonitorBasedPriorityBlockingQueue()
/external/llvm/include/llvm/ADT/
DPriorityQueue.h28 class PriorityQueue : public std::priority_queue<T, Sequence, Compare> {
30 explicit PriorityQueue(const Compare &compare = Compare(),
36 PriorityQueue(Iterator begin, Iterator end,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_PriorityQueue.pbtxt2 graph_op_name: "PriorityQueue"
48 Note that the PriorityQueue requires the first component of any element
51 and DequeueMany) on a PriorityQueue will all require (resp. output) one extra
Dapi_def_PriorityQueueV2.pbtxt4 name: "PriorityQueue"
50 Note that the PriorityQueue requires the first component of any element
53 and DequeueMany) on a PriorityQueue will all require (resp. output) one extra
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterMobileNetTest.java25 import java.util.PriorityQueue;
123 PriorityQueue<Map.Entry<Integer, Float>> pq = in getTopKLabels()
124 new PriorityQueue<>( in getTopKLabels()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCeaDecoder.java29 import java.util.PriorityQueue;
41 private final PriorityQueue<CeaInputBuffer> queuedInputBuffers;
57 queuedInputBuffers = new PriorityQueue<>(); in CeaDecoder()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/gpu/
DGpuDelegateTest.java26 import java.util.PriorityQueue;
125 PriorityQueue<Map.Entry<Integer, Float>> pq = in getTopKLabels()
126 new PriorityQueue<>( in getTopKLabels()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicClassifier.java31 import java.util.PriorityQueue;
60 private final PriorityQueue<Map.Entry<Integer, Float>> sortedLabels =
61 new PriorityQueue<>(
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DTensorFlowImageClassifier.java28 import java.util.PriorityQueue;
159 PriorityQueue<Recognition> pq = in recognizeImage()
160 new PriorityQueue<Recognition>( in recognizeImage()
DTensorFlowObjectDetectionAPIModel.java29 import java.util.PriorityQueue;
174 final PriorityQueue<Recognition> pq = in recognizeImage()
175 new PriorityQueue<Recognition>( in recognizeImage()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java8 import java.util.PriorityQueue;
62 private final PriorityQueue<ScheduledRunnable> runnables = new PriorityQueue<>();
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-priority-queue.pbtxt1 path: "tensorflow.PriorityQueue"
3 is_instance: "<class \'tensorflow.python.ops.data_flow_ops.PriorityQueue\'>"

1234