Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 208 for startswith (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
                            result = false;
                            break;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
                    String packageLine = lines.filter(line -> line.startsWith("package"))
                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
                    Matcher matcher = pattern.matcher(packageLine);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

            INSTANCES[javaName] = result
          }
          return result
        }
    
        private fun secondaryName(javaName: String): String =
          when {
            javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4)
            javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4)
            else -> javaName
          }
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
                        stringBuilder.append(" (").append(locationPath).append(")");
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. okhttp/build.gradle.kts

          allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") }
        }
        if (name.matches("test.*UnitTest".toRegex()) && javaLauncher.get().metadata.languageVersion.asInt() < 17) {
          // Work around robolectric requirements and limitations
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        get(redirectSourceUrl)
        val request = redirectSource.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("c=cookie")
        for (header in redirectTarget.takeRequest().headers.names()) {
          if (header.startsWith("Cookie")) {
            fail(header)
          }
        }
      }
    
      @Test
      fun testCookiesSentIgnoresCase() {
        client =
          client
            .newBuilder()
            .cookieJar(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                                }
                            }
                        } else if (!value.getClass().isPrimitive()
                                && !value.getClass().getName().startsWith("java.")) {
                            processModelNode(value, fullPath, field.getName(), visited);
                        }
                    } catch (Exception e) {
                        // Skip inaccessible or problematic fields
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            assertEquals(1, steps.size)
    
            val step = gradleStep(steps, 0)
            step.assertTasks("clean promoteStartReleaseCycle")
            assertTrue(step.gradleParams!!.startsWith("""-PconfirmationCode=startCycle -PtestRun=1"""))
        }
    
        @Test
        fun `nightly promotion from quick feedback build type runs three gradle invocations`() {
            val model = setupModelFor("release")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            this.providedArtifacts = exports.getExportedArtifacts();
    
            this.providedArtifactsV4 = providedArtifacts.stream()
                    .filter(ga -> ga.startsWith("org.apache.maven:maven-api-"))
                    .collect(Collectors.toSet());
        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top