Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,115 for execIO (0.19 sec)

  1. src/os/exec/lp_linux_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Check that it works as expected.
    	_, err = exec.LookPath(path)
    	if err != nil {
    		t.Fatalf("LookPath: got %v, want nil", err)
    	}
    
    	for {
    		err = exec.Command(path).Run()
    		if err == nil {
    			break
    		}
    		if errors.Is(err, syscall.ETXTBSY) {
    			// A fork+exec in another process may be holding open the FD that we used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/version_buildvcs_fossil.txt

    chmod 0755 $WORK/fakebin/fossil
    ! exec fossil help
    cd a
    ! go install
    stderr '^error obtaining VCS status: exit status 1\n\tUse -buildvcs=false to disable VCS stamping.$'
    rm $GOBIN/a$GOEXE
    cd ..
    env PATH=$oldpath
    rm $fslckout
    
    # Revision and commit time are tagged for repositories with commits.
    exec fossil open ../repo.fossil -f
    exec fossil add a README
    exec fossil commit -m 'initial commit'
    cd a
    go install
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 15:33:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_compile_multi_pkg.txt

    # run on Unix platforms.
    
    go test -c -o $WORK/some/nonexisting/directory/ ./pkg/...
    exists -exec $WORK/some/nonexisting/directory/pkg1.test$GOEXE
    exists -exec $WORK/some/nonexisting/directory/pkg2.test$GOEXE
    
    go test -c ./pkg/...
    exists -exec pkg1.test$GOEXE
    exists -exec pkg2.test$GOEXE
    
    ! go test -c -o $WORK/bin/test/bin.test.exe ./pkg/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:09:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        super.setUp();
    
        exec = Executors.newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
              @Override
              public void run() {
                listenerLatch.countDown();
              }
            },
            directExecutor());
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (exec != null) {
          exec.shutdown();
        }
    
        super.tearDown();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. misc/ios/detect.go

    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    		return nil, err
    	}
    	return bytes.TrimSpace(out), nil
    }
    
    func getLines(cmd *exec.Cmd) [][]byte {
    	out := output(cmd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

            if (cur != null) {
                Map<String, PluginExecution> execs = new LinkedHashMap<>();
                cur.getExecutions().forEach(e -> execs.put(e.getId(), e));
                plugin.getExecutions().forEach(e -> {
                    int i = 0;
                    String id = e.getId();
                    while (execs.putIfAbsent(id, e.withId(id)) != null) {
                        id = e.getId() + "-" + (++i);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go

    }
    
    // WithExec sets the Exec field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Exec field is set to the value of the last call.
    func (b *LifecycleHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
    	b.Exec = value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:50:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/build_overlay.txt

    cd m
    
    ! go build .
    go build -overlay overlay.json -o main$GOEXE .
    exec ./main$goexe
    stdout '^hello$'
    
    go build -overlay overlay.json -o print_abspath$GOEXE ./printpath
    exec ./print_abspath$GOEXE
    stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go
    
    go build -overlay overlay.json -o print_trimpath$GOEXE -trimpath ./printpath
    exec ./print_trimpath$GOEXE
    stdout ^m[/\\]printpath[/\\]main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/version_buildvcs_bzr.txt

    exec bzr add a README
    exec bzr commit -m 'initial commit'
    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=bzr$'
    stdout '^\tbuild\tvcs.revision='
    stdout '^\tbuild\tvcs.time='
    stdout '^\tbuild\tvcs.modified=false$'
    rm $GOBIN/a$GOEXE
    
    # Building an earlier commit should still build clean.
    cp ../../outside/empty.txt ../NEWS
    exec bzr add ../NEWS
    exec bzr commit -m 'add NEWS'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 03:44:02 UTC 2021
    - 2.7K bytes
    - Viewed (0)
Back to top