Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 91 for substring (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                    if (lastIndex >= 0) {
                        String retVal = expr.substring(0, index);
    
                        if ((index > 0) && (expr.charAt(index - 1) == '$')) {
                            retVal += expr.substring(index + 1, lastIndex + 1);
                        } else {
                            Object subResult = evaluate(expr.substring(index, lastIndex + 1));
    
                            if (subResult != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

                        hasPriority = true;
                    } catch (NumberFormatException e) {
                        // priority must be an integer
                        priority = 0;
                        hasPriority = false;
                    }
                }
                if (hasPriority) {
                    this.phase = phase.substring(phaseStart, phaseEnd);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. internal/s3select/sql/analysis.go

    		result.combine(e.Substring.Expr.analyze(s))
    		switch {
    		case e.Substring.From != nil:
    			result.combine(e.Substring.From.analyze(s))
    			if e.Substring.For != nil {
    				result.combine(e.Substring.Expr.analyze(s))
    			}
    		case e.Substring.Arg2 != nil:
    			result.combine(e.Substring.Arg2.analyze(s))
    			if e.Substring.Arg3 != nil {
    				result.combine(e.Substring.Arg3.analyze(s))
    			}
    		default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
                result = actualVersion.equalsIgnoreCase(test);
            }
    
            return reverse != result;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread2, 2);
        assertEquals(
            thread.getName().substring(0, thread.getName().lastIndexOf('-')),
            thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
    
        // Building again should give us a different pool ID.
        ThreadFactory threadFactory2 = builder.build();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
            requireNonNull(out).append(format.normalizeWord(s.substring(i, j)));
          }
          out.append(format.wordSeparator);
          i = j + wordSeparator.length();
        }
        return (i == 0)
            ? format.normalizeFirstWord(s)
            : requireNonNull(out).append(format.normalizeWord(s.substring(i))).toString();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 12 23:20:08 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
            }
    
            return s;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top