Home
last modified time | relevance | path

Searched full:spans (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/external/libcxx/test/std/containers/views/span.cons/
Dassign.pass.cpp57 constexpr std::span<const int> spans[] = { in main() local
73 static_assert(std::size(spans) == 13, "" ); in main()
76 static_assert(doAssign(spans[0], spans[0]), ""); in main()
77 static_assert(doAssign(spans[0], spans[1]), ""); in main()
78 static_assert(doAssign(spans[0], spans[2]), ""); in main()
79 static_assert(doAssign(spans[0], spans[3]), ""); in main()
80 static_assert(doAssign(spans[0], spans[4]), ""); in main()
81 static_assert(doAssign(spans[0], spans[5]), ""); in main()
82 static_assert(doAssign(spans[0], spans[6]), ""); in main()
83 static_assert(doAssign(spans[0], spans[7]), ""); in main()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSpannableStringTest.java47 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testRemoveSpan() local
48 assertThat(spans).isNotNull(); in testRemoveSpan()
49 assertThat(spans.length).isEqualTo(1); in testRemoveSpan()
50 assertThat((UnderlineSpan) spans[0]).isSameAs(s2); in testRemoveSpan()
60 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testGetSpans() local
61 assertThat(spans).isNotNull(); in testGetSpans()
62 assertThat(spans.length).isEqualTo(2); in testGetSpans()
65 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class); in testGetSpans()
66 assertThat(spans).isNotNull(); in testGetSpans()
67 assertThat(spans.length).isEqualTo(1); in testGetSpans()
[all …]
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracerTest.java64 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndClose() local
66 for (int i = spans.length - 1; i >= 0; i--) { in testSpanStackAndClose()
67 assertCurrentSpanIs(spans[i]); in testSpanStackAndClose()
68 Span parent = tracer.close(spans[i]); in testSpanStackAndClose()
69 assertThat(parent).isEqualTo(spans[i].getSavedSpan()); in testSpanStackAndClose()
75 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndCloseOutOfOrder() local
77 tracer.close(spans[spans.length - 2]); in testSpanStackAndCloseOutOfOrder()
78 assertCurrentSpanIs(spans[spans.length - 1]); in testSpanStackAndCloseOutOfOrder()
80 for (int i = spans.length - 1; i >= 0; i--) { in testSpanStackAndCloseOutOfOrder()
81 tracer.close(spans[i]); in testSpanStackAndCloseOutOfOrder()
[all …]
DOpenCensusSleuthSpanContextHolderTest.java69 // push all the spans in testSpanStackSimple()
75 // pop all the spans in testSpanStackSimple()
86 // push all the spans in testSpanStackAutoClose()
88 // set autoclose for all the spans except 2 in testSpanStackAutoClose()
104 // push all the spans in testSpanStackCloseSpanFunction()
108 // pop all the spans, verify that given SpanFunction is called on the closed span. in testSpanStackCloseSpanFunction()
122 org.springframework.cloud.sleuth.Span[] spans = new org.springframework.cloud.sleuth.Span[len]; in createSleuthSpans() local
124 spans[i] = createSleuthSpan(i * 10 + 1, i * 10 + 2, i * 10 + 3, /* exportable= */ true); in createSleuthSpans()
126 return spans; in createSleuthSpans()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region.cc67 it1->second->spans != it2->second->spans) { in Equals()
116 new_row->second->spans = row->second->spans; in AddRect()
126 new_row->second->spans = row->second->spans; in AddRect()
158 // set of spans then they can be merged. in MergeWithPrecedingRow()
160 previous_row->second->spans == row->second->spans) { in MergeWithPrecedingRow()
207 IntersectRows(it1->second->spans, it2->second->spans, in Intersect()
208 &new_row->second->spans); in Intersect()
209 if (new_row->second->spans.empty()) { in Intersect()
236 // Arrange for |it1| to always be the left-most of the spans. in IntersectRows()
304 // subtract spans from. in Subtract()
[all …]
Ddesktop_region.h56 RowSpanSet spans; member
81 // |row_span_| matches spans on consecutive rows then they are also merged
140 // Adds a new span to the row, coalescing spans if necessary.
146 // Calculates the intersection of two sets of spans.
155 // Merges |row| with the row above it if they contain the same spans. Doesn't
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DSampledSpanStore.java37 * This class allows users to access in-process information such as latency based sampled spans and
38 * error based sampled spans.
40 * <p>For all completed spans with the option {@link Span.Options#RECORD_EVENTS} the library can
64 * Returns the summary of all available data, such as number of sampled spans in the latency based
76 * Returns a list of succeeded spans (spans with {@link Status} equal to {@link Status#OK}) that
79 * <p>Latency based sampled spans are available only for span names registered using {@link
82 * @param filter used to filter the returned sampled spans.
83 * @return a list of succeeded spans that match the {@code filter}.
89 * Returns a list of failed spans (spans with {@link Status} other than {@link Status#OK}) that
92 * <p>Error based sampled spans are available only for span names registered using {@link
[all …]
DRunningSpanStore.java29 * This class allows users to access in-process information about all running spans.
31 * <p>The running spans tracking is available for all the spans with the option {@link
54 * Returns the summary of all available data such, as number of running spans.
62 * Returns a list of running spans that match the {@code Filter}.
64 * @param filter used to filter the returned spans.
65 * @return a list of running spans that match the {@code Filter}.
119 * @param numRunningSpans the number of running spans.
130 * Returns the number of running spans.
132 * @return the number of running spans.
139 * Filter for running spans. Used to filter results returned by the {@link
[all …]
DExportComponent.java42 * Returns the {@link SpanExporter} which can be used to register handlers to export all the spans
53 * all the current active spans.
62 * as latency based sampled spans, error based sampled spans.
70 * Will shutdown this ExportComponent after flushing any pending spans.
/external/tensorflow/tensorflow/core/kernels/
Dscale_and_translate_op.cc53 const bool antialias, Spans* spans) { in ComputeSpansCore() argument
62 spans->span_size = std::min( in ComputeSpansCore()
69 &spans->starts, alloc_attr)); in ComputeSpansCore()
70 auto starts_vec = spans->starts.vec<int32>(); in ComputeSpansCore()
73 tensorflow::TensorShape({spans->span_size * output_size}), in ComputeSpansCore()
74 &spans->weights, alloc_attr)); in ComputeSpansCore()
75 auto weights_vec = spans->weights.vec<float>(); in ComputeSpansCore()
98 if (this_span_size > spans->span_size) { in ComputeSpansCore()
100 this_span_size, spans->span_size)); in ComputeSpansCore()
114 int out_index = spans->span_size * x; in ComputeSpansCore()
[all …]
Dscale_and_translate_op.h35 // To compute the gradient we use the spans computed on the forward pass and
38 // use the same core algorithm, only the spans are computed differently.
42 struct Spans { struct
53 // Gather spans in both dimensions.
55 // the row Spans data structure, similarly for col_span_size etc. argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStringBlock.java55 ResStringPool_span spans = osb.styleAt(idx); in nativeGetStyle() local
56 if (spans == null) { in nativeGetStyle()
60 ResStringPool_span pos = spans; in nativeGetStyle()
80 while (spans.name.index != ResStringPool_span.END) { in nativeGetStyle()
83 // (jint*)spans); in nativeGetStyle()
84 setIntArrayRegion(array, num, numInts, spans); in nativeGetStyle()
85 // spans++; in nativeGetStyle()
86 spans = new ResStringPool_span(spans.myBuf(), spans.myOffset() + ResStringPool_span.SIZEOF); in nativeGetStyle()
93 …private static void setIntArrayRegion(int[] array, int num, int numInts, ResStringPool_span spans)… in setIntArrayRegion() argument
94 ByteBuffer buf = spans.myBuf(); in setIntArrayRegion()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetSpanner.java19 * its inverse. That is, the code spans, then spans for the inverse, then spans, and so on.
91 …* Collapse spans. That is, modify/count the entire matching span as a single item, instead of sepa…
113 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
124 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
137 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
175 * Delete all the matching spans in sequence, using SpanCondition.SIMPLE
176 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
178 * charsequence to replace matching spans in.
186 * Delete all matching spans in sequence, according to the spanCondition.
187 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java18 * its inverse. That is, the code spans, then spans for the inverse, then spans, and so on.
102 …* Collapse spans. That is, modify/count the entire matching span as a single item, instead of sepa…
128 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
141 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
156 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
196 * Delete all the matching spans in sequence, using SpanCondition.SIMPLE
197 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
199 * charsequence to replace matching spans in.
209 * Delete all matching spans in sequence, according to the spanCondition.
210 …* The code alternates spans; see the class doc for {@link UnicodeSetSpanner} for a note about boun…
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/
DSpanExporterImpl.java46 * spans data. If the number of buffered SpanData objects is greater than {@code bufferSize} then
111 private final List<RecordEventsSpanImpl> spans; field in SpanExporterImpl.Worker
120 this.spans.add(span); in addSpan()
121 if (spans.size() > bufferSize) { in addSpan()
155 spans = new ArrayList<RecordEventsSpanImpl>(bufferSize); in Worker()
160 // Returns an unmodifiable list of all buffered spans data to ensure that any registered
162 private static List<SpanData> fromSpanImplToSpanData(List<RecordEventsSpanImpl> spans) { in fromSpanImplToSpanData() argument
163 List<SpanData> spanDatas = new ArrayList<SpanData>(spans.size()); in fromSpanImplToSpanData()
164 for (RecordEventsSpanImpl span : spans) { in fromSpanImplToSpanData()
173 // Copy all the batched spans in a separate list to release the monitor lock asap to in run()
[all …]
DInProcessSampledSpanStoreImpl.java357 List<RecordEventsSpanImpl> spans = Collections.emptyList(); in getErrorSampledSpans() local
363 spans = perSpanNameSamples.getErrorSamples(filter.getCanonicalCode(), numSpansToReturn); in getErrorSampledSpans()
366 List<SpanData> ret = new ArrayList<SpanData>(spans.size()); in getErrorSampledSpans()
367 for (RecordEventsSpanImpl span : spans) { in getErrorSampledSpans()
379 List<RecordEventsSpanImpl> spans = Collections.emptyList(); in getLatencySampledSpans() local
385 spans = in getLatencySampledSpans()
390 List<SpanData> ret = new ArrayList<SpanData>(spans.size()); in getLatencySampledSpans()
391 for (RecordEventsSpanImpl span : spans) { in getLatencySampledSpans()
/external/python/google-api-python-client/docs/dyn/
Dcloudtrace_v1.projects.traces.html103 # operation. It consists of a set of spans, each of which represent a single
108 "spans": [ # Collection of spans in the trace.
109 { # A span represents a single timed event within a trace. Spans can be nested
112 # its suboperations. Spans do not need to be contiguous. There may be gaps
113 # between spans in a trace.
114 … "kind": "A String", # Distinguishes between spans generated in a particular context. For example,
115 # two spans with the same name may be distinguished using `RPC_CLIENT`
123 # cross-trace spans.
243 # operation. It consists of a set of spans, each of which represent a single
248 "spans": [ # Collection of spans in the trace.
[all …]
Dcloudtrace_v1.projects.html90 in the existing trace and its spans are overwritten by the provided values,
102 # operation. It consists of a set of spans, each of which represent a single
107 "spans": [ # Collection of spans in the trace.
108 { # A span represents a single timed event within a trace. Spans can be nested
111 # its suboperations. Spans do not need to be contiguous. There may be gaps
112 # between spans in a trace.
113 … "kind": "A String", # Distinguishes between spans generated in a particular context. For example,
114 # two spans with the same name may be distinguished using `RPC_CLIENT`
122 # cross-trace spans.
Dtracing_v2.projects.traces.html78 <code><a href="tracing_v2.projects.traces.spans.html">spans()</a></code>
80 <p class="firstline">Returns the spans Resource.</p>
84 <p class="firstline">Sends new spans to Stackdriver Trace or updates existing traces. If the</p>
90 <p class="firstline">Returns a list of spans within a trace.</p>
100 <pre>Sends new spans to Stackdriver Trace or updates existing traces. If the
101 name of a trace that you send matches that of an existing trace, new spans
102 are added to the existing trace. Attempt to update existing spans results
104 with given set of spans.
107 name: string, Name of the project where the spans belong to. Format is
113 "spans": [ # A collection of spans.
[all …]
Dtracing_v2.projects.traces.spans.html75 …2.projects.traces.html">traces</a> . <a href="tracing_v2.projects.traces.spans.html">spans</a></h1>
87 `projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID`.
96 { # A span represents a single operation within a trace. Spans can be nested
99 # its sub-operations. (A trace could alternatively contain multiple root spans,
100 # or none at all.) Spans do not need to be contiguous. There may be gaps
101 # and/or overlaps between spans in a trace.
169 # Often multiple spans will have identical stack traces.
173 # Subsequent spans within the same request can refer
236 # cross-trace spans.
244 # `projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID`.
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodInfo.java126 final private Span[] spans; field in DayPeriodInfo
167 spans = info.toArray(new Span[len]); in DayPeriodInfo()
171 Span last = spans[0]; in DayPeriodInfo()
178 Span current = spans[i]; in DayPeriodInfo()
195 // add an extra check to make sure that periods are unique over 12 hour spans in DayPeriodInfo()
228 for (int i = 0; i < spans.length; ++i) { in getFirstStartTime()
229 if (spans[i].dayPeriod == dayPeriod) { in getFirstStartTime()
230 return spans[i].start; in getFirstStartTime()
283 for (int i = 0; i < spans.length; ++i) { in getDayPeriod()
284 if (spans[i].contains(millisInDay)) { in getDayPeriod()
[all …]
/external/opencensus-java/contrib/zpages/
DREADME.md53 ### View stats and spans on Z-Pages
70 #### View trace spans on /tracez page
72 The /tracez page displays information about all active spans and all sampled spans based on latency
87 #### Why do I not see sampled spans based on latency and error codes for a given span name?
88 Sampled spans based on latency and error codes are available only for registered span names.
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java71 * HTML page formatter for tracing debug. The page displays information about all active spans and
72 * all sampled spans based on latency and errors.
75 * active and sampled spans.
208 "Render spans.", in emitHtmlBody()
214 List<SpanData> spans = null; in emitHtmlBody() local
221 spans = in emitHtmlBody()
224 // Sort active spans incremental. in emitHtmlBody()
225 Collections.sort(spans, new SpanDataComparator(true)); in emitHtmlBody()
236 spans = in emitHtmlBody()
246 spans = in emitHtmlBody()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
Dpackage-info.java23 * <p>Trace represents a tree of spans. A trace has a root span that encapsulates all the spans from
24 * start to end, and the children spans being the distinct calls invoked in between.
28 * <p>{@link io.opencensus.trace.Span Spans} are propagated in-process in the {@code
/external/freetype/docs/
Draster.txt18 2. Profiles and Spans
24 f. Sweeping and Sorting the Spans
164 2. Profiles and Spans
180 bitmap. These segments are called `spans'.
191 _----------_ with spans.
214 /---/ |---| several spans per scanline.
225 /---/ |---| And then turn on the spans a-b
240 o The number of spans on the current scanline, given by the
565 f. Sweeping and Sorting the Spans
568 build (and fill) the spans.
[all …]

12345678910>>...20