Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 118 for old (0.02 sec)

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

    			b[i] = BlockDebug{}
    		}
    	}
    
    	// A list of slots per Value. Reuse the previous child slices.
    	if cap(state.valueNames) < f.NumValues() {
    		old := state.valueNames
    		state.valueNames = make([][]SlotID, f.NumValues())
    		copy(state.valueNames, old)
    	}
    	vn := state.valueNames[:f.NumValues()]
    	for i := range vn {
    		vn[i] = vn[i][:0]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. tests/upsert_test.go

    	} else {
    		var user3 User
    		DB.First(&user3, user.ID)
    		if user3.UpdatedAt.UnixNano() == user2.UpdatedAt.UnixNano() {
    			t.Fatalf("failed to update user's updated_at, old: %v, new: %v", user2.UpdatedAt, user3.UpdatedAt)
    		}
    	}
    }
    
    func TestUpsertSlice(t *testing.T) {
    	langs := []Language{
    		{Code: "upsert-slice1", Name: "Upsert-slice1"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/gover/version.go

    	// that do not declare a Go version. The go command has been
    	// writing go versions to modules since Go 1.12, so a go.mod
    	// without a version is either very old or recently hand-written.
    	// Since we can't tell which, we have to assume it's very old.
    	// The semantics of the go.mod changed at Go 1.17 to support
    	// graph pruning. If see a go.mod without a go line, we have to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/decompose.go

    	if f.Config.RegSize == 4 {
    		applyRewrite(f, rewriteBlockdec64, rewriteValuedec64, leaveDeadValues)
    	}
    
    	// Split up named values into their components.
    	// accumulate old names for aggregates (that are decomposed) in toDelete for efficient bulk deletion,
    	// accumulate new LocalSlots in newNames for addition after the iteration.  This decomposition is for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/s390x/ssa.go

    		//    BNE    2(PC)
    		//    MOVD   $1, ret
    		//    NOP (so the BNE has somewhere to land)
    
    		// CS{,G} arg1, arg2, arg0
    		cs := s.Prog(v.Op.Asm())
    		cs.From.Type = obj.TYPE_REG
    		cs.From.Reg = v.Args[1].Reg() // old
    		cs.Reg = v.Args[2].Reg()      // new
    		cs.To.Type = obj.TYPE_MEM
    		cs.To.Reg = v.Args[0].Reg()
    		ssagen.AddAux(&cs.To, v)
    
    		// MOVD $0, ret
    		movd := s.Prog(s390x.AMOVD)
    		movd.From.Type = obj.TYPE_CONST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/select.go

    // Both go commands can do this simultaneously and will write the same thing
    // (old never changes content).
    func raceSafeCopy(old, new string) error {
    	oldInfo, err := os.Stat(old)
    	if err != nil {
    		return err
    	}
    	newInfo, err := os.Stat(new)
    	if err == nil && newInfo.Size() == oldInfo.Size() {
    		return nil
    	}
    	data, err := os.ReadFile(old)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/read.go

    func unprotect(old bool, errp *error) {
    	// SetPanicOnFault's errors _may_ satisfy this interface. Even though it's not guaranteed
    	// that all its errors satisfy this interface, we'll only check for these errors so that
    	// we don't suppress panics that could have been produced from other sources.
    	type addrer interface {
    		Addr() uintptr
    	}
    
    	debug.SetPanicOnFault(old)
    
    	if e := recover(); e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. callbacks/preload.go

    			return err
    		}
    	}
    
    	fieldValues := make([]interface{}, len(relForeignFields))
    
    	// clean up old values before preloading
    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		switch rel.Type {
    		case schema.HasMany, schema.Many2Many:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/telemetrycmd/telemetry.go

    		fmt.Println(telemetry.Mode())
    		return
    	}
    
    	if len(args) != 1 {
    		cmd.Usage()
    	}
    
    	mode := args[0]
    	if mode != "local" && mode != "off" && mode != "on" {
    		cmd.Usage()
    	}
    	if old := telemetry.Mode(); old == mode {
    		return
    	}
    
    	if err := telemetry.SetMode(mode); err != nil {
    		base.Fatalf("go: failed to set the telemetry mode to %s: %v", mode, err)
    	}
    	if mode == "on" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	// the gcc version is not less than 7 and the clang version is not less than 9,
    	// otherwise a segmentation fault will occur.
    	if !compilerRequiredAsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s: too old version of compiler", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("address")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top