Home
last modified time | relevance | path

Searched refs:Span (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h330 absl::Span<const int64> broadcast_sizes);
333 const absl::Span<const int64> out_dim_size,
334 const absl::Span<const int64> broadcast_dimensions);
339 XlaOp Reshape(const XlaOp& operand, absl::Span<const int64> dimensions,
340 absl::Span<const int64> new_sizes);
342 XlaOp Reshape(const XlaOp& operand, absl::Span<const int64> new_sizes);
344 XlaOp Collapse(const XlaOp& operand, absl::Span<const int64> dimensions);
346 XlaOp Slice(const XlaOp& operand, absl::Span<const int64> start_indices,
347 absl::Span<const int64> limit_indices,
348 absl::Span<const int64> strides);
[all …]
/external/opencensus-java/checker-framework/stubs/
Dorg-springframework-cloud-sleuth.astub5 import org.springframework.cloud.sleuth.Span;
8 @Nullable Span close(@Nullable Span span);
9 @Nullable Span continueSpan(@Nullable Span span);
10 @Nullable Span createSpan(String name);
11 @Nullable Span createSpan(String name, @Nullable Sampler sampler);
12 @Nullable Span createSpan(String name, @Nullable Span parent);
13 @Nullable Span detach(@Nullable Span span);
14 @Nullable Span getCurrentSpan();
17 class Span {
18 Span (Span span, @Nullable Span parent);
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracerTest.java29 import org.springframework.cloud.sleuth.Span;
55 Span root = tracer.createSpan("root"); in testRootSpanAndClose()
58 Span parent = tracer.close(root); in testRootSpanAndClose()
64 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndClose()
68 Span parent = tracer.close(spans[i]); in testSpanStackAndClose()
75 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndCloseOutOfOrder()
87 Span parent = tracer.detach(null); in testDetachNull()
93 Span root = tracer.createSpan("root"); in testRootSpanAndDetach()
96 Span parent = tracer.detach(root); in testRootSpanAndDetach()
102 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndDetach()
[all …]
DOpenCensusSleuthSpanContextHolderTest.java21 import io.opencensus.trace.Span;
44 org.springframework.cloud.sleuth.Span sleuthSpan = in testFromSleuthSampled()
56 org.springframework.cloud.sleuth.Span sleuthSpan = in testFromSleuthUnsampled()
68 org.springframework.cloud.sleuth.Span[] sleuthSpans = createSleuthSpans(4); in testSpanStackSimple()
85 org.springframework.cloud.sleuth.Span[] sleuthSpans = createSleuthSpans(4); in testSpanStackAutoClose()
103 final org.springframework.cloud.sleuth.Span[] sleuthSpans = createSleuthSpans(4); in testSpanStackCloseSpanFunction()
114 public void apply(org.springframework.cloud.sleuth.Span span) { in testSpanStackCloseSpanFunction()
121 org.springframework.cloud.sleuth.Span[] createSleuthSpans(int len) { in createSleuthSpans()
122 org.springframework.cloud.sleuth.Span[] spans = new org.springframework.cloud.sleuth.Span[len]; in createSleuthSpans()
129 private static org.springframework.cloud.sleuth.Span createSleuthSpan( in createSleuthSpan()
[all …]
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracer.java25 import org.springframework.cloud.sleuth.Span;
95 public Span createSpan(String name, /*@Nullable*/ Span parent) { in createSpan()
104 public Span createSpan(String name) { in createSpan()
110 public Span createSpan(String name, /*@Nullable*/ Sampler sampler) { in createSpan()
112 Span span; in createSpan()
118 Span.builder() in createSpan()
135 public Span detach(/*@Nullable*/ Span span) { in detach()
139 Span current = OpenCensusSleuthSpanContextHolder.getCurrentSpan(); in detach()
163 public Span close(/*@Nullable*/ Span span) { in close()
167 final Span savedSpan = span.getSavedSpan(); in close()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.h58 absl::Span<const int64> broadcast_dimensions);
76 HloOpcode opcode, absl::Span<const Shape* const> operand_shapes);
78 HloOpcode opcode, absl::Span<const HloInstruction* const> operands);
83 absl::Span<const Shape* const> arg_shapes, const ProgramShape& to_apply,
84 absl::Span<const int64> dimensions);
117 absl::Span<const int64> fft_length);
129 absl::Span<const Shape* const> operand_shapes);
140 absl::Span<const Shape* const> operand_shapes);
152 absl::Span<const Shape* const> arg_shapes,
153 absl::Span<const int64> dimensions_to_reduce,
[all …]
Dhlo_creation_utils.h51 absl::Span<const int64> start_indices,
52 absl::Span<const int64> limit_indices,
53 absl::Span<const int64> strides);
65 absl::Span<const int64> dimensions);
73 absl::Span<const int64> result_shape_dim_bounds, HloInstruction* operand);
80 absl::Span<const int64> slice_sizes);
92 absl::Span<const int64> broadcast_dimensions,
93 absl::Span<const int64> result_shape_bounds);
104 absl::Span<HloInstruction* const> operands, int64 dimension);
114 StatusOr<HloInstruction*> MakeMapHlo(absl::Span<HloInstruction* const> operands,
[all …]
Dhlo_instructions.h70 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
84 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
98 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
106 absl::Span<const int64> fft_length);
124 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
150 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
178 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
203 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
248 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
260 const Shape& shape, absl::Span<HloInstruction* const> new_operands,
[all …]
/external/boringssl/src/crypto/pkcs8/
Dpkcs12_test.cc1167 static void TestImpl(const char *name, bssl::Span<const uint8_t> der, in TestImpl()
1194 static void TestCompat(bssl::Span<const uint8_t> der) { in TestCompat()
1372 static bssl::UniquePtr<X509> LoadX509(bssl::Span<const uint8_t> der) { in LoadX509()
1377 static bssl::UniquePtr<EVP_PKEY> LoadPrivateKey(bssl::Span<const uint8_t> der) { in LoadPrivateKey()
1383 bssl::Span<const uint8_t> key_der, in TestRoundTrip()
1384 bssl::Span<const uint8_t> cert_der, in TestRoundTrip()
1385 std::vector<bssl::Span<const uint8_t>> chain_der, in TestRoundTrip()
1466 bssl::Span<const uint8_t>(kTestKey), in TEST()
1467 bssl::Span<const uint8_t>(kTestCert), in TEST()
1468 {bssl::Span<const uint8_t>(kTestCert2)}, 0, 0, 0, 0); in TEST()
[all …]
/external/boringssl/src/include/openssl/
Dspan.h31 class Span; variable
41 friend bool operator==(Span<T> lhs, Span<T> rhs) {
58 friend bool operator!=(Span<T> lhs, Span<T> rhs) { return !(lhs == rhs); }
94 class Span : private internal::SpanBase<const T> {
111 constexpr Span() : Span(nullptr, 0) {} in Span() function
112 constexpr Span(T *ptr, size_t len) : data_(ptr), size_(len) {} in Span() function
115 constexpr Span(T (&array)[N]) : Span(array, N) {} in Span() function
120 Span(const C &container) : data_(container.data()), size_(container.size()) {} in Span() function
125 explicit Span(C &container) in Span() function
158 Span subspan(size_t pos = 0, size_t len = npos) const {
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodInfo.java38 public static class Span implements Comparable<Span> { class in DayPeriodInfo
44 public Span(int start, int end, DayPeriod dayPeriod) { in Span() method in DayPeriodInfo.Span
52 public int compareTo(Span o) { in compareTo()
79 Span other = (Span) obj; in equals()
105 public final Span span;
108 span = new Span(start, end, this); in DayPeriod()
126 final private Span[] spans;
128 …final Relation<DayPeriod, Span> dayPeriodsToSpans = Relation.of(new EnumMap<DayPeriod, Set<Span>>(…
131 TreeSet<Span> info = new TreeSet<>();
141 Span span = new Span(start, end, dayPeriod); in add()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.h138 absl::Span<LocalShapedBuffer* const> argument_handles);
144 absl::Span<const std::vector<LocalShapedBuffer*> > argument_handles);
241 absl::Span<const int64> broadcast_sizes);
244 absl::Span<const int64> out_dim_sizes,
245 absl::Span<const int64> broadcast_dimensions);
250 LocalOp Reshape(const LocalOp& operand, absl::Span<const int64> dimensions,
251 absl::Span<const int64> new_sizes);
253 LocalOp Collapse(const LocalOp& operand, absl::Span<const int64> dimensions);
257 absl::Span<const ReplicaGroup> replica_groups);
260 absl::Span<const ReplicaGroup> replica_groups);
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling.h28 absl::Span<const int64> spatial_dimensions) in TensorFormat()
52 XlaOp MaxPool(XlaOp operand, absl::Span<const int64> kernel_size,
53 absl::Span<const int64> stride, Padding padding,
57 XlaOp AvgPool(XlaOp operand, absl::Span<const int64> kernel_size,
58 absl::Span<const int64> stride,
59 absl::Span<const std::pair<int64, int64>> padding,
66 absl::Span<const int64> input_size, absl::Span<const int64> kernel_size,
67 absl::Span<const int64> stride, Padding padding,
71 XlaOp AvgPoolGrad(XlaOp out_backprop, absl::Span<const int64> gradients_size,
72 absl::Span<const int64> kernel_size,
[all …]
Dpooling.cc29 XlaOp sums, PrimitiveType dtype, absl::Span<const int64> input_shape, in AvgPoolDivideByCountWithGeneralPadding()
30 absl::Span<const std::pair<int64, int64>> spatial_padding, in AvgPoolDivideByCountWithGeneralPadding()
31 absl::Span<const int64> ksize, absl::Span<const int64> stride, in AvgPoolDivideByCountWithGeneralPadding()
74 absl::Span<const int64> kernel_size, in ComputeSums()
75 absl::Span<const int64> stride, in ComputeSums()
90 absl::Span<const std::pair<int64, int64>> spatial_padding, in MakeSpatialPaddingConfig()
91 int num_spatial_dims, absl::Span<const int64> stride, in MakeSpatialPaddingConfig()
108 XlaOp AvgPoolDivideByCount(XlaOp pooled, absl::Span<const int64> input_size, in AvgPoolDivideByCount()
109 absl::Span<const int64> window_dimensions, in AvgPoolDivideByCount()
110 absl::Span<const int64> window_strides, in AvgPoolDivideByCount()
[all …]
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dflat_hash_map_op_kernels.cc44 absl::Span<ValueType>, absl::Span<const absl::string_view>>,
45 public virtual LookupWithPrefetchInterface<absl::Span<ValueType>,
46 absl::Span<const string>>,
48 absl::Span<const ValueType>, absl::Span<const absl::string_view>>,
50 absl::Span<const ValueType>, absl::Span<const string>>,
62 Status Initialize(absl::Span<const absl::string_view> keys, in Initialize()
63 absl::Span<const ValueType> values) override { in Initialize()
77 Status Initialize(absl::Span<const string> keys, in Initialize()
78 absl::Span<const ValueType> values) override { in Initialize()
103 Status Lookup(absl::Span<const absl::string_view> keys, in Lookup()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.h52 absl::Span<const bool> use_bfloat16_params, in ExpandUseBfloat16()
53 absl::Span<const TestCase> specs) { in ExpandUseBfloat16()
96 XlaBuilder* builder, absl::Span<GlobalData* const> arguments);
99 XlaBuilder* builder, absl::Span<GlobalData* const> arguments,
104 absl::Span<GlobalData* const> arguments,
112 absl::Span<GlobalData* const> arguments,
118 absl::Span<GlobalData* const> arguments);
128 absl::Span<GlobalData* const> arguments);
131 absl::Span<GlobalData* const> arguments,
136 absl::Span<const NativeT> expected,
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java23 import io.opencensus.trace.Span;
50 private final Span sampledSpan =
51 new NoopSpan(sampledSpanContext, EnumSet.of(Span.Options.RECORD_EVENTS));
64 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
75 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
95 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
106 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
127 Sampler sampler, SpanContext parent, List<Span> parentLinks, double probability) { in assertSamplerSamplesWithProbability()
151 neverSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
154 alwaysSample, notSampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h78 absl::Span<const NativeT> data(const ShapeIndex& shape_index = {}) const;
113 NativeT Get(absl::Span<const int64> multi_index,
118 NativeT Get(absl::Span<const int64> multi_index) const;
127 string GetAsString(absl::Span<const int64> multi_index,
135 StatusOr<int64> GetIntegralAsS64(absl::Span<const int64> multi_index) const;
141 absl::Span<const int64> GetSparseIndex(
162 const std::function<void(absl::Span<const int64> indices,
166 std::function<void(absl::Span<const int64> indices, NativeT value)>
212 bool IsZero(absl::Span<const int64> indices) const;
277 StatusOr<Literal> Reshape(absl::Span<const int64> dimensions) const;
[all …]
Dutil.h110 absl::Span<uint8> MutableByteSlice(std::vector<T>* v) { in MutableByteSlice()
111 return absl::Span<uint8>(reinterpret_cast<uint8*>(v->data()), in MutableByteSlice()
118 absl::Span<const uint8> CastToByteSlice(absl::Span<const T> slice) { in CastToByteSlice()
119 return absl::Span<const uint8>(reinterpret_cast<const uint8*>(slice.data()), in CastToByteSlice()
126 absl::Span<const T> CastByteSlice(absl::Span<const uint8> slice) { in CastByteSlice()
128 return absl::Span<const T>(reinterpret_cast<const T*>(slice.data()), in CastByteSlice()
134 absl::Span<const T> AsSlice(const std::vector<T>& v) { in AsSlice()
135 return absl::Span<const T>(v); in AsSlice()
141 absl::Span<T> AsMutableSlice(std::vector<T>* v) { in AsMutableSlice()
142 return absl::Span<T>(v->data(), v->size()); in AsMutableSlice()
[all …]
Dshape_util.h161 absl::Span<const int64> indices_;
341 static Shape MakeTupleShape(absl::Span<const Shape> shapes);
368 absl::Span<const int64> dimensions);
377 absl::Span<const int64> dimensions,
384 absl::Span<const int64> dimensions);
386 PrimitiveType element_type, absl::Span<const int64> dimensions,
392 static Shape MakeShapeWithType(absl::Span<const int64> dimensions) { in MakeShapeWithType()
400 absl::Span<const int64> dimensions,
401 absl::Span<const int64> minor_to_major,
402 absl::Span<const Tile> tiles = {},
[all …]
/external/libcxx/test/std/containers/views/span.sub/
Dsubspan.pass.cpp30 template <typename Span, ptrdiff_t Offset, ptrdiff_t Count>
31 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
39 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
40 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
41 …static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Count), "… in testConstexprSpan()
49 template <typename Span, ptrdiff_t Offset>
50 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
58 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
59 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
60 …static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Span::ext… in testConstexprSpan()
[all …]
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java22 import io.opencensus.trace.Span;
44 private Span rootSpan = BlankSpan.INSTANCE;
74 public Span startEndNonSampledRootSpan(Data data) { in startEndNonSampledRootSpan()
75 Span span = in startEndNonSampledRootSpan()
91 public Span startEndRecordEventsRootSpan(Data data) { in startEndRecordEventsRootSpan()
92 Span span = in startEndRecordEventsRootSpan()
108 public Span startEndSampledRootSpan(Data data) { in startEndSampledRootSpan()
109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); in startEndSampledRootSpan()
121 public Span startEndNonSampledChildSpan(Data data) { in startEndNonSampledChildSpan()
122 Span span = in startEndNonSampledChildSpan()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java27 import io.opencensus.trace.Span;
28 import io.opencensus.trace.Span.Kind;
53 @Nullable private final Span parent;
56 private List<Span> parentLinks = Collections.<Span>emptyList();
60 private Span startSpanInternal( in startSpanInternal()
65 List<Span> parentLinks, in startSpanInternal()
99 Span span = in startSpanInternal()
122 List<Span> parentLinks, in makeSamplingDecision()
141 private static boolean isAnyParentLinkSampled(List<Span> parentLinks) { in isAnyParentLinkSampled()
142 for (Span parentLink : parentLinks) { in isAnyParentLinkSampled()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DCurrentSpanUtils.java36 static Span getCurrentSpan() { in getCurrentSpan()
51 static Scope withSpan(Span span, boolean endSpan) { in withSpan()
63 static Runnable withSpan(Span span, boolean endSpan, Runnable runnable) { in withSpan()
75 static <C> Callable<C> withSpan(Span span, boolean endSpan, Callable<C> callable) { in withSpan()
82 private final Span span;
90 private ScopeInSpan(Span span, boolean endSpan) { in ScopeInSpan()
107 private final Span span;
111 private RunnableInSpan(Span span, Runnable runnable, boolean endSpan) { in RunnableInSpan()
141 private final Span span;
145 private CallableInSpan(Span span, Callable<V> callable, boolean endSpan) { in CallableInSpan()
[all …]
DSpanBuilder.java130 public abstract SpanBuilder setParentLinks(List<Span> parentLinks); in setParentLinks()
150 public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) { in setSpanKind()
183 public abstract Span startSpan(); in startSpan()
281 final Span span = startSpan(); in startSpanAndRun()
313 final Span span = startSpan(); in startSpanAndCall()
318 static NoopSpanBuilder createWithParent(String spanName, @Nullable Span parent) { in createWithParent()
328 public Span startSpan() { in startSpan()
338 public SpanBuilder setParentLinks(List<Span> parentLinks) { in setParentLinks()
348 public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) { in setSpanKind()

12345678910>>...21