Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for kldload (0.15 sec)

  1. src/cmd/go/testdata/script/mod_import_issue41113.txt

    # Initially, our module depends on split-incompatible v2.1.0-pre+incompatible,
    # from which an imported package has been removed (and relocated to the nested
    # split-incompatible/subpkg module). modload.QueryPattern will suggest
    # split-incompatible v2.0.0+incompatible, which we cannot use (because it would
    # be an implicit downgrade), and split-incompatible/subpkg v0.1.0, which we
    # *should* use.
    
    go mod tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 20:45:27 UTC 2020
    - 932 bytes
    - Viewed (0)
  2. src/cmd/go/internal/envcmd/env.go

    func ExtraEnvVars() []cfg.EnvVar {
    	gomod := ""
    	modload.Init()
    	if modload.HasModRoot() {
    		gomod = modload.ModFilePath()
    	} else if modload.Enabled() {
    		gomod = os.DevNull
    	}
    	modload.InitWorkfile()
    	gowork := modload.WorkFilePath()
    	// As a special case, if a user set off explicitly, report that in GOWORK.
    	if cfg.Getenv("GOWORK") == "off" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/query_test.go

    // Copyright 2018 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.
    
    package modload
    
    import (
    	"context"
    	"flag"
    	"internal/testenv"
    	"log"
    	"os"
    	"path"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/vcweb/vcstest"
    
    	"golang.org/x/mod/module"
    )
    
    func TestMain(m *testing.M) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    // (replace, exclude).
    func PackagesAndErrorsOutsideModule(ctx context.Context, opts PackageOpts, args []string) ([]*Package, error) {
    	if !modload.ForceUseModules {
    		panic("modload.ForceUseModules must be true")
    	}
    	if modload.RootMode != modload.NoRoot {
    		panic("modload.RootMode must be NoRoot")
    	}
    
    	// Check that the arguments satisfy syntactic constraints.
    	var version string
    	var firstPath string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/build.go

    //
    // See golang.org/issue/40276 for details and rationale.
    func installOutsideModule(ctx context.Context, args []string) {
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.AllowMissingModuleImports()
    	modload.Init()
    	BuildInit()
    
    	// Load packages. Ignore non-main packages.
    	// Print a warning if an argument contains "..." and matches no main packages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    ((ADD|SUB|MUL|DIV)SSload [off1] {sym} val (ADDQconst [off2] base) mem) && is32Bit(int64(off1)+int64(off2)) =>
    	((ADD|SUB|MUL|DIV)SSload [off1+off2] {sym} val base mem)
    ((ADD|SUB|MUL|DIV)SDload [off1] {sym} val (ADDQconst [off2] base) mem) && is32Bit(int64(off1)+int64(off2)) =>
    	((ADD|SUB|MUL|DIV)SDload [off1+off2] {sym} val base mem)
    ((ADD|AND|OR|XOR)Qconstmodify [valoff1] {sym} (ADDQconst [off2] base) mem) && ValAndOff(valoff1).canAdd32(off2) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go

    	"encoding/csv"
    	"encoding/hex"
    	"flag"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modload"
    
    	"golang.org/x/mod/module"
    )
    
    var (
    	updateTestData = flag.Bool("u", false, "when set, tests may update files in testdata instead of failing")
    	enableZipSum   = flag.Bool("zipsum", false, "enable TestZipSums")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 19:33:59 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/go/main.go

    		vet.CmdVet,
    
    		help.HelpBuildConstraint,
    		help.HelpBuildmode,
    		help.HelpC,
    		help.HelpCache,
    		help.HelpEnvironment,
    		help.HelpFileType,
    		modload.HelpGoMod,
    		help.HelpGopath,
    		modfetch.HelpGoproxy,
    		help.HelpImportPath,
    		modload.HelpModules,
    		modfetch.HelpModuleAuth,
    		help.HelpPackages,
    		modfetch.HelpPrivate,
    		test.HelpTestflag,
    		test.HelpTestfunc,
    		modget.HelpVCS,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/search.go

    // Copyright 2018 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.
    
    package modload
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"strings"
    	"sync"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/imports"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import_test.go

    // Copyright 2018 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.
    
    package modload
    
    import (
    	"context"
    	"internal/testenv"
    	"regexp"
    	"strings"
    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    var importTests = []struct {
    	path string
    	m    module.Version
    	err  string
    }{
    	{
    		path: "golang.org/x/net/context",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 15:29:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top