Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for clobber (0.1 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    // clobber generates code to clobber pointer slots in all dead variables
    // (those not marked in live). Clobbering instructions are added to the end
    // of b.Values.
    func clobber(lv *liveness, b *ssa.Block, live bitvec.BitVec) {
    	for i, n := range lv.vars {
    		if !live.Get(int32(i)) && !n.Addrtaken() && !n.OpenDeferSlot() && !n.IsOutputParamHeapAddr() {
    			// Don't clobber stack objects (address-taken). They are
    			// tracked dynamically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    	np uintptr
    	x  [1023]int
    }
    
    var G int
    
    //go:noinline
    func clobber() {
    	G++
    }
    
    func ABC(i, j int) int {
    	r := 0
    
    	// here v2 and v3 can be overlapped.
    	clobber()
    	if i < 101 {
    		var v2 Vanilla
    		v2.x[i] = j
    		r += v2.x[j]
    	}
    	if j != 303 {
    		var v3 Vanilla2
    		v3.x[i] = j
    		r += v3.x[j]
    	}
    	clobber()
    
    	// not an overlap candidate (only one var of this size).
    	var s Single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    // Package framepointer defines an Analyzer that reports assembly code
    // that clobbers the frame pointer before saving it.
    package framepointer
    
    import (
    	"go/build"
    	"regexp"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    const Doc = "report assembly that clobbers the frame pointer before saving it"
    
    var Analyzer = &analysis.Analyzer{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/runtime/race_arm64.s

    	load_g
    	MOVD	g_racectx(g), R0	// goroutine context
    	BL	racecall<>(SB)
    	MOVD	R21, R9	// restore the original function
    	// Call the atomic function.
    	// racecall will call LLVM race code which might clobber R28 (g)
    	load_g
    	MOVD	g_racectx(g), R0	// goroutine context
    	MOVD	16(RSP), R1	// caller pc
    	MOVD	R9, R2	// pc
    	ADD	$40, RSP, R3	// arguments
    	BL	racecall<>(SB)
    	// Call __tsan_go_ignore_sync_end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. tools/build-base-images.sh

    # * export DOCKER_ARCHITECTURES="linux/amd64,linux/arm64"
    # Note: if you already have a container builder before running the qemu setup you will need to restart them
    "${ROOT}/tools/docker" --push --no-cache --no-clobber --targets="${DOCKER_TARGETS}"
    
    APKO_IMAGES=""
    for h in ${HUBS}; do
      for t in ${TAGS:-$TAG}; do
        APKO_IMAGES+="${h}/iptables:$t "
      done
    done
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 17:24:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/go/types/conversions.go

    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    			}
    			x.typ = V.typ
    			return Tp.is(func(T *term) bool {
    				if T == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    	&& isSamePtr(p1, p2) && store.Uses == 1
    	&& n >= o2 + t2.Size()
    	&& clobber(store)
    	=> (Zero {t1} [n] p1 mem)
    (Move {t1} [n] dst1 src1 store:(Store {t2} op:(OffPtr [o2] dst2) _ mem))
    	&& isSamePtr(dst1, dst2) && store.Uses == 1
    	&& n >= o2 + t2.Size()
    	&& disjoint(src1, n, op, t2.Size())
    	&& clobber(store)
    	=> (Move {t1} [n] dst1 src1 mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. src/slices/iter_test.go

    			}
    
    			if len(chunks) == 0 {
    				return
    			}
    
    			// Verify that appending to the end of the first chunk does not
    			// clobber the beginning of the next chunk.
    			s := Clone(tc.s)
    			chunks[0] = append(chunks[0], -1)
    			if !Equal(s, tc.s) {
    				t.Errorf("slice was clobbered: %v, want %v", s, tc.s)
    			}
    		})
    	}
    }
    
    func TestChunkPanics(t *testing.T) {
    	for _, test := range []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/conversions.go

    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    			}
    			x.typ = V.typ
    			return Tp.is(func(T *term) bool {
    				if T == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    			s.pkg, obj, fact)
    	}
    	key := key{pkg: obj.Pkg(), obj: obj, t: reflect.TypeOf(fact)}
    	s.mu.Lock()
    	s.m[key] = fact // clobber any existing entry
    	s.mu.Unlock()
    }
    
    func (s *Set) AllObjectFacts(filter map[reflect.Type]bool) []analysis.ObjectFact {
    	var facts []analysis.ObjectFact
    	s.mu.Lock()
    	for k, v := range s.m {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top