Home
last modified time | relevance | path

Searched refs:ElementT (Results 1 – 25 of 30) sorted by relevance

12

/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/batching/
DBatchingCallSettings.java66 public final class BatchingCallSettings<ElementT, ElementResultT, RequestT, ResponseT>
68 private final BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT>
73 public BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> getBatchingDescriptor() { in getBatchingDescriptor()
82 private BatchingCallSettings(Builder<ElementT, ElementResultT, RequestT, ResponseT> builder) { in BatchingCallSettings() argument
91 public static <ElementT, ElementResultT, RequestT, ResponseT>
92 Builder<ElementT, ElementResultT, RequestT, ResponseT> newBuilder( in newBuilder()
93 BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor) { in newBuilder() argument
102 public final Builder<ElementT, ElementResultT, RequestT, ResponseT> toBuilder() { in toBuilder()
119 public static class Builder<ElementT, ElementResultT, RequestT, ResponseT>
122 private BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor;
[all …]
DBatcherImpl.java77 public class BatcherImpl<ElementT, ElementResultT, RequestT, ResponseT>
78 implements Batcher<ElementT, ElementResultT> {
81 private final BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT>
88 private Batch<ElementT, ElementResultT, RequestT, ResponseT> currentOpenBatch;
109 BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor, in BatcherImpl() argument
130 BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor, in BatcherImpl() argument
158 BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor, in BatcherImpl() argument
198 PushCurrentBatchRunnable<ElementT, ElementResultT, RequestT, ResponseT> runnable = in BatcherImpl()
211 public ApiFuture<ElementResultT> add(ElementT element) { in add()
263 final Batch<ElementT, ElementResultT, RequestT, ResponseT> accumulatedBatch; in sendOutstanding()
[all …]
DBatchingDescriptor.java83 public interface BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> {
89 BatchingRequestBuilder<ElementT, RequestT> newRequestBuilder(RequestT prototype); in newRequestBuilder()
92 void splitResponse(ResponseT batchResponse, List<BatchEntry<ElementT, ElementResultT>> batch); in splitResponse() argument
95 void splitException(Throwable throwable, List<BatchEntry<ElementT, ElementResultT>> batch); in splitException() argument
98 long countBytes(ElementT element); in countBytes()
DBatchEntry.java47 public abstract class BatchEntry<ElementT, ElementResultT> {
50 public static <ElementT, ElementResultT> BatchEntry<ElementT, ElementResultT> create( in create()
51 @Nullable ElementT element, SettableApiFuture<ElementResultT> resultFuture) { in create()
56 public abstract ElementT getElement(); in getElement()
DBatchingRequestBuilder.java44 public interface BatchingRequestBuilder<ElementT, RequestT> {
47 void add(ElementT element); in add()
DBatcher.java49 public interface Batcher<ElementT, ElementResultT> extends AutoCloseable {
64 ApiFuture<ElementResultT> add(ElementT entry); in add()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_comparator.cc601 template <typename ElementT>
603 se::TypedKernel<se::DeviceMemory<ElementT>, se::DeviceMemory<ElementT>,
609 template <typename ElementT>
627 se::DeviceMemory<ElementT> lhs_typed(lhs); in DeviceCompare()
628 se::DeviceMemory<ElementT> rhs_typed(rhs); in DeviceCompare()
651 std::unique_ptr<ComparisonKernelT<ElementT>> comparison_kernel, in DeviceCompare()
652 (executor->CreateTypedKernel<se::DeviceMemory<ElementT>, in DeviceCompare()
653 se::DeviceMemory<ElementT>, float, uint64_t, in DeviceCompare()
738 template <typename ElementT, typename ComparisonT>
748 DeviceCompare<ElementT>(stream, lhs, rhs, shape, config, kernel_name)); in CompareEqualParameterized()
[all …]
/external/rust/android-crates-io/crates/googletest/src/matchers/
Dsuperset_of_matcher.rs84 impl<ElementT: Debug + Copy + PartialEq, ActualT: Debug + Copy, ExpectedT: Debug> Matcher<ActualT>
87 ActualT: IntoIterator<Item = ElementT>,
88 for<'a> &'a ExpectedT: IntoIterator<Item = &'a ElementT>,
121 fn actual_is_missing<ElementT: PartialEq, ActualT>(actual: ActualT, needle: &ElementT) -> bool in actual_is_missing()
123 ActualT: IntoIterator<Item = ElementT>, in actual_is_missing()
Dsubset_of_matcher.rs83 impl<ElementT: Debug + PartialEq + Copy, ActualT: Debug + Copy, ExpectedT: Debug> Matcher<ActualT>
86 ActualT: IntoIterator<Item = ElementT>,
87 for<'a> &'a ExpectedT: IntoIterator<Item = &'a ElementT>,
121 impl<ElementT: PartialEq, ExpectedT> SubsetOfMatcher<ExpectedT>
123 for<'a> &'a ExpectedT: IntoIterator<Item = &'a ElementT>,
125 fn expected_is_missing(&self, needle: &ElementT) -> bool { in expected_is_missing()
Deach_matcher.rs61 impl<ElementT: Debug + Copy, ActualT: Debug + Copy, MatcherT> Matcher<ActualT>
64 ActualT: IntoIterator<Item = ElementT>,
65 MatcherT: Matcher<ElementT>,
/external/pigweed/pw_bluetooth_sapphire/host/common/public/pw_bluetooth_sapphire/internal/host/common/
Dretire_log.h102 template <size_t NumQuantiles, typename ElementT, size_t... Indexes>
103 [[nodiscard]] std::optional<std::array<ElementT, NumQuantiles>>
105 ElementT Retired::* element_ptr, in ComputeQuantilesImpl()
114 std::vector<ElementT>& elements = in ComputeQuantilesImpl()
115 std::get<std::vector<ElementT>>(quantile_scratchpads_); in ComputeQuantilesImpl()
131 std::array<ElementT, NumQuantiles> quantiles; // output in ComputeQuantilesImpl()
Dbyte_buffer.h256 using ElementT = std::remove_cv_t<typename MemberAsStdArrayT::value_type>; in ReadMember() local
257 static_assert(std::is_trivially_copyable_v<ElementT>, in ReadMember()
259 const size_t offset = base_offset + index * sizeof(ElementT); in ReadMember()
260 ElementT element{}; in ReadMember()
262 /*dst_capacity=*/sizeof(ElementT), in ReadMember()
264 /*copy_size=*/sizeof(ElementT)); in ReadMember()
/external/rust/android-crates-io/crates/googletest/src/
Ddescription.rs233 impl<ElementT: Into<Cow<'static, str>>> FromIterator<ElementT> for Description {
236 T: IntoIterator<Item = ElementT>, in from_iter()
238 Self { elements: iter.into_iter().map(ElementT::into).collect(), ..Default::default() } in from_iter()
/external/cronet/stable/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.find.last/
Dranges.find_last.pass.cpp153 template <class ElementT>
155 ElementT el_;
158 constexpr TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
/external/cronet/tot/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.find.last/
Dranges.find_last.pass.cpp153 template <class ElementT>
155 ElementT el_;
158 constexpr TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
/external/cronet/tot/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.find/
Dfind.pass.cpp106 template <class ElementT>
108 ElementT el_;
111 explicit constexpr TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
Dranges.find.pass.cpp114 template <class ElementT>
116 ElementT el_;
119 TEST_CONSTEXPR TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
/external/cronet/stable/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.find/
Dfind.pass.cpp106 template <class ElementT>
108 ElementT el_;
111 explicit constexpr TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
Dranges.find.pass.cpp114 template <class ElementT>
116 ElementT el_;
119 TEST_CONSTEXPR TriviallyComparable(ElementT el) : el_(el) {} in TriviallyComparable()
/external/pytorch/aten/src/ATen/native/sparse/cuda/
DSparseSemiStructuredTile.cu291 using ElementT = decltype(type); in _sparse_semi_structured_tile()
293 return sparse_semi_structured_tile_typed<ElementT, MetadataCutlass>(input, algo); in _sparse_semi_structured_tile()
296 return sparse_semi_structured_tile_typed<ElementT, MetadataCuSparseLt>(input, algo); in _sparse_semi_structured_tile()
/external/rust/android-crates-io/crates/googletest/src/internal/
Ddescription_renderer.rs162 impl<ElementT: Into<Cow<'static, str>>> FromIterator<ElementT> for List {
165 T: IntoIterator<Item = ElementT>, in from_iter()
/external/openscreen/third_party/abseil/src/absl/types/internal/
Dspan.h82 using ElementT = typename ElementType<C>::type;
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/utility/
Dgrammar_def.hpp96 template <int N, typename ElementT>
/external/pdfium/third_party/abseil-cpp/absl/types/internal/
Dspan.h82 using ElementT = typename ElementType<C>::type;
/external/cronet/tot/third_party/abseil-cpp/absl/types/internal/
Dspan.h83 using ElementT = typename ElementType<C>::type;

12