Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Innermost (0.09 sec)

  1. src/runtime/traceback.go

    }
    
    func (u *unwinder) valid() bool {
    	return u.frame.pc != 0
    }
    
    // resolveInternal fills in u.frame based on u.frame.fn, pc, and sp.
    //
    // innermost indicates that this is the first resolve on this stack. If
    // innermost is set, isSyscall indicates that the PC/SP was retrieved from
    // gp.syscall*; this is otherwise ignored.
    //
    // On entry, u.frame contains:
    //   - fn is the running function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    		if m == nil {
    			t.Errorf("%s: bad comment: %s", pos, text)
    			return
    		}
    		name, want := m[1], m[2]
    
    		// Look up the name in the innermost enclosing scope.
    		inner := mainScope.Innermost(pos)
    		if inner == nil {
    			t.Errorf("%s: at %s: can't find innermost scope", pos, text)
    			return
    		}
    		got := "undef"
    		if _, obj := inner.LookupParent(name, pos); obj != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    					fset.Position(comment.Pos()), comment.Text)
    				continue
    			}
    			name, want := m[1], m[2]
    
    			// Look up the name in the innermost enclosing scope.
    			inner := mainScope.Innermost(comment.Pos())
    			if inner == nil {
    				t.Errorf("%s: at %s: can't find innermost scope",
    					fset.Position(comment.Pos()), comment.Text)
    				continue
    			}
    			got := "undef"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    		check.overflow(x, e.Pos())
    
    	case *ast.FuncLit:
    		if sig, ok := check.typ(e.Type).(*Signature); ok {
    			// Set the Scope's extent to the complete "func (...) {...}"
    			// so that Scope.Innermost works correctly.
    			sig.scope.pos = e.Pos()
    			sig.scope.end = e.End()
    			if !check.conf.IgnoreFuncBodies && e.Body != nil {
    				// Anonymous functions are considered part of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/net/http/request.go

    	//
    	// For client requests, a value of 0 with a non-nil Body is
    	// also treated as unknown.
    	ContentLength int64
    
    	// TransferEncoding lists the transfer encodings from outermost to
    	// innermost. An empty list denotes the "identity" encoding.
    	// TransferEncoding can usually be ignored; chunked encoding is
    	// automatically added and removed as necessary when sending and
    	// receiving requests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    		check.overflow(x, opPos(x.expr))
    
    	case *syntax.FuncLit:
    		if sig, ok := check.typ(e.Type).(*Signature); ok {
    			// Set the Scope's extent to the complete "func (...) {...}"
    			// so that Scope.Innermost works correctly.
    			sig.scope.pos = e.Pos()
    			sig.scope.end = syntax.EndPos(e)
    			if !check.conf.IgnoreFuncBodies && e.Body != nil {
    				// Anonymous functions are considered part of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top