Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 217 for Member (0.2 sec)

  1. src/cmd/compile/internal/ssa/debug_lines_test.go

    	"os"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    // Matches lines in genssa output that are marked "isstmt", and the parenthesized plus-prefixed line number is a submatch
    var asmLine *regexp.Regexp = regexp.MustCompile(`^\s[vb]\d+\s+\d+\s\(\+(\d+)\)`)
    
    // this matches e.g.                            `   v123456789   000007   (+9876654310) MOVUPS	X15, ""..autotmp_2-32(SP)`
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/noder/noder.go

    	"cmd/compile/internal/syntax"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/objabi"
    )
    
    func LoadPackage(filenames []string) {
    	base.Timer.Start("fe", "parse")
    
    	// Limit the number of simultaneously open files.
    	sem := make(chan struct{}, runtime.GOMAXPROCS(0)+10)
    
    	noders := make([]*noder, len(filenames))
    	for i := range noders {
    		p := noder{
    			err: make(chan syntax.Error),
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/instantiate.go

    	}
    
    	// Update all contexts; it's possible that we've lost a race.
    	return updateContexts(res)
    }
    
    // validateTArgLen checks that the number of type arguments (got) matches the
    // number of type parameters (want); if they don't match an error is reported.
    // If validation fails and check is nil, validateTArgLen panics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    			// We know the import path for parent's dir.
    			// We chopped off some number of path elements and
    			// added vendor\path to produce c:\gopath\src\foo\bar\baz\vendor\path.
    			// Now we want to know the import path for that directory.
    			// Construct it by chopping the same number of path elements
    			// (actually the same number of bytes) from parent's import path
    			// and then append /vendor/path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/trim.go

    func trimmableBlock(b *Block) bool {
    	if b.Kind != BlockPlain || b == b.Func.Entry {
    		return false
    	}
    	s := b.Succs[0].b
    	return s != b && (len(s.Preds) == 1 || emptyBlock(b))
    }
    
    // mergePhi adjusts the number of `v`s arguments to account for merge
    // of `b`, which was `i`th predecessor of the `v`s block.
    func mergePhi(v *Value, i int, b *Block) {
    	u := v.Args[i]
    	if u.Block == b {
    		if u.Op != OpPhi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/complit.go

    	return n.Type().Elem().Size() == 0 || n.Len <= ir.MaxSmallArraySize/n.Type().Elem().Size()
    }
    
    func slicelit(ctxt initContext, n *ir.CompLitExpr, var_ ir.Node, init *ir.Nodes) {
    	// make an array type corresponding the number of elements we have
    	t := types.NewArray(n.Type().Elem(), n.Len)
    	types.CalcSize(t)
    
    	if ctxt == inNonInitFunction {
    		// put everything into static array
    		vstat := staticinit.StaticName(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. tests/upsert_test.go

    	if err := DB.Where("name = ?", "first_or_create_pet1").First(&Pet{}).Error; err != nil {
    		t.Errorf("has many association should be saved")
    	}
    
    	if err := DB.Where("number = ?", "1231231231").First(&Account{}).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/decompose.go

    	v.AddArg(elem)
    
    	// Recursively decompose elem phi.
    	decomposeUserPhi(elem)
    }
    
    // MaxStruct is the maximum number of fields a struct
    // can have and still be SSAable.
    const MaxStruct = 4
    
    // StructMakeOp returns the opcode to construct a struct with the
    // given number of fields.
    func StructMakeOp(nf int) Op {
    	switch nf {
    	case 0:
    		return OpStructMake0
    	case 1:
    		return OpStructMake1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/unify.go

    // t must not be nil.
    func (u *unifier) set(x *TypeParam, t Type) {
    	assert(t != nil)
    	if traceInference {
    		u.tracef("%s ➞ %s", x, t)
    	}
    	*u.handles[x] = t
    }
    
    // unknowns returns the number of type parameters for which no type has been set yet.
    func (u *unifier) unknowns() int {
    	n := 0
    	for _, h := range u.handles {
    		if *h == nil {
    			n++
    		}
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/predicates.go

    		if y, ok := y.(*Pointer); ok {
    			return c.identical(x.base, y.base, p)
    		}
    
    	case *Tuple:
    		// Two tuples types are identical if they have the same number of elements
    		// and corresponding elements have identical types.
    		if y, ok := y.(*Tuple); ok {
    			if x.Len() == y.Len() {
    				if x != nil {
    					for i, v := range x.vars {
    						w := y.vars[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top