Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 252 for spills (3.37 sec)

  1. misc/editors

    For information about plugins and other support for Go in editors and shells,
    see this page on the Go Wiki:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 06 14:41:47 UTC 2015
    - 159 bytes
    - Viewed (0)
  2. src/runtime/mspanset.go

    			b.spineCap = newCap
    			// We can't immediately free the old spine
    			// since a concurrent push with a lower index
    			// could still be reading from it. We let it
    			// leak because even a 1TB heap would waste
    			// less than 2MB of memory on old spines. If
    			// this is a problem, we could free old spines
    			// during STW.
    		}
    
    		// Allocate a new block from the pool.
    		block = spanSetBlockPool.alloc()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue22458.go

    // compile
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure KeepAlive introduces a use of the spilled variable.
    
    package main
    
    import "runtime"
    
    type node struct {
            next *node
    }
    
    var x bool
    
    func main() {
            var head *node
            for x {
                    head = &node{head}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 19:55:02 UTC 2017
    - 456 bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

                val content = parameters.repoRoot.file("test-splits/include-test-classes.properties").get().asFile.readText()
                println("Tests to be included:\n$content")
                IncludeTestClassProvider(readTestClasses(content))
            }
            parameters.excludeTestClasses.get().isNotBlank() -> {
                val content = parameters.repoRoot.file("test-splits/exclude-test-classes.properties").get().asFile.readText()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 06:28:57 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/gc.go

    		}
    	}
    	return ofiles, nil
    }
    
    func (gcToolchain) symabis(b *Builder, a *Action, sfiles []string) (string, error) {
    	sh := b.Shell(a)
    
    	mkSymabis := func(p *load.Package, sfiles []string, path string) error {
    		args := asmArgs(a, p)
    		args = append(args, "-gensymabis", "-o", path)
    		for _, sfile := range sfiles {
    			if p.ImportPath == "runtime/cgo" && strings.HasPrefix(sfile, "gcc_") {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy

            expect:
            v strictlyEqual(equal)
            v != parse("1.2.c")
            v != parse("1.2")
            v != parse("1.2.b.0")
            v != parse("1.2-b")
            v != parse("1.2b")
        }
    
        def "splits version on punctuation"() {
            expect:
            def version = parse(versionStr)
            version.parts as List == parts
    
            where:
            versionStr      | parts
            'a.b.c'         | ['a', 'b', 'c']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. test/fixedbugs/issue4066.go

    // run
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 4066: return values not being spilled eagerly enough
    
    package main
    
    func main() {
    	n := foo()
    	if n != 2 {
    		println(n)
    		panic("wrong return value")
    	}
    }
    
    type terr struct{}
    
    func foo() (val int) {
    	val = 0
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 04 16:07:21 UTC 2013
    - 543 bytes
    - Viewed (0)
  8. test/fixedbugs/issue18906.go

    	slice = array[1:]
    )
    
    func init() {
    	for i := range array {
    		array[i] = i - 1
    	}
    }
    
    func main() {
    	x := val()
    	y := int(uint8(x))
    	f(y) // try and force y to be calculated and spilled
    	if slice[y] != 255 {
    		panic("incorrect value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 21:27:21 UTC 2017
    - 526 bytes
    - Viewed (0)
  9. src/go/build/build.go

    	// (which means gcc will compile them).
    	// The standard assemblers expect .s files.
    	if len(p.CgoFiles) > 0 {
    		p.SFiles = append(p.SFiles, Sfiles...)
    		slices.Sort(p.SFiles)
    	} else {
    		p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, Sfiles...)
    		slices.Sort(p.IgnoredOtherFiles)
    	}
    
    	if badGoError != nil {
    		return p, badGoError
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/linalg_grad.cc

      std::vector<absl::string_view> splits = absl::StrSplit(subscripts, kEllipsis);
      auto index = splits[0].find(label);
      if (index != splits[0].npos) {
        return index;
      }
      if (splits.size() < 2) {
        return absl::nullopt;
      }
      index = splits[1].find(label);
      if (index != splits[1].npos) {
        return index - splits[1].length();
      }
      return absl::nullopt;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
Back to top