Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,115 for execIO (0.12 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            appObjects.recompiledFiles(appOtherSourceFile, sourceFile)
            libObjects.noneRecompiled()
    
            and:
            install.exec().out == "Hi world"
    
            when:
            unused << "broken again"
    
            then:
            succeeds installApp
            install.exec().out == "Hi world"
    
            and:
            allSkipped()
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/script_wait.txt

    env GO111MODULE=off
    
    [!exec:echo] skip
    [!exec:false] skip
    
    exec echo foo
    stdout foo
    
    exec echo foo &
    exec echo bar &
    ! exec false &
    
    # Starting a background process should clear previous output.
    ! stdout foo
    
    # Wait should set the output to the concatenated outputs of the background
    # programs, in the order in which they were started.
    wait
    stdout 'foo\nbar'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 693 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_buildvcs_auto.txt

    [short] skip
    [!git] skip
    
    cd sub
    exec git init .
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git add sub.go
    exec git commit -m 'initial state'
    cd ..
    
    exec git init
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git submodule add ./sub
    exec git add go.mod example.go
    exec git commit -m 'initial state'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/execarchive.go

    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    			Exitf("cannot find %s: %v", argv[0], err)
    		}
    	}
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("invoking archiver with syscall.Exec()\n")
    	}
    	err = syscall.Exec(argv0, argv, os.Environ())
    	if err != nil {
    		Exitf("running %s failed: %v", argv[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_build_simple.txt

    [race] go build -o examplewithrace.exe -race -cover example/main &
    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    
    # ... then with GOCOVERDIR set.
    env GOCOVERDIR=data/normal
    exec ./example.exe normal
    ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    go tool covdata percent -i=data/normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/prober_test.go

    		cmd := []string{"/foo", "bar"}
    		exec := prober.newExecInContainer(ctx, container, containerID, cmd, 0)
    
    		var dataBuffer bytes.Buffer
    		writer := ioutils.LimitWriter(&dataBuffer, int64(limit))
    		exec.SetStderr(writer)
    		exec.SetStdout(writer)
    		err := exec.Start()
    		if err == nil {
    			err = exec.Wait()
    		}
    		actualOutput := dataBuffer.Bytes()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. src/os/exec/example_test.go

    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    	"time"
    )
    
    func ExampleLookPath() {
    	path, err := exec.LookPath("fortune")
    	if err != nil {
    		log.Fatal("installing fortune is in your future")
    	}
    	fmt.Printf("fortune is available at %s\n", path)
    }
    
    func ExampleCommand() {
    	cmd := exec.Command("tr", "a-z", "A-Z")
    	cmd.Stdin = strings.NewReader("some input")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:18:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/execution/SetupLoggingActionExecutor.java

    import org.gradle.internal.invocation.BuildAction;
    import org.gradle.internal.logging.LoggingManagerInternal;
    import org.gradle.launcher.exec.BuildActionExecutor;
    import org.gradle.launcher.exec.BuildActionParameters;
    import org.gradle.launcher.exec.BuildActionResult;
    import org.gradle.launcher.exec.BuildExecutor;
    
    /**
     * Sets up logging around a session.
     */
    public class SetupLoggingActionExecutor implements BuildExecutor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
        // Wait for the listener latch to complete.
        listenerLatch.await(500, MILLISECONDS);
    
        exec.shutdown();
        exec.awaitTermination(500, MILLISECONDS);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_gobuild_import.txt

    # GO111MODULE=off
    env GO111MODULE=off
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto in GOPATH/src
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    
    # GO111MODULE=auto outside GOPATH/src
    cd $GOPATH/other
    env GO111MODULE=auto
    exec $WORK/testimport$GOEXE other/x/y/z/w .
    stdout w2.go
    
    ! exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top