Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for patcher (0.16 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            Pattern pidPattern = isWindows() ? WINDOWS_PID_PATTERN : UNIX_PID_PATTERN;
    
            psOutput.forEach(line -> {
                Matcher commandLineArgsMatcher = commandLineArgsPattern.matcher(line);
                Matcher pidMatcher = pidPattern.matcher(line);
                if (commandLineArgsMatcher.find() && pidMatcher.find()) {
                    String pid = pidMatcher.group(1);
                    if (!MY_PID.equals(pid)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        }
    
        private static boolean isOldMethod(JApiMethod jApiMethod, Map<AccessorKey, ReplacedAccessor> upgradedMethods, Pattern pattern) {
            String name = jApiMethod.getName();
            if (!pattern.matcher(name).matches()) {
                return false;
            }
            return upgradedMethods.containsKey(AccessorKey.ofOldMethod(jApiMethod));
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          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();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
        }
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                if (hasProjectExpression(s)) {
                    String path = pathSupplier.get();
                    Matcher matcher = EXPRESSION_PROJECT_NAME_PATTERN.matcher(s);
                    while (matcher.find()) {
                        String propertyName = matcher.group(0);
    
                        if (path.startsWith("activation.file.") && "${project.basedir}".equals(propertyName)) {
                            continue;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top