Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for _Trace (0.17 sec)

  1. src/cmd/cover/cover.go

    					clause := n.(*ast.CommClause)
    					f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false)
    				}
    				return f
    			}
    		}
    		f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace.
    	case *ast.IfStmt:
    		if n.Init != nil {
    			ast.Walk(f, n.Init)
    		}
    		ast.Walk(f, n.Cond)
    		ast.Walk(f, n.Body)
    		if n.Else == nil {
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/net/http/httptrace/trace.go

    	if trace == nil {
    		panic("nil trace")
    	}
    	old := ContextClientTrace(ctx)
    	trace.compose(old)
    
    	ctx = context.WithValue(ctx, clientEventContextKey{}, trace)
    	if trace.hasNetHooks() {
    		nt := &nettrace.Trace{
    			ConnectStart: trace.ConnectStart,
    			ConnectDone:  trace.ConnectDone,
    		}
    		if trace.DNSStart != nil {
    			nt.DNSStart = func(name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

    import org.jetbrains.kotlin.lexer.KtTokens.COMMENTS
    import org.jetbrains.kotlin.lexer.KtTokens.IDENTIFIER
    import org.jetbrains.kotlin.lexer.KtTokens.LBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.PACKAGE_KEYWORD
    import org.jetbrains.kotlin.lexer.KtTokens.RBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.WHITE_SPACE
    
    
    internal
    abstract class UnexpectedBlock(message: String) : RuntimeException(message) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. src/go/printer/testdata/parser.go

    	p.closeLabelScope()
    	p.closeScope()
    	rbrace := p.expect(token.RBRACE)
    
    	return &ast.BlockStmt{lbrace, list, rbrace}
    }
    
    func (p *parser) parseBlockStmt() *ast.BlockStmt {
    	if p.trace {
    		defer un(trace(p, "BlockStmt"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	p.openScope()
    	list := p.parseStmtList()
    	p.closeScope()
    	rbrace := p.expect(token.RBRACE)
    
    	return &ast.BlockStmt{lbrace, list, rbrace}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  6. src/go/parser/parser.go

    	rbrace := p.expect2(token.RBRACE)
    
    	return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
    }
    
    func (p *parser) parseBlockStmt() *ast.BlockStmt {
    	if p.trace {
    		defer un(trace(p, "BlockStmt"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	list := p.parseStmtList()
    	rbrace := p.expect2(token.RBRACE)
    
    	return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  7. src/go/ast/ast.go

    		return s.Label.End()
    	}
    	return token.Pos(int(s.TokPos) + len(s.Tok.String()))
    }
    func (s *BlockStmt) End() token.Pos {
    	if s.Rbrace.IsValid() {
    		return s.Rbrace + 1
    	}
    	if n := len(s.List); n > 0 {
    		return s.List[n-1].End()
    	}
    	return s.Lbrace + 1
    }
    func (s *IfStmt) End() token.Pos {
    	if s.Else != nil {
    		return s.Else.End()
    	}
    	return s.Body.End()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  8. src/runtime/internal/sys/consts_norace.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !race
    
    package sys
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 208 bytes
    - Viewed (0)
  9. src/internal/race/race.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    package race
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const Enabled = true
    
    func Acquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func Release(addr unsafe.Pointer) {
    	runtime.RaceRelease(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 881 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/race.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (darwin && race) || (linux && race) || (freebsd && race)
    
    package unix
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 629 bytes
    - Viewed (0)
Back to top