Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 314 for regexec (0.13 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy

                //On some windowses, taskkill does not seem to work when triggered from java
                //On our CIs this works fine
                def e = TestFiles.execHandleFactory().newExec()
                        .commandLine("taskkill.exe", "/?")
                        .redirectErrorStream()
                        .workingDir(new File(".").absoluteFile) //does not matter
                        .build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. pkg/kubelet/container/testing/runtime_mock.go

    }
    
    // GetExec indicates an expected call of GetExec.
    func (mr *MockStreamingRuntimeMockRecorder) GetExec(ctx, id, cmd, stdin, stdout, stderr, tty any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExec", reflect.TypeOf((*MockStreamingRuntime)(nil).GetExec), ctx, id, cmd, stdin, stdout, stderr, tty)
    }
    
    // GetPortForward mocks base method.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy

    import org.gradle.process.internal.ExecHandle
    import org.gradle.process.internal.ExecHandleBuilder
    
    class ScriptExecuter {
        @Delegate
        ExecHandleBuilder builder = TestFiles.execHandleFactory().newExec()
    
        @Override
        ExecHandle build() {
            if (OperatingSystem.current().isWindows()) {
                def theArgs = ['/d', '/c', executable.replace('/', File.separator)] + getArgs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/DefaultOsXJavaHomeCommand.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import java.util.Collections;
    import java.util.Set;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    public class DefaultOsXJavaHomeCommand implements OsXJavaHomeCommand {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. hack/verify-description.sh

        \)
    }
    
    if [[ $# -eq 0 ]]; then
      versioned_api_files=$(find_files) || true
    else
      versioned_api_files="${*}"
    fi
    
    # find_files had incorrect regexes which led to genswaggertypedocs never being invoked.
    # This led to many types.go have missing descriptions.
    # These types.go files are listed in hack/.descriptions_failures
    # Check that the file is in alphabetical order
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. cni/pkg/util/executil.go

    package util
    
    import (
    	"bytes"
    	"errors"
    	"os/exec"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    type ExecList struct {
    	Cmd  string
    	Args []string
    }
    
    func NewExec(cmd string, args []string) *ExecList {
    	return &ExecList{
    		Cmd:  cmd,
    		Args: args,
    	}
    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/execution/JavaModuleExecutionIntegrationTest.groovy

            given:
            buildFile << """
                interface Services {
                    @javax.inject.Inject ExecOperations getExec()
                }
    
                task run {
                    dependsOn jar
                    def execOperations = project.objects.newInstance(Services).exec
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/regalloc.go

    		// See computeLive for more comments.
    		for i := len(oldSched) - 1; i >= 0; i-- {
    			v := oldSched[i]
    			prefs := desired.remove(v.ID)
    			regspec := s.regspec(v)
    			desired.clobber(regspec.clobbers)
    			for _, j := range regspec.inputs {
    				if countRegs(j.regs) != 1 {
    					continue
    				}
    				desired.clobber(j.regs)
    				desired.add(v.Args[j.idx].ID, pickReg(j.regs))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns.go

    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pkg/volume/fc/fc.go

    	// Inject real implementations here, test through the internal function.
    	return plugin.newMounterInternal(spec, pod.UID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    func (plugin *fcPlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Mounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top