- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 150 for endswith (0.25 sec)
-
tests/test_filter_pydantic_sub_model/app_pv1.py
class ModelA(BaseModel): name: str description: Optional[str] = None model_b: ModelB @validator("name") def lower_username(cls, name: str, values): if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 784 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
if (fileConfigPager.description.startsWith("*")) { cb.query().setDescription_Wildcard(fileConfigPager.description); } else if (fileConfigPager.description.endsWith("*")) { cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY)); } else { cb.query().setDescription_MatchPhrase(fileConfigPager.description);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
final Map<String, List<QueryBuilder>> geoMap = new HashMap<>(); StreamUtil.stream(request.getParameterMap()) .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> { final String key = e.getKey(); for (final String geoField : geoFields) { if (key.startsWith("geo." + geoField + ".")) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
if (!query.startsWith("*")) { queryBuf.append('*'); } queryBuf.append(toLowercaseWildcard(query)); if (!query.endsWith("*")) { queryBuf.append('*'); } final String origQuery = queryBuf.toString(); context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
val sameParamCount = ktCtor.valueParameters.size == ctorParamTypes.size val sameParamTypes = sameParamCount && ctorParamTypes.mapIndexed { idx, paramType -> paramType.endsWith(ktCtor.valueParameters[idx].typeReference!!.text) }.all { it } sameName && sameParamCount && sameParamTypes } ?.isDocumentedAsSince(version) == true } private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
source.visit { FileVisitDetails fvd -> if (fvd.isDirectory()) { return } if (!fvd.getFile().getName().endsWith(".xml")) { return } String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/DataConfigService.java
if (dataConfigPager.description.startsWith("*")) { cb.query().setDescription_Wildcard(dataConfigPager.description); } else if (dataConfigPager.description.endsWith("*")) { cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY)); } else { cb.query().setDescription_MatchPhrase(dataConfigPager.description);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
when { token == null -> { // Value is "double-quoted". That's valid and our regex group already strips the quotes. parameter.groups[3]!!.value } token.startsWith("'") && token.endsWith("'") && token.length > 2 -> { // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes. token.substring(1, token.length - 1) } else -> token }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
int num = Integer.parseInt(expression.substring(2, expression.length() - 1)); filters.add(new HighestVersionFilter(num)); } else if ("l".equals(expression)) { filters.add(new LowestVersionFilter()); } else if (expression.startsWith("l(") && expression.endsWith(")")) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 27.5K bytes - Viewed (0)