Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for Donovan (0.11 sec)

  1. src/go/types/alias.go

    	}
    
    	// Memoize the type only if valid.
    	// In the presence of unfinished cyclic declarations, Unalias
    	// would otherwise latch the invalid value (#66704).
    	// TODO(adonovan): rethink, along with checker.typeDecl's use
    	// of Invalid to mark unfinished aliases.
    	if t != Typ[Invalid] {
    		a0.actual = t
    	}
    
    	return t
    }
    
    // asNamed returns t as *Named if that is t's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/math/big/rat.go

    		Msize  = 23
    		Msize1 = Msize + 1 // incl. implicit 1
    		Msize2 = Msize1 + 1
    
    		// exponent
    		Esize = Fsize - Msize1
    		Ebias = 1<<(Esize-1) - 1
    		Emin  = 1 - Ebias
    		Emax  = Ebias
    	)
    
    	// TODO(adonovan): specialize common degenerate cases: 1.0, integers.
    	alen := a.bitLen()
    	if alen == 0 {
    		return 0, true
    	}
    	blen := b.bitLen()
    	if blen == 0 {
    		panic("division by zero")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go

    // Copyright 2013 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.
    
    package unreachable
    
    // TODO(adonovan): use the new cfg package, which is more precise.
    
    import (
    	_ "embed"
    	"go/ast"
    	"go/token"
    	"log"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/inspect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		&asmArchS390X,
    		&asmArchWasm,
    		&asmArchLoong64,
    	}
    )
    
    func init() {
    	for _, arch := range arches {
    		arch.sizes = types.SizesFor("gc", arch.name)
    		if arch.sizes == nil {
    			// TODO(adonovan): fix: now that asmdecl is not in the standard
    			// library we cannot assume types.SizesFor is consistent with arches.
    			// For now, assume 64-bit norms and print a warning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		return []string{typ.String()}
    	}
    
    	// In go1.10, sync.noCopy did not implement Locker.
    	// (The Unlock method was added only in CL 121876.)
    	// TODO(adonovan): remove workaround when we drop go1.10.
    	if analysisutil.IsNamedType(typ, "sync", "noCopy") {
    		return []string{typ.String()}
    	}
    
    	nfields := styp.NumFields()
    	for i := 0; i < nfields; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    	}
    
    	// Check for use of json or xml tags with unexported fields.
    
    	// Embedded struct. Nothing to do for now, but that
    	// may change, depending on what happens with issue 7363.
    	// TODO(adonovan): investigate, now that that issue is fixed.
    	if field.Anonymous() {
    		return
    	}
    
    	if field.Exported() {
    		return
    	}
    
    	for _, enc := range [...]string{"json", "xml"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. src/go/types/eval_test.go

    		if err != nil {
    			t.Fatalf("could not parse file %d: %s", i, err)
    		}
    
    		// Materialized aliases give a different (better)
    		// result for the final test, so skip it for now.
    		// TODO(adonovan): reenable when gotypesalias=1 is the default.
    		switch gotypesalias.Value() {
    		case "", "1":
    			if strings.Contains(src, "interface{R}.Read") {
    				continue
    			}
    		}
    
    		files = append(files, file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/go/types/signature.go

    		}
    	}
    
    	// Use a temporary scope for all parameter declarations and then
    	// squash that scope into the parent scope (and report any
    	// redeclarations at that time).
    	//
    	// TODO(adonovan): now that each declaration has the correct
    	// scopePos, there should be no need for scope squashing.
    	// Audit to ensure all lookups honor scopePos and simplify.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	case *ast.FuncDecl:
    		funcScope = pass.TypesInfo.Scopes[v.Type]
    	}
    
    	// Maps each cancel variable to its defining ValueSpec/AssignStmt.
    	cancelvars := make(map[*types.Var]ast.Node)
    
    	// TODO(adonovan): opt: refactor to make a single pass
    	// over the AST using inspect.WithStack and node types
    	// {FuncDecl,FuncLit,CallExpr,SelectorExpr}.
    
    	// Find the set of cancel vars to analyze.
    	stack := make([]ast.Node, 0, 32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. RELEASE.md

    ctiijima, Dan Jarvis, Dan Lazewatsky, Daniel Ingram, Daniel Rasmussen, Daniel
    Salvadori, Dave Airlie, David Norman, Dayananda V, delock, Denis Khalikov, Deven
    Desai, Dheeraj Rajaram Reddy, Diego Caballero, dmitrievanthony, Donovan Ong,
    Drew Szurko, Duncan Dean, Duncan Riach, Dustin Neighly, Dwight J Lyle, Eamon
    Ito-Fisher, eashtian3, Edward Forgacs, EFanZh, ejot, Elroy Ashtian Jr, Eric
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top