- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for spanOf (0.14 sec)
-
src/go/types/errors.go
if debug { assert(start <= pos && pos < end) } return posSpan{start, pos, end} } // spanOf extracts an error span from the given positioner. By default this is // the trivial span starting and ending at pos, but this span is expanded when // the argument naturally corresponds to a span of source code. func spanOf(at positioner) posSpan { switch x := at.(type) { case nil: panic("nil positioner") case posSpan:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/Span.java
import com.google.common.base.Objects; import java.io.Serializable; public class Span implements Serializable { private final Style style; private final String text; public Span(Style style, String text) { this.style = style; this.text = text; } public Span(String text) { this(Style.NORMAL, text); } public Style getStyle() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.6K bytes - Viewed (0) -
pkg/test/framework/components/zipkin/kube.go
scopes.Framework.Debugf("cannot parse or cannot find spans in trace object %+v", t) continue } var spans []Span for _, obj := range spanObjs { newSpan := buildSpan(obj) spans = append(spans, newSpan) } for p := range spans { for c := range spans { if spans[c].ParentSpanID == spans[p].SpanID { spans[p].ChildSpans = append(spans[p].ChildSpans, &spans[c]) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 19:29:38 UTC 2023 - 8K bytes - Viewed (0) -
pkg/test/framework/components/zipkin/zipkin.go
// TODO(bianpengyuan) consider using zipkin proto api https://github.com/istio/istio/issues/13926 type Span struct { SpanID string ParentSpanID string ServiceName string Name string ChildSpans []*Span } // Trace represents a trace by a collection of spans which all belong to that trace type Trace struct { Spans []Span } // New returns a new instance of zipkin.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 23 01:09:12 UTC 2021 - 2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java
public void setText(String text) { this.spans = Collections.singletonList(new StyledTextOutputEvent.Span(text)); } @Override public void setText(StyledTextOutputEvent.Span span) { this.spans = Collections.singletonList(span); } @Override public void setText(List<StyledTextOutputEvent.Span> spans) { this.spans = spans; } public Cursor getWritePosition() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/TestStyledLabel.groovy
} @Override void setText(StyledTextOutputEvent.Span span) { throw new UnsupportedOperationException() } @Override void setText(List<StyledTextOutputEvent.Span> spans) { String text = "" for (StyledTextOutputEvent.Span span : spans) { stringToStyleMap.put(span.text, span.style) text += span.text } setText(text) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializerTest.groovy
new ListSerializer<StyledTextOutputEvent.Span>( new SpanSerializer(serializerFactory.getSerializerFor(StyledTextOutput.Style.class)))) } def "can serialize StyledTextOutputEvent messages"() { given: List spans = [new StyledTextOutputEvent.Span(StyledTextOutput.Style.Description, "description"), new StyledTextOutputEvent.Span(StyledTextOutput.Style.Error, "error")]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializer.java
OperationIdentifier buildOperationId = decoder.readBoolean() ? new OperationIdentifier(decoder.readSmallLong()) : null; List<StyledTextOutputEvent.Span> spans = spanSerializer.read(decoder); return new StyledTextOutputEvent(timestamp, category, logLevel, buildOperationId, spans); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/StyledLabel.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 958 bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ProgressLogEventGenerator.java
} private StyledTextOutputEvent styledTextEvent(long timestamp, StyledTextOutputEvent.Span... spans) { return new StyledTextOutputEvent(timestamp, category, LogLevel.LIFECYCLE, buildOperationIdentifier, Arrays.asList(spans)); } private void doOutput(RenderableOutputEvent event) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 7.7K bytes - Viewed (0)