Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for testregex (0.58 sec)

  1. src/regexp/testdata/README

    AT&T POSIX Test Files
    See textregex.c for copyright + license.
    
    testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
    basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
    nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
    repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
    
    The test data has been edited to reflect RE2/Go differences:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 27 20:18:25 UTC 2015
    - 957 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/cmd/go/testdata/script/test_regexps.txt

    go test -cpu=1 -run=X/Y -bench=X/Y -count=2 -v testregexp
    
    # Test the following:
    
    # TestX is run, twice
    stdout -count=2 '^=== RUN   TestX$'
    stdout -count=2 '^    x_test.go:6: LOG: X running$'
    
    # TestX/Y is run, twice
    stdout -count=2 '^=== RUN   TestX/Y$'
    stdout -count=2 '^    x_test.go:8: LOG: Y running$'
    
    # TestXX is run, twice
    stdout -count=2 '^=== RUN   TestXX$'
    stdout -count=2 '^    z_test.go:10: LOG: XX running'
    
    # TestZ is not run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1.9K 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. 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)
  9. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE);
        ByteSource source = out.asByteSource();
    
        out.write(data);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE);
        ByteSource source = out.asByteSource();
    
        out.write(data);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top