Helper method to start a span.
490542
private Span startSpan(String spanName) {
    return tracer
        .spanBuilder(spanName)
        .setRecordEvents(censusHttpModule.isRecordEvents())
        .startSpan();
  }
1355452
def run(self):
        
        self.timer = t.Thread(target=self.report_spans)
        self.timer.daemon = True
        self.timer.name = "Instana Span Reporting"
        self.timer.start()
1013937
def start(self, content):
        
        content.data = Factory.object(content.node.name)
432060
def start(self):
        """"""
        self.loop.create_task(self._read_line())
        self.loop.create_task(self._greeting())
179894
public void startElement(String elemName, Attributes attrs) {
        writeStartElement(elemName, attrs);
        m_tagStack.push(elemName);
    }
61760
public void enableStart() {
    EventTarget targ = (EventTarget) element;
    targ.addEventListener(SVGConstants.SVG_EVENT_MOUSEDOWN, this, false);
  }
326773
public static Span toSpan(Range range) {
    return new Span(toRowColumn(range.getStartKey()), range.isStartKeyInclusive(),
        toRowColumn(range.getEndKey()), range.isEndKeyInclusive());
  }
466592
static void push(Span span, boolean autoClose) {
    if (isCurrent(span)) {
      return;
    }
    setSpanContextInternal(new SpanContext(span, autoClose));
  }
1317586
def start_element (self, tag, attrs):
        """"""
        if tag == 'meta' and attrs.get('name') == 'robots':
            val = attrs.get_true('content', u'').lower().split(u',')
            self.follow = u'nofollow' not in val
            self.index = u'noindex' not in val
            raise StopParse("found <meta name=robots> tag")
        elif tag == 'body':
            raise StopParse("found <body> tag")
734323
def start(label, at=None):
    """"""
    t = at if at is not None else time.time()
    marker = Marker().start(t)
    labels[label] = marker.dumps()
1063517
def start_element(self, name, attrs):
        """"""
        self.in_tag = (name == self.tag)
        self.url = u""
108278
private void startSpan(ActivityRuntimeContext context) {
        Tracing tracing = TraceHelper.getTracing("mdw-activity");
        Tracer tracer = tracing.tracer();
        Span span = tracer.currentSpan();
        if (span == null) {
            // async brave server if b3 requestHeaders populated (subspan)
            Object requestHeaders = context.getValue("requestHeaders");
            if (requestHeaders instanceof Map) {
                Map<?, ?> headers = (Map<?, ?>) requestHeaders;
                if (headers.containsKey("x-b3-traceid")) {
                    TraceContext.Extractor<Map<?, ?>> extractor =
                            tracing.propagation().extractor((map, key) -> {
                                Object val = map.get(key.toLowerCase());
                                return val == null ? null : val.toString();
                            });
                    TraceContextOrSamplingFlags extracted = extractor.extract(headers);
                    span = extracted.context() != null
                            ? tracer.joinSpan(extracted.context())
                            : tracer.nextSpan(extracted);
                    span.name("m" + context.getMasterRequestId()).kind(Span.Kind.SERVER);
                    span = tracer.newChild(span.context()).name("p" + context.getProcessInstanceId());
                }
            }
        }
        if (span == null) {
            // create a new root span for async start
            span = tracer.nextSpan().name("a" + context.getActivityInstanceId());
        }
        span.start().flush(); // async
        Tracer.SpanInScope spanInScope = tracer.withSpanInScope(span);
        context.getRuntimeAttributes().put(Tracer.SpanInScope.class, spanInScope);
    }
29668
void startBlockImpl( String[] selectors ) {
        for( int i=0; i<selectors.length; i++ ) {
            if( i > 0 ) {
                output.append( ',' );
                newline();
            }
            insets();
            append( selectors[i] );
        }
        space();
        output.append( '{' );
        newline();
        incInsets();
    }
696607
public function startSpan(array $spanOptions)
    {
        if (!array_key_exists('name', $spanOptions)) {
            $spanOptions['name'] = $this->generateSpanName();
        }
        $spanOptions['eventHandler'] = $this;
        return new Span($spanOptions);
    }
126509
function start (inp) {
    var res = parseArgumentList(inp.skipWs());
  
    // If there is any leftover, we have input that did not match our grammar,
    // so throw a generic syntax error.
    if (inp.skipWs().buffer) syntaxError(inp);
    return res;
  }
109043
function startTagAfterAfterBody(p, token) {
    if (token.tagName === $.HTML) {
        startTagInBody(p, token);
    } else {
        tokenAfterAfterBody(p, token);
    }
}
30252
function getStartToken(elementNode) {
                if (!elementNode) {
                    return null
                }
                if (elementNode.type !== "HTMLElement") {
                    return null
                }
                if (isDummyElement(elementNode)) {
                    return null
                }
                return elementNode.startTag || elementNode
            }