Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for testregex (0.16 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/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)
  3. 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)
  4. 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)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/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: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/time/sleep_test.go

    		for i := 0; i < 100; i++ {
    			runtime.GC()
    		}
    		c <- true
    	}()
    	for i := 0; i < 100; i++ {
    		Sleep(0)
    		tmp := make(chan bool, 1)
    		tmp <- true
    		<-tmp
    	}
    	<-c
    }
    
    func testReset(d Duration) error {
    	t0 := NewTimer(2 * d)
    	Sleep(d)
    	if !t0.Reset(3 * d) {
    		return errors.New("resetting unfired timer returned false")
    	}
    	Sleep(2 * d)
    	select {
    	case <-t0.C:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setProcessType(DfTypeUtil.toString(source.get("processType")));
                result.setRegex(DfTypeUtil.toString(source.get("regex")));
                result.setReplacement(DfTypeUtil.toString(source.get("replacement")));
                result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. pilot/pkg/simulation/traffic.go

    			}
    		case *route.RouteMatch_Path:
    			if input.Path != pt.Path {
    				continue
    			}
    		case *route.RouteMatch_SafeRegex:
    			r, err := regexp.Compile(pt.SafeRegex.GetRegex())
    			if err != nil {
    				sim.t.Fatalf("invalid regex %v: %v", pt.SafeRegex.GetRegex(), err)
    			}
    			if !r.MatchString(input.Path) {
    				continue
    			}
    		default:
    			sim.t.Fatalf("unknown route path type %T", pt)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertUrlLink("smb:/home/taro/%E3%81%82.txt", //
                    "file://home/taro/%E3%81%82.txt");
    
            PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("ftp:");
            pathMapping.setReplacement("file:");
            ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping);
            // ftp->file
            assertUrlLink("ftp:/home/taro/test.txt", //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. pkg/bootstrap/instance_test.go

    		case "suffix":
    			pat = pattern.GetSuffix()
    		case "regexp":
    			// Migration tracked in https://github.com/istio/istio/issues/17127
    			//nolint: staticcheck
    			pat = pattern.GetSafeRegex().GetRegex()
    		}
    
    		if pat != "" {
    			patterns = append(patterns, pat)
    		}
    	}
    	gotPattern := strings.Join(patterns, ",")
    	if want != gotPattern {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top