Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 208 for startswith (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
        }
    
        private String canonicalFileUrl(String url) throws IOException {
            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          secondSpace != -1 && firstSpace == CLEAN.length && line.startsWith(CLEAN) -> {
            val parts =
              line
                .substring(secondSpace + 1)
                .split(' ')
            entry.readable = true
            entry.currentEditor = null
            entry.setLengths(parts)
          }
    
          secondSpace == -1 && firstSpace == DIRTY.length && line.startsWith(DIRTY) -> {
            entry.currentEditor = Editor(entry)
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        }
    
        fun factory(packageName: String): DeferredSocketAdapter.Factory =
          object : DeferredSocketAdapter.Factory {
            override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket.javaClass.name.startsWith("$packageName.")
    
            override fun create(sslSocket: SSLSocket): SocketAdapter = build(sslSocket.javaClass)
          }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    ---
    
    Aber wenn Sie neugierig auf dieses spezielle Codebeispiel sind und immer noch Spaß haben, hier sind einige zusätzliche Details.
    
    #### Zeichenkette mit `value.startswith()` { #string-with-value-startswith }
    
    Haben Sie bemerkt? Eine Zeichenkette mit `value.startswith()` kann ein Tuple übernehmen, und es wird jeden Wert im Tuple überprüfen:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/query-params-str-validations.md

    ---
    
    Mas se você está curioso sobre este exemplo específico e ainda entretido, aqui vão alguns detalhes extras.
    
    #### String com `value.startswith()` { #string-with-value-startswith }
    
    Percebeu? Uma string usando `value.startswith()` pode receber uma tupla, e verificará cada valor na tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
        actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

                String line;
                while ((line = reader.readLine()) != null) {
                    line = line.replaceFirst("\\s*\\* ?", "");
                    if (line.startsWith("@")) {
                        // Ignore the tag section of the comment
                        break;
                    }
                    builder.append(line);
                    builder.append("\n");
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  8. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

      }
    
      companion object {
        val logger: Logger = Logger.getLogger(Http2Server::class.java.name)
    
        @JvmStatic
        fun main(args: Array<String>) {
          if (args.size != 1 || args[0].startsWith("-")) {
            println("Usage: Http2Server <base directory>")
            return
          }
          val server =
            Http2Server(
              File(args[0]),
              localhost().sslContext().socketFactory,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/query-params-str-validations.md

    ---
    
    Pero si te da curiosidad este ejemplo de código específico y sigues entretenido, aquí tienes algunos detalles extra.
    
    #### String con `value.startswith()` { #string-with-value-startswith }
    
    ¿Lo notaste? un string usando `value.startswith()` puede recibir una tupla, y comprobará cada valor en la tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

            HTTP_2.protocol -> HTTP_2
            SPDY_3.protocol -> SPDY_3
            QUIC.protocol -> QUIC
            else -> {
              // Support HTTP3 draft like h3-29
              if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol")
            }
          }
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jun 23 18:58:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top