Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 418 for clobber (0.14 sec)

  1. src/runtime/signal_mips64x.go

    	c.set_r28(sigpanicPC >> 32 << 32) // RSB register
    	c.set_r30(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(sigpanicPC)
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    	// for restoring the LR and setting the SP back.
    	// This extra slot is known to gentraceback.
    	sp := c.sp() - 8
    	c.set_sp(sp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/gen/copyGen.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"go/format"
    	"log"
    	"os"
    )
    
    // This program generates tests to verify that copying operations
    // copy the data they are supposed to and clobber no adjacent values.
    
    // run as `go run copyGen.go`.  A file called copy.go
    // will be written into the parent directory containing the tests.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go

    	for item := range *ss {
    		items = append(items, item)
    	}
    	sort.Strings(items)
    	return strings.Join(items, ",")
    }
    
    func (ss *stringSetFlag) Set(s string) error {
    	m := make(map[string]bool) // clobber previous value
    	if s != "" {
    		for _, name := range strings.Split(s, ",") {
    			if name == "" {
    				continue // TODO: report error? proceed?
    			}
    			m[name] = true
    		}
    	}
    	*ss = m
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteS390X.go

    	// match: (MOVBZreg <t> x:(MOVBload [o] {s} p mem))
    	// cond: x.Uses == 1 && clobber(x)
    	// result: @x.Block (MOVBZload <t> [o] {s} p mem)
    	for {
    		t := v.Type
    		x := v_0
    		if x.Op != OpS390XMOVBload {
    			break
    		}
    		o := auxIntToInt32(x.AuxInt)
    		s := auxToSym(x.Aux)
    		mem := x.Args[1]
    		p := x.Args[0]
    		if !(x.Uses == 1 && clobber(x)) {
    			break
    		}
    		b = x.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  5. src/runtime/signal_linux_s390x.go

    	c.set_r0(0)
    	c.set_r13(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    	// for restoring the LR and setting the SP back.
    	// This extra slot is known to gentraceback.
    	sp := c.sp() - 8
    	c.set_sp(sp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 20:42:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/test/testdata/gen/zeroGen.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"go/format"
    	"log"
    	"os"
    )
    
    // This program generates tests to verify that zeroing operations
    // zero the data they are supposed to and clobber no adjacent values.
    
    // run as `go run zeroGen.go`.  A file called zero.go
    // will be written into the parent directory containing the tests.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.1K 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/compile/internal/ssa/_gen/RISCV64.rules

    (MOVHreg  <t> x:(MOVHUload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVHload  <t> [off] {sym} ptr mem)
    (MOVWreg  <t> x:(MOVWUload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVWload  <t> [off] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top