Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for testregex (0.19 sec)

  1. src/regexp/exec_test.go

    			i = j + 1
    		}
    	}
    	return out
    }
    
    // TestFowler runs this package's regexp API against the
    // POSIX regular expression tests collected by Glenn Fowler
    // at http://www2.research.att.com/~astopen/testregex/testregex.html.
    func TestFowler(t *testing.T) {
    	files, err := filepath.Glob("testdata/*.dat")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Log(file)
    		testFowler(t, file)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            registerModifiedProperty("processType");
            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/PathMappingDbm.java

                    "processType");
            setupEpg(_epgMap, et -> ((PathMapping) et).getRegex(), (et, vl) -> ((PathMapping) et).setRegex(DfTypeUtil.toString(vl)), "regex");
            setupEpg(_epgMap, et -> ((PathMapping) et).getReplacement(), (et, vl) -> ((PathMapping) et).setReplacement(DfTypeUtil.toString(vl)),
                    "replacement");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

        }
    
        def testHoursZeroMinutes() {
            when:
            setTime(1, 0, 32, 0)
    
            then:
            timer.getElapsed() == "1 hrs 0 mins 32.0 secs"
        }
    
        def testReset() throws Exception {
            when:
            setTime(100)
            timer.reset()
            setTime(200)
    
            then:
            timer.elapsedMillis == 100
        }
    
        def testElapsed() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                });
                if (logger.isDebugEnabled()) {
                    cachedPathMappingList.forEach(e -> {
                        logger.debug("path mapping: {}: {} -> {}", e.getId(), e.getRegex(), e.getReplacement());
                    });
                }
                return cachedPathMappingList.size();
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            asDocMeta().version(version);
        }
    
        public String process(final PathMappingHelper pathMappingHelper, final String input) {
            if (regexPattern == null) {
                regexPattern = Pattern.compile(getRegex());
            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. pilot/pkg/model/virtualservice.go

    	}
    	// If root regex match is specified, delegate should not have other matches.
    	if root.GetRegex() != "" {
    		if leaf.GetRegex() != "" || leaf.GetPrefix() != "" || leaf.GetExact() != "" {
    			return true
    		}
    	}
    	// If delegate regex match is specified, root should not have other matches.
    	if leaf.GetRegex() != "" {
    		if root.GetRegex() != "" || root.GetPrefix() != "" || root.GetExact() != "" {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. src/compress/flate/inflate_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package flate
    
    import (
    	"bufio"
    	"bytes"
    	"io"
    	"strings"
    	"testing"
    )
    
    func TestReset(t *testing.T) {
    	ss := []string{
    		"lorem ipsum izzle fo rizzle",
    		"the quick brown fox jumped over",
    	}
    
    	deflated := make([]bytes.Buffer, 2)
    	for i, s := range ss {
    		w, _ := NewWriter(&deflated[i], 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:23:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
      if (::testing::internal::AlwaysTrue()) { \
        const ::testing::internal::RE& gtest_regex = (regex); \
        ::testing::internal::DeathTest* gtest_dt; \
        if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
            __FILE__, __LINE__, &gtest_dt)) { \
          goto GTEST_CONCAT_TOKEN_(gtest_label_, __LINE__); \
        } \
        if (gtest_dt != NULL) { \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top