Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for patcher (0.21 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            super.visitClassReference(expression)
        }
    
        @OptIn(UnsafeDuringIrConstructionAPI::class)
        private inline fun <reified T : IrSymbol> patchIfNeeded(irSymbol: T?, patcher: (T) -> Unit) {
            if (irSymbol != null) {
                val irDeclaration = irSymbol.owner as? IrMetadataSourceOwner ?: return
                val firDeclaration = (irDeclaration.metadata as? FirMetadataSource)?.fir ?: return
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top