Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for Catcher (0.07 sec)

  1. tests/test_ws_router.py

        """
        caught = []
    
        @websocket_middleware
        async def catcher(websocket, call_next):
            try:
                return await call_next()
            except Exception as e:  # pragma: no cover
                caught.append(e)
                raise
    
        myapp = make_app(middleware=[Middleware(catcher)])
    
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher.go

    John Howard <******@****.***> 1719946130 -0700
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/JdkPattern.java

      }
    
      private static final class JdkMatcher extends CommonMatcher {
        final Matcher matcher;
    
        JdkMatcher(Matcher matcher) {
          this.matcher = Preconditions.checkNotNull(matcher);
        }
    
        @Override
        public boolean matches() {
          return matcher.matches();
        }
    
        @Override
        public boolean find() {
          return matcher.find();
        }
    
        @Override
        public boolean find(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                if (obj != null) {
                    value = obj.toString();
                }
                final Matcher matcher = entry.getValue().matcher(value);
                if (allRequired) {
                    if (!matcher.matches()) {
                        return false;
                    }
                } else if (matcher.matches()) {
                    return true;
                }
            }
    
            return allRequired;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            Matcher matcher = LINK_PATTERN.matcher(link);
            if (!matcher.matches()) {
                return null;
            }
    
            String className = null;
            if (matcher.group(1).length() > 0) {
                className = typeNameResolver.resolve(matcher.group(1), classMetaData);
                if (className == null) {
                    return null;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            if (!includeList.isEmpty()) {
                boolean match = false;
                for (final Pattern pattern : includeList) {
                    final Matcher matcher = pattern.matcher(url);
                    if (matcher.matches()) {
                        match = true;
                    }
                }
                if (!match) {
                    return false;
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/JvmUtil.java

            return Arrays.stream(values).map(s -> {
                final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);
                if (!matcher.matches()) {
                    return s;
                }
                final int v = Integer.parseInt(matcher.group(1));
                if ("-".equals(matcher.group(2))) {
                    if (version >= v) {
                        return matcher.group(3);
                    }
                } else if (v == version) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    }
    
    func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) {
    	if ls == nil {
    		return true, ""
    	}
    	selector, err := metav1.LabelSelectorAsSelector(ls)
    	if err != nil {
    		return false, ""
    	}
    	matched = selector.Matches(labels.Set(objLabels))
    	if !matched {
    		return matched, ""
    	}
    	for _, me := range ls.MatchExpressions {
    		switch me.Operator {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            if (StringUtil.isBlank(urlKey)) {
                return null;
            }
    
            for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) {
                final Matcher matcher = entry.getKey().matcher(urlKey);
                if (matcher.matches()) {
                    return entry.getValue();
                }
            }
            return null;
        }
    
        public void setInitParameterMap(final Map<String, Object> params) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top