Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 208 for startswith (0.1 seconds)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (configFile.isFile()) {
                    try (Stream<String> lines = Files.lines(configFile.toPath(), StandardCharsets.UTF_8)) {
                        String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#"))
                                .toArray(String[]::new);
                        mavenConfig = cliManager.parse(args);
                        List<?> unrecognized = mavenConfig.getArgList();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            bytesRemainingInChunk = socket.source.readHexadecimalUnsignedLong()
            val extensions = socket.source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 17.5K bytes
    - Click Count (7)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

            .map { it.toBoolean() }
            .orElse(
                buildBranch.zip(buildRunningOnCi) { branch, ci ->
                    ci && !listOf("master", "release", "gh-readonly-queue/").any { branch.startsWith(it) }
                }
            ).zip(project.rerunAllTests) { enabled, rerunAllTests ->
                enabled && !rerunAllTests
            }
    
    val Project.testDistributionDogfoodingTag: Provider<String>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        // ----------------------------------------------------------------------
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        public Object convert(final TypeLiteral role, final String value) {
            if (value.trim().startsWith("<")) {
                try {
                    final MXParser parser = new MXParser();
                    parser.setInput(new StringReader(value));
                    parser.nextTag();
    
                    return parse(parser, role);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            addHeaderLenient(headers, header)
            val lowercaseHeader = header.lowercase(Locale.US)
            if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) {
              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  out.writeByte(0x40)
                  writeByteString(name)
                  writeByteString(value)
                  insertIntoDynamicTable(header)
                }
                name.startsWith(Header.PSEUDO_PREFIX) && TARGET_AUTHORITY != name -> {
                  // Follow Chromes lead - only include the :authority pseudo header, but exclude all other
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            List<String> allPhases = graph.visitAll();
            Collections.reverse(allPhases);
            List<String> computed =
                    allPhases.stream().filter(s -> !s.startsWith("$")).collect(Collectors.toList());
            return computed;
        }
    
        private static void addPhase(
                Graph graph, Graph.Vertex before, Graph.Vertex after, org.apache.maven.api.Lifecycle.Phase phase) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
Back to Top