Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for mary (0.32 sec)

  1. 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)
  2. src/cmd/cgo/internal/test/issue8517_windows.go

    		t.Fatal(err)
    	}
    	return int(c)
    }
    
    func test8517(t *testing.T) {
    	c1 := processHandleCount(t)
    	C.testHandleLeaks()
    	c2 := processHandleCount(t)
    	if c1+issue8517counter <= c2 {
    		t.Fatalf("too many handles leaked: issue8517counter=%v c1=%v c2=%v", issue8517counter, c1, c2)
    	}
    }
    
    //export testHandleLeaksCallback
    func testHandleLeaksCallback() {
    	issue8517counter++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 990 bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // registerList parses an ARM or ARM64 register list expression, a list of
    // registers in []. There may be comma-separated ranges or individual
    // registers, as in [R1,R3-R5] or [V1.S4, V2.S4, V3.S4, V4.S4].
    // For ARM, only R0 through R15 may appear.
    // For ARM64, V0 through V31 with arrangement may appear.
    //
    // For 386/AMD64 register list specifies 4VNNIW-style multi-source operand.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    		// The os/user functions may fail for any number of reasons
    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9510.go

    import (
    	"runtime"
    	"testing"
    
    	"cmd/cgo/internal/test/issue9510a"
    	"cmd/cgo/internal/test/issue9510b"
    )
    
    func test9510(t *testing.T) {
    	if runtime.GOARCH == "arm" {
    		t.Skip("skipping because libgcc may be a Thumb library")
    	}
    	issue9510a.F(1, 1)
    	issue9510b.F(1, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 606 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/testdata/mangle/plugin.go

    // license that can be found in the LICENSE file.
    
    // Test cases for symbol name mangling.
    
    package main
    
    import (
    	"fmt"
    	"strings"
    )
    
    // Issue 58800:
    // Instantiated function name may contain weird characters
    // that confuse the external linker, so it needs to be
    // mangled.
    type S struct {
    	X int `parser:"|@@)"`
    }
    
    //go:noinline
    func F[T any]() {}
    
    func P() {
    	F[S]()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 18 15:53:47 UTC 2023
    - 722 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/stackalloc.go

    				}
    				s.nNamedSlot++
    				f.setHome(v, name)
    				continue
    			}
    
    		noname:
    			// Set of stack slots we could reuse.
    			typeKey := v.Type.LinkString()
    			locs := locations[typeKey]
    			// Mark all positions in locs used by interfering values.
    			for i := 0; i < len(locs); i++ {
    				used[i] = false
    			}
    			for _, xid := range s.interfere[v.ID] {
    				slot := slots[xid]
    				if slot >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. misc/go_android_exec/exitcode_test.go

    		// We should get a no exit code error
    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testerrors/ptr_test.go

    		}
    		f()
    	}
    }
    `
    
    var csem = make(chan bool, 16)
    
    func testOne(t *testing.T, pt ptrTest, exe, exe2 string) {
    	t.Parallel()
    
    	// Run the tests in parallel, but don't run too many
    	// executions in parallel, to avoid overloading the system.
    	runcmd := func(cgocheck string) ([]byte, error) {
    		csem <- true
    		defer func() { <-csem }()
    		x := exe
    		if cgocheck == "2" {
    			x = exe2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/inline/inlheur/scoring.go

    	if isMust(typ) {
    		if mask&typ != 0 {
    			return score, mask
    		}
    		may := mustToMay(typ)
    		if mask&may != 0 {
    			// promote may to must, so undo may
    			score -= adjValue(may)
    			mask &^= may
    		}
    	} else if isMay(typ) {
    		must := mayToMust(typ)
    		if mask&(must|typ) != 0 {
    			return score, mask
    		}
    	}
    	if mask&typ == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top