Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/regexp/syntax/parse.go

    	numRegexp   int               // number of regexps allocated
    	numRunes    int               // number of runes in char classes
    	repeats     int64             // product of all repetitions seen
    	height      map[*Regexp]int   // regexp height, for height limit check
    	size        map[*Regexp]int64 // regexp compiled size, for size limit check
    }
    
    func (p *parser) newRegexp(op Op) *Regexp {
    	re := p.free
    	if re != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/regexp/onepass.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package regexp
    
    import (
    	"regexp/syntax"
    	"slices"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // "One-pass" regexp execution.
    // Some regexps can be analyzed to determine that they never need
    // backtracking: they are guaranteed to run in one pass over the string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

            String rootTestSuiteId = testExecutionSpec.getPath();
    
            TestClassProcessor processor = new XCTestProcessor(getClock(), executable, workingDir, getExecHandleFactory().newExec(), getIdGenerator(), rootTestSuiteId);
    
            Runnable detector = new XCTestDetector(processor, testExecutionSpec.getTestSelection());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

            File tmpDir = temporaryFileProvider.createTemporaryDirectory("jvm", "probe");
            File probe = writeProbeClass(tmpDir);
            ExecHandleBuilder exec = execHandleFactory.newExec();
            exec.setWorkingDir(probe.getParentFile());
            exec.executable(javaExecutable(jdkPath));
            try {
                ByteArrayOutputStream out = new ByteArrayOutputStream();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top