Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for regex (0.13 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""callStart: Request\{method=POST, url=$url\}"""))
          .assertLogMatch(Regex("""proxySelectStart: $url"""))
          .assertLogMatch(Regex("""proxySelectEnd: \[DIRECT]"""))
          .assertLogMatch(Regex("""dnsStart: ${url.host}"""))
          .assertLogMatch(Regex("""dnsEnd: \[.+]"""))
          .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT"""))
          .assertLogMatch(Regex("""connectEnd: http/1.1"""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Type: text/html; charset=0")
          .assertLogMatch(Regex("""Content-Length: \d+"""))
          .assertLogMatch(Regex(""))
          .assertLogEqual("Body with unknown charset")
          .assertLogMatch(Regex("""<-- END HTTP \(\d+ms, 25-byte body\)"""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  3. .cm/javadoc_on_new_files.cm

        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Missing Javadoc"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. .cm/lacks_tests.cm

    colors:
      yellow: 'ffb300'
    
    includes_src_changes: {{ files | match(regex=r/.*\/src\//) | some }}
    includes_test_changes: {{ files | match(regex=r/.*\/(test|integTest|crossVersionTest|docsTest|smokeTest)\//) | some }}
    is_docs_only_change: {{ (files | allDocs) or (files | match(regex=r/\.adoc$/) | every) }} # This won't catch a mix of .adoc and non .adoc changes, see: https://github.com/linear-b/gitstream/issues/93
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/build_cleaner_spec.textproto

    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 29 18:16:42 GMT 2023
    - 387 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

    internal fun MediaType.commonHashCode(): Int = mediaType.hashCode()
    
    private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"
    private const val QUOTED = "\"([^\"]*)\""
    private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
    private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    
    /**
     * Returns a media type for this string.
     *
     * @throws IllegalArgumentException if this is not a well-formed media type.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. .cm/misc_labels.cm

      docs: {{ (files | allDocs) or (files | match(regex=r/\.adoc$/) | every) }} # This won't catch a mix of .adoc and non .adoc changes, see: https://github.com/linear-b/gitstream/issues/93
      tests: {{ files | allTests }}
    
      # Exclude anything under samples/snippets sourceSets, or any sort of test resource file
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

          while (true) {
            val line = source.readUtf8Line() ?: break
            if (line.isEmpty() || line.startsWith("#")) continue
    
            var i = 0
            val parts = line.split(Regex(" ")).toTypedArray()
    
            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
            val base = if (i < parts.size) parts[i++] else null
            element.base =
              when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            && !matches(compilerGeneratedClassFilePath)
    
    
    private
    const val classFileExtension = ".class"
    
    
    private
    val compilerGeneratedClassFilePath = Regex(".*\\$\\d+\\.class$")
    
    
    private
    val slashOrDollar = Regex("[/$]")
    
    
    // visible for testing
    fun kotlinSourceNameOf(classFilePath: String): String =
        classFilePath
            .removeSuffix(classFileExtension)
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. kotlin-js-store/yarn.lock

      integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
      dependencies:
        shebang-regex "^3.0.0"
    
    shebang-regex@^3.0.0:
      version "3.0.0"
      resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
      integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
Back to top