Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for manny (5.7 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/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)
  3. 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)
  4. 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)
  5. src/bufio/bufio.go

    	}
    	if err != nil {
    		if n > 0 && n < b.n {
    			copy(b.buf[0:b.n-n], b.buf[n:b.n])
    		}
    		b.n -= n
    		b.err = err
    		return err
    	}
    	b.n = 0
    	return nil
    }
    
    // Available returns how many bytes are unused in the buffer.
    func (b *Writer) Available() int { return len(b.buf) - b.n }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/poset.go

    		if !strict && po.isnoneq(i1, i2) {
    			strict = true
    		}
    
    		// Both n1 and n2 are in the poset. This is the complex part of the algorithm
    		// as we need to find many different cases and DAG shapes.
    
    		// Check if n1 somehow reaches n2
    		if po.reaches(i1, i2, false) {
    			// This is the table of all cases we need to handle:
    			//
    			//      DAG          New      Action
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  7. tests/associations_has_many_test.go

    	user.Pets = append(user.Pets, &pet)
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user, "Pets", 3, "AfterAppend")
    
    	pets2 := []Pet{{Name: "pet-has-many-append-1-1"}, {Name: "pet-has-many-append-1-1"}}
    
    	if err := DB.Model(&user2).Association("Pets").Append(&pets2); err != nil {
    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	for _, pet := range pets2 {
    		pet := pet
    		if pet.ID == 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/memcombine.go

    	ptr *Value
    	idx *Value
    }
    
    // splitPtr returns the base address of ptr and any
    // constant offset from that base.
    // BaseAddress{ptr,nil},0 is always a valid result, but splitPtr
    // tries to peel away as many constants into off as possible.
    func splitPtr(ptr *Value) (BaseAddress, int64) {
    	var idx *Value
    	var off int64
    	for {
    		if ptr.Op == OpOffPtr {
    			off += ptr.AuxInt
    			ptr = ptr.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    		args = append([]interface{}{p.lex.File(), p.lineNum}, args...)
    	}
    	fmt.Fprintf(p.errorWriter, format, args...)
    	p.errorCount++
    	if p.errorCount > 10 && !*flags.AllErrors {
    		log.Fatal("too many errors")
    	}
    }
    
    func (p *Parser) pos() src.XPos {
    	return p.ctxt.PosTable.XPos(src.MakePos(p.lex.Base(), uint(p.lineNum), 0))
    }
    
    func (p *Parser) Parse() (*obj.Prog, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    	Inl *Inline
    
    	// RangeParent, if non-nil, is the first non-range body function containing
    	// the closure for the body of a range function.
    	RangeParent *Func
    
    	// funcLitGen, rangeLitGen and goDeferGen track how many closures have been
    	// created in this function for function literals, range-over-func loops,
    	// and go/defer wrappers, respectively. Used by closureName for creating
    	// unique function names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top