Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for shop (0.11 sec)

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

    # GIT_CONFIG_GLOBAL suffices for git 2.32.0 and newer.
    # For older git versions we also set $HOME.
    env GIT_CONFIG_GLOBAL=$WORK${/}home${/}gopher${/}.gitconfig
    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    ! go mod download github.com/golang/nonexist@latest
    stderr 'Confirm the import path was entered correctly.'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/tool/tool.go

    For more about each tool command, see 'go doc cmd/<command>'.
    `,
    }
    
    var toolN bool
    
    // Return whether tool can be expected in the gccgo tool directory.
    // Other binaries could be in the same directory so don't
    // show those with the 'go tool' command.
    func isGccgoTool(tool string) bool {
    	switch tool {
    	case "cgo", "fix", "cover", "godoc", "vet":
    		return true
    	}
    	return false
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/html/header.html

          <a title="{{.Help.ignore}}" href="?" id="ignore">Ignore</a>
          <a title="{{.Help.hide}}" href="?" id="hide">Hide</a>
          <a title="{{.Help.show}}" href="?" id="show">Show</a>
          <a title="{{.Help.show_from}}" href="?" id="show-from">Show from</a>
          <hr>
          <a title="{{.Help.reset}}" href="?">Reset</a>
        </div>
      </div>
    
      <div id="config" class="menu-item">
        <div class="menu-name">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_syso_issue29253.txt

    env GO111MODULE=off
    [short] skip
    
    # This test tests that we can link in-package syso files that provides symbols
    # for cgo. See issue 29253.
    [!cgo] stop
    [!compiler:gc] stop
    cc -c -o pkg/o.syso ext.c
    go build main.go
    
    -- ext.c --
    // +build ignore
    
    int f() { return 42; }
    -- pkg/pkg.go --
    package pkg
    
    // extern int f(void);
    import "C"
    
    func init() {
    	if v := C.f(); v != 42 {
    		panic(v)
    	}
    }
    -- main.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 450 bytes
    - Viewed (0)
  5. src/cmd/link/testdata/linkname/coro.go

    // is instantiated in the same package.
    
    package main
    
    import (
    	"iter"
    	"unsafe"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    func main() {
    	next, stop := iter.Pull(seq)
    	next()
    	stop()
    	coroswitch(nil)
    }
    
    //go:linkname coroswitch runtime.coroswitch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 506 bytes
    - Viewed (0)
  6. src/context/afterfunc_test.go

    	ctx0.cancel(context.Canceled)
    	<-ctx1.Done()
    }
    
    func TestCustomContextAfterFuncAfterFunc(t *testing.T) {
    	ctx0 := &afterFuncContext{}
    	donec := make(chan struct{})
    	stop := context.AfterFunc(ctx0, func() {
    		close(donec)
    	})
    	defer stop()
    	ctx0.cancel(context.Canceled)
    	<-donec
    }
    
    func TestCustomContextAfterFuncUnregisterCancel(t *testing.T) {
    	ctx0 := &afterFuncContext{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:58:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    stderr '^go: -modfile cannot be used with commands that ignore the current module$'
    cd ..
    
    
    # Every test case requires linking, so we only cover the most important cases
    # when -short is set.
    [short] stop
    
    
    # 'go install pkg@version' works on a module that doesn't have a go.mod file
    # and with a module whose go.mod file has missing requirements.
    # With a proxy, the two cases are indistinguishable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	"compact_labels": "Show minimal headers",
    	"source_path":    "Search path for source files",
    	"trim_path":      "Path to trim from source paths before search",
    	"intel_syntax": helpText(
    		"Show assembly in Intel syntax",
    		"Only applicable to commands `disasm` and `weblist`"),
    
    	// Filtering options
    	"nodecount": helpText(
    		"Max number of nodes to show",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. src/context/example_test.go

    func ExampleAfterFunc_connection() {
    	readFromConn := func(ctx context.Context, conn net.Conn, b []byte) (n int, err error) {
    		stopc := make(chan struct{})
    		stop := context.AfterFunc(ctx, func() {
    			conn.SetReadDeadline(time.Now())
    			close(stopc)
    		})
    		n, err = conn.Read(b)
    		if !stop() {
    			// The AfterFunc was started.
    			// Wait for it to complete, and reset the Conn's deadline.
    			<-stopc
    			conn.SetReadDeadline(time.Time{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/doc/main.go

    	flagSet.BoolVar(&unexported, "u", false, "show unexported symbols as well as exported")
    	flagSet.BoolVar(&matchCase, "c", false, "symbol matching honors case (paths not affected)")
    	flagSet.BoolVar(&showAll, "all", false, "show all documentation for package")
    	flagSet.BoolVar(&showCmd, "cmd", false, "show symbols with package docs even if package is a command")
    	flagSet.BoolVar(&showSrc, "src", false, "show source code for symbol")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top