Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for clobber (0.12 sec)

  1. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    	.globl	notoc_func
    	.type	notoc_func, @function
    notoc_func:
    	// Save R2 and LR and stack a frame.
    	mflr	0
    	std	0,16(1)
    	stdu	1,-32(1)
    
    	// Save R2 in TOC save slot.
    	std	2,24(1)
    
    	// clobber R2
    	li	2,0
    
    	// Call type2_func. A call stub from notoc to toc should be inserted.
    	bl	toc_func@notoc
    
    	// Call libc random. A notoc plt stub should be inserted.
    	bl	random@notoc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/wasm/a.out.go

    package wasm
    
    import "cmd/internal/obj"
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p wasm
    
    const (
    	/* mark flags */
    	DONE          = 1 << iota
    	PRESERVEFLAGS // not allowed to clobber flags
    )
    
    /*
     *	wasm
     */
    const (
    	AGet = obj.ABaseWasm + obj.A_ARCHSPECIFIC + iota
    	ASet
    	ATee
    	ANot // alias for I32Eqz
    
    	// The following are low-level WebAssembly instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/signal_loong64.go

    	c.set_r22(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: Tue Mar 21 06:51:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/signal_riscv64.go

    	c.set_gp(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() - goarch.PtrSize
    	c.set_sp(sp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/runtime/signal_arm64.go

    	c.set_r28(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 space is known to gentraceback.
    	sp := c.sp() - 16 // SP needs 16-byte alignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top