Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for old (0.57 sec)

  1. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "AtomicOr8", argLength: 3, typ: "(Uint8, Mem)", hasSideEffects: true},               // *arg0 |= arg1.  arg2=memory.  Returns old contents of *arg0 and new memory.
    	{name: "AtomicAnd64", argLength: 3, typ: "(Uint64, Mem)", hasSideEffects: true},            // *arg0 &= arg1.  arg2=memory.  Returns old contents of *arg0 and new memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. association.go

    	if association.Error == nil {
    		reflectValue := association.DB.Statement.ReflectValue
    		rel := association.Relationship
    
    		var oldBelongsToExpr clause.Expression
    		// we have to record the old BelongsTo value
    		if association.Unscope && rel.Type == schema.BelongsTo {
    			var foreignFields []*schema.Field
    			for _, ref := range rel.References {
    				if !ref.OwnPrimaryKey {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/schedule.go

    	// Push and Pop use pointer receivers because they modify the slice's length,
    	// not just its contents.
    	v := x.(*Value)
    	h.a = append(h.a, v)
    }
    func (h *ValHeap) Pop() interface{} {
    	old := h.a
    	n := len(old)
    	x := old[n-1]
    	h.a = old[0 : n-1]
    	return x
    }
    func (h ValHeap) Less(i, j int) bool {
    	x := h.a[i]
    	y := h.a[j]
    	sx := h.score[x.ID]
    	sy := h.score[y.ID]
    	if c := sx - sy; c != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		in = in[:len(tt.in)]
    		out := Replace(in, []byte(tt.old), []byte(tt.new), tt.n)
    		if s := string(out); s != tt.out {
    			t.Errorf("Replace(%q, %q, %q, %d) = %q, want %q", tt.in, tt.old, tt.new, tt.n, s, tt.out)
    		}
    		if cap(in) == cap(out) && &in[:1][0] == &out[:1][0] {
    			t.Errorf("Replace(%q, %q, %q, %d) didn't copy", tt.in, tt.old, tt.new, tt.n)
    		}
    		if tt.n == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		// and also because -godefs mode still prints the AST.
    		old := *r.Expr
    		*r.Expr = expr
    
    		// Record source-level edit for cgo output.
    		if !r.Done {
    			// Prepend a space in case the earlier code ends
    			// with '/', which would give us a "//" comment.
    			repl := " " + gofmtPos(expr, old.Pos())
    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/deadstore.go

    func (sr shadowRange) merge(lo, hi int64) shadowRange {
    	if lo < 0 || hi > 0xffff {
    		// Ignore offsets that are too large or small.
    		return sr
    	}
    	if sr.lo() == sr.hi() {
    		// Old range is empty - use new one.
    		return shadowRange(lo + hi<<16)
    	}
    	if hi < sr.lo() || lo > sr.hi() {
    		// The two regions don't overlap or abut, so we would
    		// have to keep track of multiple disjoint ranges.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/cgo/godefs.go

    	for typ, def := range typedef {
    		if new := override[typ]; new != "" {
    			if id, ok := def.Go.(*ast.Ident); ok {
    				override[id.Name] = new
    			}
    		}
    	}
    
    	// Apply overrides.
    	for old, new := range override {
    		if id := goIdent[old]; id != nil {
    			id.Name = new
    		}
    	}
    
    	// Any names still using the _C syntax are not going to compile,
    	// although in general we don't know whether they all made it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/buildid/buildid.go

    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top