Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for making (0.13 sec)

  1. src/cmd/go/internal/modload/buildlist.go

    // IsDirect returns whether the given module provides a package directly
    // imported by a package or test in the main module.
    func (rs *Requirements) IsDirect(path string) bool {
    	return rs.direct[path]
    }
    
    // A ModuleGraph represents the complete graph of module dependencies
    // of a main module.
    //
    // If the main module supports module graph pruning, the graph does not include
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/order.go

    //
    // For:
    //
    //	x = m[string(k)]
    //	x = m[T1{... Tn{..., string(k), ...}}]
    //
    // where k is []byte, T1 to Tn is a nesting of struct and array literals,
    // the allocation of backing bytes for the string can be avoided
    // by reusing the []byte backing array. These are special cases
    // for avoiding allocations when converting byte slices to strings.
    // It would be nice to handle these generally, but because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    	}
    
    	// Make a best-effort attempt to acquire the side lock, only to exclude
    	// previous versions of the 'go' command from making simultaneous edits.
    	if unlock, err := SideLock(ctx); err == nil {
    		defer unlock()
    	}
    
    	err := lockedfile.Transform(GoSumFile, func(data []byte) ([]byte, error) {
    		tidyGoSum := tidyGoSum(data, keep)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/query.go

    	}
    
    	if search.IsMetaPackage(e.Pattern) || strings.Contains(e.Pattern, "...") {
    		return fmt.Sprintf("pattern %s matches package %s in the main module, so can't request version %s", e.Pattern, e.Packages[0], e.Query)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    to it. Whether Go memory is pinned is a dynamic property of that memory
    region; it has nothing to do with the type of the pointer.
    
    Go values created by calling new, by taking the address of a composite
    literal, or by taking the address of a local variable may also have their
    memory pinned using [runtime.Pinner]. This type may be used to manage
    the duration of the memory's pinned status, potentially beyond the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

    	-buildmode=exe
    		Build the listed main packages and everything they import into
    		executables. Packages not named main are ignored.
    
    	-buildmode=pie
    		Build the listed main packages and everything they import into
    		position independent executables (PIE). Packages not named
    		main are ignored.
    
    	-buildmode=plugin
    		Build the listed main packages, plus all packages that they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/link/link_test.go

    		}
    	}
    
    	// Compile a main package.
    	write("main.go", "package main; func main() {}")
    	importcfgfile := filepath.Join(tmpdir, "importcfg")
    	testenv.WriteImportcfg(t, importcfgfile, nil, filepath.Join(tmpdir, "main.go"))
    	runGo("tool", "compile", "-importcfg="+importcfgfile, "-p=main", "main.go")
    	runGo("tool", "pack", "c", "main.a", "main.o")
    
    	// Add an extra section with a short, non-.o name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    //
    // to sbCheck, and returns true. If a is a simple variable or field reference,
    // it writes
    //
    //	_cgoIndexNN := &a
    //
    // and dereferences the uses of _cgoIndexNN. Taking the address avoids
    // making a copy of an array.
    //
    // This tells _cgoCheckPointer to check the complete contents of the
    // slice or array being indexed, but no other part of the memory allocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    }
    
    // HasModRoot reports whether a main module is present.
    // HasModRoot may return false even if Enabled returns true: for example, 'get'
    // does not require a main module.
    func HasModRoot() bool {
    	Init()
    	return modRoots != nil
    }
    
    // MustHaveModRoot checks that a main module or main modules are present,
    // and calls base.Fatalf if there are no main modules.
    func MustHaveModRoot() {
    	Init()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    Test files that declare a package with the suffix "_test" will be compiled as a
    separate package, and then linked and run with the main test binary.
    
    The go tool will ignore a directory named "testdata", making it available
    to hold ancillary data needed by the tests.
    
    As part of building a test binary, go test runs go vet on the package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top