Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 365 for regexec (0.2 sec)

  1. 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)
  2. 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)
  3. pkg/wasm/httpfetcher_test.go

    			}
    			if c.wantErrorRegex != "" {
    				if err == nil {
    					t.Errorf("Wasm download got no error, want error regex `%v`", c.wantErrorRegex)
    				} else if matched, regexErr := regexp.MatchString(c.wantErrorRegex, err.Error()); regexErr != nil || !matched {
    					t.Errorf("Wasm download got error `%v`, want error regex `%v`", err, c.wantErrorRegex)
    				}
    			} else if string(b) != wantWasmModule {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go

    // Package lazyregexp is a thin wrapper over regexp, allowing the use of global
    // regexp variables without forcing them to be compiled at init.
    package lazyregexp
    
    import (
    	"os"
    	"regexp"
    	"strings"
    	"sync"
    )
    
    // Regexp is a wrapper around [regexp.Regexp], where the underlying regexp will be
    // compiled the first time it is needed.
    type Regexp struct {
    	str  string
    	once sync.Once
    	rx   *regexp.Regexp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/regexp/backtrack.go

    // state multiple times. This limits the search to run in time linear in
    // the length of the test.
    //
    // backtrack is a fast replacement for the NFA code on small
    // regexps when onepass cannot be used.
    
    package regexp
    
    import (
    	"regexp/syntax"
    	"sync"
    )
    
    // A job is an entry on the backtracker's job stack. It holds
    // the instruction pc and the position in the input.
    type job struct {
    	pc  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. kotlin-js-store/yarn.lock

      integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
      dependencies:
        shebang-regex "^3.0.0"
    
    shebang-regex@^3.0.0:
      version "3.0.0"
      resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
      integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptTemplateBindingFactory.java

            // - pathological case: \" must be encoded as \\\", but other than that, \ MUST NOT be quoted
            // - other characters (including ') will not be quoted
            // - use a state machine rather than regexps
            for (char ch = it.first(); ch != CharacterIterator.DONE; ch = it.next()) {
                String repl = Character.toString(ch);
    
                if (ch == '%') {
                    repl = "%%";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top