Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 162 for _Trace (0.16 sec)

  1. src/go/types/validtype.go

    func (check *Checker) validType0(pos token.Pos, typ Type, nest, path []*Named) bool {
    	typ = Unalias(typ)
    
    	if check.conf._Trace {
    		if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ {
    			pos = t.obj.pos
    		}
    		check.indent++
    		check.trace(pos, "validType(%s) nest %v, path %v", typ, pathString(makeObjList(nest)), pathString(makeObjList(path)))
    		defer func() {
    			check.indent--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/go/types/check_test.go

    	if listErrors && len(errlist) > 0 {
    		t.Errorf("--- %s:", pkgName)
    		for _, err := range errlist {
    			t.Error(err)
    		}
    	}
    
    	// set up typechecker
    	var conf Config
    	*boolFieldAddr(&conf, "_Trace") = manual && testing.Verbose()
    	conf.Importer = importer.Default()
    	conf.Error = func(err error) {
    		if *haltOnError {
    			defer panic(err)
    		}
    		if listErrors {
    			t.Error(err)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/go/types/typeset.go

    	}
    
    	if check != nil && check.conf._Trace {
    		// Types don't generally have position information.
    		// If we don't have a valid pos provided, try to use
    		// one close enough.
    		if !pos.IsValid() && len(ityp.methods) > 0 {
    			pos = ityp.methods[0].pos
    		}
    
    		check.trace(pos, "-- type set for %s", ityp)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(pos, "=> %s ", ityp.typeSet())
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/go/types/named.go

    func (n *Named) expandUnderlying() Type {
    	check := n.check
    	if check != nil && check.conf._Trace {
    		check.trace(n.obj.pos, "-- Named.expandUnderlying %s", n)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(n.obj.pos, "=> %s (tparams = %s, under = %s)", n, n.tparams.list(), n.underlying)
    		}()
    	}
    
    	assert(n.inst.orig.underlying != nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/go/types/stmt.go

    func (check *Checker) funcBody(decl *declInfo, name string, sig *Signature, body *ast.BlockStmt, iota constant.Value) {
    	if check.conf.IgnoreFuncBodies {
    		panic("function body not ignored")
    	}
    
    	if check.conf._Trace {
    		check.trace(body.Pos(), "-- %s: %s", name, sig)
    	}
    
    	// save/restore current environment and set up function environment
    	// (and use 0 indentation at function start)
    	defer func(env environment, indent int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. src/go/types/call.go

    	assert(check != nil)
    	assert(len(targs) == typ.TypeParams().Len())
    
    	if check.conf._Trace {
    		check.trace(pos, "-- instantiating signature %s with %s", typ, targs)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(pos, "=> %s (under = %s)", res, res.Underlying())
    		}()
    	}
    
    	inst := check.instance(pos, typ, targs, nil, check.context()).(*Signature)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    // parameterized type or function value.
    func (check *Checker) rawExpr(T *target, x *operand, e ast.Expr, hint Type, allowGeneric bool) exprKind {
    	if check.conf._Trace {
    		check.trace(e.Pos(), "-- expr %s", e)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(e.Pos(), "=> %s", x)
    		}()
    	}
    
    	kind := check.exprInternal(T, x, e, hint)
    
    	if !allowGeneric {
    		check.nonGeneric(T, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. buildscripts/race.sh

    #!/usr/bin/env bash
    
    set -e
    
    export GORACE="history_size=7"
    export MINIO_API_REQUESTS_MAX=10000
    
    for d in $(go list ./...); do
    	CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 184 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreter.kt

    package org.gradle.kotlin.dsl.execution
    
    import org.gradle.kotlin.dsl.support.expectedKotlinDslPluginsVersion
    import org.jetbrains.kotlin.lexer.KtTokens.DOT
    import org.jetbrains.kotlin.lexer.KtTokens.LBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.RBRACE
    
    
    internal
    sealed class PluginsBlockInterpretation {
    
        /**
         * The `plugins` block applies exactly the given list of [plugins].
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    		s.Body = append(s.Body, p.caseClause())
    	}
    	s.Rbrace = p.pos()
    	p.want(_Rbrace)
    
    	return s
    }
    
    func (p *parser) selectStmt() *SelectStmt {
    	if trace {
    		defer p.trace("selectStmt")()
    	}
    
    	s := new(SelectStmt)
    	s.pos = p.pos()
    
    	p.want(_Select)
    	if !p.got(_Lbrace) {
    		p.syntaxError("missing { after select clause")
    		p.advance(_Case, _Default, _Rbrace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top