Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 386 for zopload (0.13 sec)

  1. src/cmd/go/internal/modcmd/init.go

    	if len(args) > 1 {
    		base.Fatalf("go: 'go mod init' accepts at most one argument")
    	}
    	var modPath string
    	if len(args) == 1 {
    		modPath = args[0]
    	}
    
    	modload.ForceUseModules = true
    	modload.CreateModFile(ctx, modPath) // does all the hard work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. test/fixedbugs/issue42784.go

    // compile
    
    // Copyright 2020 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.
    
    // Ensure that late expansion correctly set OpLoad argument type interface{}
    
    package p
    
    type iface interface {
    	m()
    }
    
    type it interface{}
    
    type makeIface func() iface
    
    func f() {
    	var im makeIface
    	e := im().(it)
    	g(e)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 03:06:15 UTC 2020
    - 426 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/branchelim_test.go

    					Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    					Valu("const1", OpConst32, intType, 1, nil),
    					Valu("const2", OpConst32, intType, 2, nil),
    					Valu("addr", OpAddr, boolType.PtrTo(), 0, nil, "sb"),
    					Valu("cond", OpLoad, boolType, 0, nil, "addr", "start"),
    					If("cond", "b2", "b3")),
    				Bloc("b2",
    					Goto("b3")),
    				Bloc("b3",
    					Valu("phi", OpPhi, intType, 0, nil, "const1", "const2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/run/run.go

    		// Set global module flags for 'go run cmd@version'.
    		// This must be done before modload.Init, but we need to call work.BuildInit
    		// before loading packages, since it affects package locations, e.g.,
    		// for -race and -msan.
    		modload.ForceUseModules = true
    		modload.RootMode = modload.NoRoot
    		modload.AllowMissingModuleImports()
    		modload.Init()
    	} else {
    		modload.InitWorkfile()
    	}
    
    	work.BuildInit()
    	b := work.NewBuilder("")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/workcmd/edit.go

    func flagEditworkUse(arg string) {
    	workedits = append(workedits, func(f *modfile.WorkFile) {
    		_, mf, err := modload.ReadModFile(filepath.Join(arg, "go.mod"), nil)
    		modulePath := ""
    		if err == nil {
    			modulePath = mf.Module.Mod.Path
    		}
    		f.AddUse(modload.ToDirectoryPath(arg), modulePath)
    		if err := f.AddUse(modload.ToDirectoryPath(arg), ""); err != nil {
    			base.Fatalf("go: -use=%s: %v", arg, err)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/go/internal/workcmd/vendor.go

    	cmdVendor.Flag.StringVar(&vendorO, "o", "", "")
    	base.AddChdirFlag(&cmdVendor.Flag)
    	base.AddModCommonFlags(&cmdVendor.Flag)
    }
    
    func runVendor(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    	if modload.WorkFilePath() == "" {
    		base.Fatalf("go: no go.work file found\n\t(run 'go work init' first or specify path using GOWORK environment variable)")
    	}
    
    	modcmd.RunVendor(ctx, vendorE, vendorO, args)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. build-logic/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    val artifactoryUserPassword
        get() = findProperty("artifactoryUserPassword") as String?
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:58 UTC 2024
    - 3.3K 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/toolchain/select.go

    	// Set up modules without an explicit go.mod, to download go.mod.
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.Init()
    	defer modload.Reset()
    
    	// See internal/load.PackagesAndErrorsOutsideModule
    	ctx := context.Background()
    	allowed := modload.CheckAllowed
    	if modload.IsRevisionQuery(path, version) {
    		// Don't check for retractions if a specific revision is requested.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top