- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 190 for substring (0.06 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) { module = module.substring(0, module.lastIndexOf('/') + 1); } String moduleName = module; if (moduleName.endsWith("/")) { moduleName = moduleName.substring(0, moduleName.length() - 1); } int lastSlash = moduleName.lastIndexOf('/');Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
func handleUTCNow() (*Value, error) { return FromTimestamp(time.Now().UTC()), nil } func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) { // Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and // SUBSTRING('abc', 2, 1) are supported. // Evaluate the string argument v1, err := e.Expr.evalNode(r, tableAlias) if err != nil { return nil, err } inferTypeAsString(v1)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
} if (name.startsWith("!")) { reverseName = true; name = name.substring(1); } String sysValue = properties.getProperty(name); String propValue = property.getValue(); if (propValue != null && !propValue.isEmpty()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
String mainPhase = resolvedPhase.startsWith(BEFORE) ? resolvedPhase.substring(BEFORE.length()) : resolvedPhase.startsWith(AFTER) ? resolvedPhase.substring(AFTER.length()) : resolvedPhase.startsWith(AT) ? resolvedPhase.substring(AT.length()) : resolvedPhase; /*
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
docs_src/generate_clients/tutorial004.js
const tag = operation.tags[0] const operationId = operation.operationId const toRemove = `${tag}-` if (operationId.startsWith(toRemove)) { const newOperationId = operationId.substring(toRemove.length) operation.operationId = newOperationId } } } } await fs.promises.writeFile( filePath, JSON.stringify(openapiContent, null, 2),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Mar 14 11:40:05 GMT 2024 - 1K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
String part1; String part2 = null; if (index < 0) { part1 = version; } else { part1 = version.substring(0, index); part2 = version.substring(index + 1); } if (part2 != null) { if (part2.length() == 1 || !part2.startsWith("0")) { buildNumber = tryParseInt(part2);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
internal/s3select/sql/parser_test.go
"extract(YEAR from '2018-01-09')", "extract(month from '2018-01-09')", "extract(hour from '2018-01-09')", "extract(day from '2018-01-09')", "substring('abcd' from 2 for 2)", "substring('abcd' from 2)", "substring('abcd' , 2 , 2)", "substring('abcd' , 22 )", "trim(' aab ')", "trim(leading from ' aab ')", "trim(trailing from ' aab ')", "trim(both from ' aab ')",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String result; int idx = filename.indexOf('.'); if (idx < 0) { result = filename + '-' + repositoryKey; } else { result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx); } return result; } @Override public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String result; int idx = filename.indexOf('.'); if (idx < 0) { result = filename + '-' + repositoryKey; } else { result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx); } return result; } @Override public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
} else if (style == "javadoc") { def base = javadocUrl.get() def packageName = classMetaData.packageName href = "$base/${packageName.replace('.', '/')}/${className.substring(packageName.length()+1)}.html" } else { throw new InvalidUserDataException("Unknown api link style '$style'.") } if (linkMetaData.urlFragment) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri May 16 07:58:02 GMT 2025 - 5.6K bytes - Click Count (0)