Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 625 for Pattern (0.04 sec)

  1. okhttp/src/test/java/okhttp3/RecordedResponse.kt

          assertThat(messages).contains(failure!!.message)
        }
    
      fun assertFailureMatches(vararg patterns: String) =
        apply {
          val message = failure!!.message!!
          assertThat(
            patterns.firstOrNull { pattern ->
              message.matches(pattern.toRegex())
            },
          ).isNotNull()
        }
    
      fun assertSentRequestAtMillis(
        minimum: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. fastapi/encoders.py

        GeneratorType: list,
        IPv4Address: str,
        IPv4Interface: str,
        IPv4Network: str,
        IPv6Address: str,
        IPv6Interface: str,
        IPv6Network: str,
        NameEmail: str,
        Path: str,
        Pattern: lambda o: o.pattern,
        SecretBytes: str,
        SecretStr: str,
        set: list,
        UUID: str,
        Url: str,
        AnyUrl: str,
    }
    
    
    def generate_encoders_by_class_tuples(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                                                pattern="yyyy-MM-dd'T'HH:mm:ss"/></td>
                                                        <td><c:if test="${data.endTime!=null}">
                                                            <fmt:formatDate value="${fe:date(data.endTime)}"
                                                                            pattern="yyyy-MM-dd'T'HH:mm:ss"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        // different from each other. If buildKeepingLast() collapsed duplicates, that might end up not
        // being true.
        Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
        assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelVersionParser implements ModelVersionParser {
        private static final String SNAPSHOT = "SNAPSHOT";
        private static final Pattern SNAPSHOT_TIMESTAMP = Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
        private final VersionScheme versionScheme;
    
        @Inject
        public DefaultModelVersionParser(VersionScheme versionScheme) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.tryParse(input)).isEqualTo(Double.valueOf(expected));
        assertThat(input)
            .matches(
                Pattern.compile(
                    Doubles.FLOATING_POINT_PATTERN.pattern(), Doubles.FLOATING_POINT_PATTERN.flags()));
      }
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseHex() {
        for (String signChar : ImmutableList.of("", "+", "-")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. internal/event/rules_test.go

    	rulesCase7.Add(NewPattern("", "*.jpg"), TargetID{"1", "webhook"})
    
    	rulesCase8 := make(Rules)
    	rulesCase8.Add(NewPattern("2010*", ""), TargetID{"1", "webhook"})
    
    	testCases := []struct {
    		rules          Rules
    		pattern        string
    		targetID       TargetID
    		expectedResult int
    	}{
    		{rulesCase1, NewPattern("*", ""), TargetID{"1", "webhook"}, 1},
    		{rulesCase2, NewPattern("*", ""), TargetID{"2", "amqp"}, 2},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig_test.go

    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    *ScopeLevelPair
    		wantErr bool
    	}{
    		{
    			name:    "Fail when logs scope-level pair don't match pattern",
    			args:    args{validationPattern: validationPattern, slp: "invalid:pattern"},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial004_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 335 bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

    /**
     */
    public class PluginDescriptor extends ComponentSetDescriptor implements Cloneable {
    
        private static final String LIFECYCLE_DESCRIPTOR = "META-INF/maven/lifecycle.xml";
    
        private static final Pattern PATTERN_FILTER_1 = Pattern.compile("-?(maven|plugin)-?");
    
        private String groupId;
    
        private String artifactId;
    
        private String version;
    
        private String goalPrefix;
    
        private String source;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top