Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for shard (3.53 sec)

  1. src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go

    		} else {
    			defer os.RemoveAll(tmpDir)
    		}
    		cfg.BuildContext.GOPATH = tmpDir
    	}
    
    	cfg.GOPROXY = "direct"
    	cfg.GOSUMDB = "off"
    	modload.Init()
    
    	// Shard tests by downloading only every nth module when shard flags are set.
    	// This makes it easier to test small groups of modules quickly. We avoid
    	// testing similarly named modules together (the list is sorted by module
    	// path and version).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 19:33:59 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    		// Only start multiple test dir shards on builders,
    		// where they get distributed to multiple machines.
    		// See issues 20141 and 31834.
    		nShards := 1
    		if os.Getenv("GO_BUILDER_NAME") != "" {
    			nShards = 10
    		}
    		if n, err := strconv.Atoi(os.Getenv("GO_TEST_SHARDS")); err == nil {
    			nShards = n
    		}
    		for shard := 0; shard < nShards; shard++ {
    			id := fmt.Sprintf("%d_%d", shard, nShards)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    	force          = flag.Bool("f", false, "ignore expected-failure test lists")
    	target         = flag.String("target", "", "cross-compile tests for `goos/goarch`")
    
    	shard  = flag.Int("shard", 0, "shard index to run. Only applicable if -shards is non-zero.")
    	shards = flag.Int("shards", 0, "number of shards. If 0, all tests are run. This is used by the continuous build.")
    )
    
    // defaultAllCodeGen returns the default value of the -all_codegen
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/flags/flags.go

    	Shared     = flag.Bool("shared", false, "generate code that can be linked into a shared library")
    	Dynlink    = flag.Bool("dynlink", false, "support references to Go symbols defined in other shared libraries")
    	Linkshared = flag.Bool("linkshared", false, "generate code that will be linked against Go shared libraries")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/testdata/libgo2/libgo2.go

    //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package main
    
    // Test a shared library created by -buildmode=c-shared that does not
    // export anything.
    
    import (
    	"fmt"
    	"os"
    	"syscall"
    )
    
    // To test this we want to communicate between the main program and
    // the shared library without using any exported symbols.  The init
    // function creates a pipe and Dups the read end to a known number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/asm/doc.go

    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/web/url.go

    			if i < 0 {
    				// A degenerate case.
    				// \\host.example.com (without a share name)
    				// becomes
    				// file://host.example.com/
    				return &url.URL{
    					Scheme: "file",
    					Host:   path,
    					Path:   "/",
    				}, nil
    			}
    
    			// \\host.example.com\Share\path\to\file
    			// becomes
    			// file://host.example.com/Share/path/to/file
    			return &url.URL{
    				Scheme: "file",
    				Host:   path[:i],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/dumper.go

    		if x, ok := x.Interface().(*Name); ok {
    			p.printf("%s @ %v", x.Value, x.Pos())
    			return
    		}
    
    		p.printf("*")
    		// Fields may share type expressions, and declarations
    		// may share the same group - use ptrmap to keep track
    		// of nodes that have been printed already.
    		if ptr, ok := x.Interface().(Node); ok {
    			if line, exists := p.ptrmap[ptr]; exists {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/util.go

    // license that can be found in the LICENSE file.
    
    // This file contains various functionality that is
    // different between go/types and types2. Factoring
    // out this code allows more of the rest of the code
    // to be shared.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"go/constant"
    	"go/token"
    )
    
    const isTypes2 = true
    
    // cmpPos compares the positions p and q and returns a result r as follows:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/obj.go

    		// MOVV $sym+<off>, Rx becomes MOVV sym@GOT, Rx; ADD <off>, Rx
    		if p.As != AMOVV {
    			ctxt.Diag("do not know how to handle TYPE_ADDR in %v with -shared", p)
    		}
    		if p.To.Type != obj.TYPE_REG {
    			ctxt.Diag("do not know how to handle LEAQ-type insn to non-register in %v with -shared", p)
    		}
    		p.From.Type = obj.TYPE_MEM
    		p.From.Name = obj.NAME_GOTREF
    		if p.From.Offset != 0 {
    			q := obj.Appendp(p, newprog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top