- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 526 for Patterns (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
docs_src/query_params_str_validations/tutorial004_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 335 bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/Constants.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 22 12:43:18 UTC 2024 - 16.6K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial004_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query(min_length=3, max_length=50, pattern="^fixedquery$") ] = None, ): 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 - 381 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial004_an.py
from fastapi import FastAPI, Query from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query(min_length=3, max_length=50, pattern="^fixedquery$") ] = None, ): 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 - 410 bytes - Viewed (0)