Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 876 for execIO (0.11 sec)

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

    # even if the test does not stat them explicitly.
    
    [!exec:/bin/sh] skip
    chmod 0755 ./testcache/script.sh
    
    exec ./mkold$GOEXEC 1m testcache/script.sh
    go test testcache -run=Exec
    go test testcache -run=Exec
    stdout '\(cached\)'
    
    exec ./mkold$GOEXE 50s testcache/script.sh
    go test testcache -run=Exec
    ! stdout '\(cached\)'
    go test testcache -run=Exec
    stdout '\(cached\)'
    
    -- testcache/file.txt --
    xx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. misc/wasm/go_wasip1_wasm_exec

    # license that can be found in the LICENSE file.
    
    case "$GOWASIRUNTIME" in
    	"wasmedge")
    		exec wasmedge --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/swig_test.go

    	}
    }
    
    func mustHaveSwigOnce(t *testing.T) {
    	swig, err := exec.LookPath("swig")
    	if err != nil {
    		t.Skipf("swig not in PATH: %s", err)
    	}
    
    	// Check that swig was installed with Go support by checking
    	// that a go directory exists inside the swiglib directory.
    	// See https://golang.org/issue/23469.
    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy

                it.assertExists()
                it.assertDebugFileExists()
                it.exec().out == helloWorldApp.englishOutput
            }
            with (executable("build/exe/main/integration/main")) {
                it.assertExists()
                it.assertDebugFileExists()
                it.exec().out == helloWorldApp.frenchOutput
            }
            with (executable("build/exe/main/release/main")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. src/os/exec/exec_test.go

    // Use an external test to avoid os/exec -> net/http -> crypto/x509 -> os/exec
    // circular dependency on non-cgo darwin.
    
    package exec_test
    
    import (
    	"bufio"
    	"bytes"
    	"context"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/poll"
    	"internal/testenv"
    	"io"
    	"log"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"os/exec"
    	"os/exec/internal/fdtest"
    	"os/signal"
    	"path/filepath"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCustomisationIntegrationTest.groovy

            then:
            executable("build/exe/main/alwaysFrench/main").exec().out == helloWorldApp.frenchOutput
            executable("build/exe/main/alwaysCPlusPlus/main").exec().out == helloWorldApp.englishOutput
            executable("build/exe/execTest/alwaysCPlusPlus/execTest").exec().out == "C++ compiler used"
            executable("build/exe/execTest/alwaysFrench/execTest").exec().out == "C compiler used"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

            and:
            executable(cppExe.dir.file("build/exe/main/main")).exec().out == "Hello, World!\n"
            installation(cppExe.dir.file("build/install/main")).exec().out == "Hello, World!\n"
    
            cleanup:
            toolChain.resetEnvironment()
        }
    
        @ToBeFixedForConfigurationCache
        def "lib"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/goroot_executable_trimpath.txt

    exec $WORK/bin/check$GOEXE $WORK/new/bin/${GOOS}_${GOARCH}/go$GOEXE $WORK/new
    ! stderr 'GOPATH set to GOROOT'
    
    -- check.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	exe := os.Args[1]
    	want := os.Args[2]
    	cmd := exec.Command(exe, "env", "GOROOT")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "%s env GOROOT: %v, %s\n", exe, err, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/AbstractMetadataProvider.java

            ExecAction exec = execActionFactory.newExecAction();
            exec.executable(gccBinary.getAbsolutePath());
            exec.setWorkingDir(gccBinary.getParentFile());
            exec.args(args);
            exec.environment(environmentVariables);
            StreamByteBuffer buffer = new StreamByteBuffer();
            StreamByteBuffer errorBuffer = new StreamByteBuffer();
            exec.setStandardOutput(buffer.getOutputStream());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 13:16:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue21317.go

    // license that can be found in the LICENSE file.
    
    // As of "Mon 6 Nov 2017", run.go doesn't yet have proper
    // column matching so instead match the output manually
    // by exec-ing
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	f, err := ioutil.TempFile("", "issue21317.go")
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Fprintf(f, `
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top