Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for clobber (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  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/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)
  6. 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)
  7. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

            tempFileStore.withTempFile(key, file -> {
                try {
                    Closer closer = Closer.create();
                    try {
                        result.accept(closer.register(new FileOutputStream(file)));
                    } catch (Exception e) {
                        throw closer.rethrow(e);
                    } finally {
                        closer.close();
                    }
                } catch (IOException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. cmd/bitrot-streaming.go

    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(struct {
    			io.Reader
    			io.Closer
    		}{
    			Reader: b.rc,
    			Closer: closeWrapper(func() error { return nil }),
    		})
    		return closer.Close()
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/test/framework/scope.go

    )
    
    // scope hold resources in a particular scope.
    type scope struct {
    	// friendly name for the scope for debugging purposes.
    	id string
    
    	parent *scope
    
    	resources []resource.Resource
    
    	closers []io.Closer
    
    	children []*scope
    
    	closeChan chan struct{}
    
    	topLevel bool
    
    	skipDump bool
    
    	// Mutex to lock changes to resources, children, and closers that can be done concurrently
    	mu sync.Mutex
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top