Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 375 for command (1.21 sec)

  1. src/cmd/internal/test2json/testdata/bench.test

    --- BENCH: BenchmarkFoo-8
    	x_test.go:8: My benchmark
    	x_test.go:8: My benchmark
    	x_test.go:8: My benchmark
    	x_test.go:8: My benchmark
    	x_test.go:8: My benchmark
    	x_test.go:8: My benchmark
    PASS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 22:27:17 UTC 2018
    - 302 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/install_rebuild_removed.txt

    env GO111MODULE=off
    
    # go command should detect package staleness as source file set changes
    go install mypkg
    ! stale mypkg
    
    # z.go was not compiled; removing it should NOT make mypkg stale
    rm mypkg/z.go
    ! stale mypkg
    
    # y.go was compiled; removing it should make mypkg stale
    rm mypkg/y.go
    stale mypkg
    
    # go command should detect executable staleness too
    go install mycmd
    ! stale mycmd
    rm mycmd/z.go
    ! stale mycmd
    rm mycmd/y.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 19 19:57:03 UTC 2019
    - 688 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_match_benchmark_labels.txt

    # Benchmark labels, file outside gopath
    # TODO(matloob): This test was called TestBenchmarkLabelsOutsideGOPATH
    # why "OutsideGOPATH"? Does the go command need to be run outside GOPATH?
    # Do the files need to exist outside GOPATH?
    cp $GOPATH/src/standalone_benchmark_test.go $WORK/tmp/standalone_benchmark_test.go
    go test -run '^$' -bench . $WORK/tmp/standalone_benchmark_test.go
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    ! stdout '^pkg:'
    ! stderr '^pkg:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 577 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_flags.txt

    # *and* output from the test should not be echoed.
    go test ./x -- -test.v
    stdout '\Aok\s+example.com/x\s+[0-9.s]+\n\z'
    ! stderr .
    
    # For backward-compatibility with previous releases of the 'go' command,
    # arguments that appear after unrecognized flags should not be treated
    # as packages, even if they are unambiguously not arguments to flags.
    # Even though ./x looks like a package path, the real package should be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_list_command_line_arguments.txt

    # The command-line-arguments package does not belong to a module...
    cd a
    go list -f '{{.Module}}' ../b/b.go
    stdout '^<nil>$'
    
    # ... even if the arguments are sources from that module
    go list -f '{{.Module}}' a.go
    stdout '^<nil>$'
    
    [short] skip
    
    # check that the version of command-line-arguments doesn't include a module
    go build -o a.exe a.go
    go version -m a.exe
    stdout '^\tpath\tcommand-line-arguments$'
    stdout '^\tdep\ta\t\(devel\)\t$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 20:25:35 UTC 2022
    - 626 bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

            undeclaredInputBroadcast.envVariableRead(key, value, consumer)
        }
    
        override fun externalProcessStarted(command: String, consumer: String) {
            if (Workarounds.canStartExternalProcesses(consumer)) {
                return
            }
            externalProcessListener.onExternalProcessStarted(command, consumer)
        }
    
        override fun fileOpened(file: File, consumer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/goflags.txt

    go env
    stdout GOFLAGS
    
    # Flags listed in GOFLAGS should be safe to duplicate on the command line.
    env GOFLAGS=-tags=magic
    go list -tags=magic
    go test -tags=magic -c -o $devnull
    go vet -tags=magic
    
    # GOFLAGS uses the same quoting rules (quoted.Split) as the rest of
    # the go command env variables
    env GOFLAGS='"-tags=magic wizardry"'
    go list
    
    -- foo_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:47:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. src/packaging/common/scripts/prerm

        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
                /etc/init.d/fess stop || true
            fi
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_pattern.txt

    [compiler:gccgo] skip
    
    # If coverpkg=m/sleepy... expands by package loading
    # (as opposed to pattern matching on deps)
    # then it will try to load sleepybad, which does not compile,
    # and the test command will fail.
    ! go list m/sleepy...
    go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1
    
    -- go.mod --
    module m
    
    go 1.16
    -- sleepy1/p_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 683 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_relative_cmdline.txt

    # Relative imports in command line package
    
    env GO111MODULE=off
    
    # Run tests outside GOPATH.
    env GOPATH=$WORK/tmp
    
    go test ./testimport/p.go ./testimport/p_test.go ./testimport/x_test.go
    stdout '^ok'
    
    -- testimport/p.go --
    package p
    
    func F() int { return 1 }
    -- testimport/p1/p1.go --
    package p1
    
    func F() int { return 1 }
    -- testimport/p2/p2.go --
    package p2
    
    func F() int { return 1 }
    -- testimport/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 688 bytes
    - Viewed (0)
Back to top