Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for manny (0.03 sec)

  1. schema/relationship.go

    const (
    	HasOne    RelationshipType = "has_one"      // HasOneRel has one relationship
    	HasMany   RelationshipType = "has_many"     // HasManyRel has many relationship
    	BelongsTo RelationshipType = "belongs_to"   // BelongsToRel belongs to relationship
    	Many2Many RelationshipType = "many_to_many" // Many2ManyRel many to many relationship
    	has       RelationshipType = "has"
    )
    
    type Relationships struct {
    	HasOne    []*Relationship
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_lines_test.go

    	testDebugLinesDefault(t, "-N -l", "sayhi.go", "sayhi", []int{8, 9, 10, 11}, false)
    }
    
    func TestDebugLinesPushback(t *testing.T) {
    	unixOnly(t)
    
    	switch testGoArch() {
    	default:
    		t.Skip("skipped for many architectures")
    
    	case "arm64", "amd64": // register ABI
    		fn := "(*List[go.shape.int_0]).PushBack"
    		if true /* was buildcfg.Experiment.Unified */ {
    			// Unified mangles differently
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/stmtlines_test.go

    	} else if runtime.GOARCH == "riscv64" {
    		m = 3 // XXX temporary update threshold to 97% for regabi
    	} else {
    		m = 2 // expect 98% elsewhere.
    	}
    
    	if len(nonStmtLines)*100 > m*len(lines) {
    		t.Errorf("Saw too many (%s, > %d%%) lines without statement marks, total=%d, nostmt=%d ('-run TestStmtLines -v' lists failing lines)\n", runtime.GOARCH, m, len(lines), len(nonStmtLines))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ppc64/ssa.go

    			p.From.Reg = ppc64.REG_VS32
    			p.To.Type = obj.TYPE_MEM
    			p.To.Reg = v.Args[0].Reg()
    			p.To.Offset = offset
    			offset += 16
    			rem -= 16
    		}
    
    		// first clear as many doublewords as possible
    		// then clear remaining sizes as available
    		for rem > 0 {
    			op, size := ppc64.AMOVB, int64(1)
    			switch {
    			case rem >= 8:
    				op, size = ppc64.AMOVD, 8
    			case rem >= 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/tighten.go

    // dominates all blocks in which it is used.
    func tighten(f *Func) {
    	if base.Flag.N != 0 && len(f.Blocks) < 10000 {
    		// Skip the optimization in -N mode, except for huge functions.
    		// Too many values live across blocks can cause pathological
    		// behavior in the register allocator (see issue 52180).
    		return
    	}
    
    	canMove := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(canMove)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. 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 {
    		t.Errorf("belongs to association should be saved")
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/decompose.go

    	switch nf {
    	case 0:
    		return OpStructMake0
    	case 1:
    		return OpStructMake1
    	case 2:
    		return OpStructMake2
    	case 3:
    		return OpStructMake3
    	case 4:
    		return OpStructMake4
    	}
    	panic("too many fields in an SSAable struct")
    }
    
    type namedVal struct {
    	locIndex, valIndex int // f.NamedValues[f.Names[locIndex]][valIndex] = key
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    // lattice of a value is changed, we need to update lattices of use. But we don't
    // need all uses of it, only uses that can become constants would be added into
    // re-visit worklist since no matter how many times they are revisited, uses which
    // can't become constants lattice remains unchanged, i.e. Bottom.
    func (t *worklist) buildDefUses() {
    	for _, block := range t.f.Blocks {
    		for _, val := range block.Values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/compile.go

    	// nilcheckelim generates sequences of plain basic blocks
    	{"nilcheckelim", "late fuse"},
    	// nilcheckelim relies on opt to rewrite user nil checks
    	{"opt", "nilcheckelim"},
    	// tighten will be most effective when as many values have been removed as possible
    	{"generic deadcode", "tighten"},
    	{"generic cse", "tighten"},
    	// checkbce needs the values removed
    	{"generic deadcode", "check bce"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    // This implicitly flushes any padding necessary before writing the header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top