- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for clobber (0.13 sec)
-
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) -
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) -
src/cmd/internal/buildid/buildid_test.go
if elf.ProgType(phdr.Type) == elf.PT_NOTE { // Increase the size so we keep // reading notes. order.PutUint64(data[phoff+4*8:], phdr.Filesz+1) // Clobber the Align field to zero. order.PutUint64(data[phoff+6*8:], 0) // Clobber the note type so we // keep reading notes. order.PutUint32(data[phdr.Off+12:], 0) } phoff += phsize }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/inittask.go
ctxt.mainInittasks = ctxt.inittaskSym([]string{fmt.Sprintf("%s..inittask", objabi.PathToPrefix(*flagPluginPath))}, "go:plugin.inittasks") // Make symbol local so multiple plugins don't clobber each other's inittask list. ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true) case BuildModeShared: // For a shared library, all packages are roots. var roots []string for _, lib := range ctxt.Library {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 6.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/runtime/mwbbuf.go
// file deals only with the buffer. // // The write barrier has a fast path and a slow path. The fast path // simply enqueues to a per-P write barrier buffer. It's written in // assembly and doesn't clobber any general purpose registers, so it // doesn't have the usual overheads of a Go call. // // When the buffer fills up, the write barrier invokes the slow path // (wbBufFlush) to flush the buffer to the GC work queues. In this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0)