Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for browser (0.23 sec)

  1. src/cmd/internal/browser/browser.go

    // license that can be found in the LICENSE file.
    
    // Package browser provides utilities for interacting with users' browsers.
    package browser
    
    import (
    	"os"
    	"os/exec"
    	"runtime"
    	"time"
    )
    
    // Commands returns a list of possible commands to use to open a url.
    func Commands() [][]string {
    	var cmds [][]string
    	if exe := os.Getenv("BROWSER"); exe != "" {
    		cmds = append(cmds, []string{exe})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/bug.txt

    [short] skip
    
    go install
    go build -o $TMPDIR/go ./go
    env BROWSER=$GOPATH/bin/browser PATH=$TMPDIR:$PATH
    go bug
    exists $TMPDIR/browser
    grep '^go version' $TMPDIR/browser
    grep '^GOROOT/bin/go version: go version' $TMPDIR/browser
    grep '^GOROOT/bin/go tool compile -V: compile version' $TMPDIR/browser
    grep '^uname -sr: Linux' $TMPDIR/browser
    
    -- go.mod --
    module browser
    
    -- main.go --
    package main
    
    import (
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 963 bytes
    - Viewed (0)
  3. src/cmd/trace/doc.go

    	go tool pprof TYPE.pprof
    
    Note that while the various profiles available when launching
    'go tool trace' work on every browser, the trace viewer itself
    (the 'view trace' page) comes from the Chrome/Chromium project
    and is only actively tested on that browser.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. src/runtime/mem_wasip1.go

    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package runtime
    
    func resetMemoryDataView() {
    	// This function is a no-op on WASI, it is only used to notify the browser
    	// that its view of the WASM memory needs to be updated when compiling for
    	// GOOS=js.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 392 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_nomod.txt

    # Test go commands with no module.
    env GO111MODULE=on
    
    # go mod edit fails unless given explicit mod file argument
    ! go mod edit -json
    go mod edit -json x.mod
    
    # bug succeeds
    [exec:echo] env BROWSER=echo
    [exec:echo] go bug
    
    # commands that load the package in the current directory fail
    ! go build
    ! go fmt
    ! go generate
    ! go get
    ! go install
    ! go list
    ! go run
    ! go test
    ! go vet
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 29 18:57:53 UTC 2018
    - 644 bytes
    - Viewed (0)
  6. src/cmd/cover/html.go

    package main
    
    import (
    	"bufio"
    	"cmd/internal/browser"
    	"fmt"
    	"html/template"
    	"io"
    	"math"
    	"os"
    	"path/filepath"
    	"strings"
    
    	"golang.org/x/tools/cover"
    )
    
    // htmlOutput reads the profile data from profile and generates an HTML
    // coverage report, writing it to outfile. If outfile is empty,
    // it writes the report to a temporary file and opens it in a web browser.
    func htmlOutput(profile, outfile string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  7. src/cmd/internal/osinfo/os_js.go

    package osinfo
    
    import (
    	"fmt"
    	"syscall/js"
    )
    
    // Version returns the OS version name/number.
    func Version() (string, error) {
    	// Version detection on Wasm varies depending on the underlying runtime
    	// (browser, node, etc), nor is there a standard via something like
    	// WASI (see https://go.dev/issue/31105). For now, attempt a few simple
    	// combinations for the convenience of reading logs at build.golang.org
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:43:17 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/01-pkgsite.yml

        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/svg.go

    	graphID  = regexp.MustCompile(`<g id="graph\d"`)
    	svgClose = regexp.MustCompile(`</svg>`)
    )
    
    // massageSVG enhances the SVG output from DOT to provide better
    // panning inside a web browser. It uses the svgpan library, which is
    // embedded into the svgpan.JSSource variable.
    func massageSVG(svg string) string {
    	// Work around for dot bug which misses quoting some ampersands,
    	// resulting on unparsable SVG.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/web/http.go

    	"errors"
    	"fmt"
    	"io"
    	"mime"
    	"net"
    	"net/http"
    	urlpkg "net/url"
    	"os"
    	"strings"
    	"time"
    
    	"cmd/go/internal/auth"
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/internal/browser"
    )
    
    // impatientInsecureHTTPClient is used with GOINSECURE,
    // when we're connecting to https servers that might not be there
    // or might be using self-signed certificates.
    var impatientInsecureHTTPClient = &http.Client{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top