Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for regexec (0.18 sec)

  1. 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)
  2. 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)
  3. src/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 Feb 27 23:49:01 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. hack/lib/version.sh

          #   v1.1.0-alpha.0.6+84c76d1142ea4d
          #
          # TODO: We continue calling this "git version" because so many
          # downstream consumers are expecting it there.
          #
          # These regexes are painful enough in sed...
          # We don't want to do them in pure shell, so disable SC2001
          # shellcheck disable=SC2001
          DASHES_IN_VERSION=$(echo "${KUBE_GIT_VERSION}" | sed "s/[^-]//g")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/list9.go

    	}
    	if REG_A0 <= r && r <= REG_A7 {
    		return fmt.Sprintf("A%d", r-REG_A0)
    	}
    	if r == REG_CR {
    		return "CR"
    	}
    	if REG_SPR0 <= r && r <= REG_SPR0+1023 {
    		switch r {
    		case REG_XER:
    			return "XER"
    
    		case REG_LR:
    			return "LR"
    
    		case REG_CTR:
    			return "CTR"
    		}
    
    		return fmt.Sprintf("SPR(%d)", r-REG_SPR0)
    	}
    
    	if r == REG_FPSCR {
    		return "FPSCR"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:12:43 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/volume_host.go

    	return func(types.UID) {
    		//nolint:logcheck
    		klog.ErrorS(nil, "DeleteServiceAccountToken unsupported in PersistentVolumeController")
    	}
    }
    
    func (adc *PersistentVolumeController) GetExec(pluginName string) utilexec.Interface {
    	return utilexec.New()
    }
    
    func (ctrl *PersistentVolumeController) GetNodeLabels() (map[string]string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

            }
    
            def execHandleFactory = Mock(ExecHandleFactory)
            def exec = Mock(ExecHandleBuilder)
            execHandleFactory.newExec() >> exec
            PrintStream output
            exec.setStandardOutput(_ as OutputStream) >> { OutputStream outputStream ->
                output = new PrintStream(outputStream)
                null
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. pkg/proxy/conntrack/conntrack.go

    }
    
    // execCT implements Interface by execing the conntrack tool
    type execCT struct {
    	execer exec.Interface
    }
    
    var _ Interface = &execCT{}
    
    func NewExec(execer exec.Interface) Interface {
    	return &execCT{execer: execer}
    }
    
    // noConnectionToDelete is the error string returned by conntrack when no matching connections are found
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top