Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for kldload (0.1 sec)

  1. src/cmd/go/internal/fix/fix.go

    // license that can be found in the LICENSE file.
    
    // Package fix implements the “go fix” command.
    package fix
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/load"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/str"
    	"cmd/go/internal/work"
    	"context"
    	"fmt"
    	"go/build"
    	"os"
    )
    
    var CmdFix = &base.Command{
    	UsageLine: "go fix [-fix list] [packages]",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_empty_panic_GOPATH.txt

    # Regression test for https://go.dev/issue/58767:
    # with an empty go.work file in GOPATH mode, calls to load.defaultGODEBUG for a
    # package named "main" panicked in modload.MainModules.GoVersion.
    
    env GO111MODULE=off
    cd example
    go list example/m
    
    -- example/go.work --
    go 1.21
    -- example/m/main.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:18 UTC 2023
    - 329 bytes
    - Viewed (0)
  3. src/cmd/go/internal/fmtcmd/fmt.go

    package fmtcmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"path/filepath"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/load"
    	"cmd/go/internal/modload"
    	"cmd/internal/sys"
    )
    
    func init() {
    	base.AddBuildFlagsNX(&CmdFmt.Flag)
    	base.AddChdirFlag(&CmdFmt.Flag)
    	base.AddModFlag(&CmdFmt.Flag)
    	base.AddModCommonFlags(&CmdFmt.Flag)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modget/query.go

    		}
    		return nil
    	}
    
    	if q.pattern == "all" {
    		// If there is no main module, "all" is not meaningful.
    		if !modload.HasModRoot() {
    			return fmt.Errorf(`cannot match "all": %v`, modload.ErrNoModRoot)
    		}
    		if !versionOkForMainModule(q.version) {
    			// TODO(bcmills): "all@none" seems like a totally reasonable way to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/stat_windows.go

    // Copyright 2019 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.
    
    //go:build windows
    
    package modload
    
    import "io/fs"
    
    // hasWritePerm reports whether the current user has permission to write to the
    // file with the given info.
    func hasWritePerm(_ string, fi fs.FileInfo) bool {
    	// Windows has a read-only attribute independent of ACLs, so use that to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 733 bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/stat_openfile.go

    // are checked by the server and group information is not known to the client,
    // access must open the file to check permissions.”
    //
    // js,wasm is similar, in that it does not define syscall.Access.
    
    package modload
    
    import (
    	"io/fs"
    	"os"
    )
    
    // hasWritePerm reports whether the current user has permission to write to the
    // file with the given info.
    func hasWritePerm(path string, _ fs.FileInfo) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 12 16:45:11 UTC 2022
    - 791 bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/mvs_test.go

    // 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.
    
    package modload
    
    import (
    	"testing"
    )
    
    func TestReqsMax(t *testing.T) {
    	type testCase struct {
    		a, b, want string
    	}
    	reqs := new(mvsReqs)
    	for _, tc := range []testCase{
    		{a: "v0.1.0", b: "v0.2.0", want: "v0.2.0"},
    		{a: "v0.2.0", b: "v0.1.0", want: "v0.2.0"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 818 bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/stat_unix.go

    // Copyright 2019 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.
    
    //go:build unix
    
    package modload
    
    import (
    	"io/fs"
    	"os"
    	"syscall"
    )
    
    // hasWritePerm reports whether the current user has permission to write to the
    // file with the given info.
    //
    // Although the root user on most Unix systems can write to files even without
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 963 bytes
    - Viewed (0)
  9. src/cmd/go/internal/vet/vet.go

    // Package vet implements the “go vet” command.
    package vet
    
    import (
    	"context"
    	"fmt"
    	"path/filepath"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/load"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/trace"
    	"cmd/go/internal/work"
    )
    
    // Break init loop.
    func init() {
    	CmdVet.Run = runVet
    }
    
    var CmdVet = &base.Command{
    	CustomFlags: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (ADDload   <t> [off] {sym} x ptr1 (FMOVDstore [off] {sym} ptr2 y _)) && isSamePtr(ptr1, ptr2) => (ADD   x (LGDR <t> y))
    (SUBload   <t> [off] {sym} x ptr1 (FMOVDstore [off] {sym} ptr2 y _)) && isSamePtr(ptr1, ptr2) => (SUB   x (LGDR <t> y))
    (ORload    <t> [off] {sym} x ptr1 (FMOVDstore [off] {sym} ptr2 y _)) && isSamePtr(ptr1, ptr2) => (OR    x (LGDR <t> y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
Back to top