Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for format (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

          if (format == null) {
            format =
              SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US).apply {
                // Set the timezone to use when interpreting formats that don't have a timezone. GMT is
                // specified by RFC 7231.
                timeZone = UTC
              }
            BROWSER_COMPATIBLE_DATE_FORMATS[i] = format
          }
          position.index = 0
          result = format.parse(this, position)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

                .map { (_, v) -> v.maxOrNull()!!.format() }
    
            // Limit to first and last release of each major version
            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
                .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten()
        }
    
        private
        fun VersionNumber.format() =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt

     */
    package okhttp3.curl.logging
    
    import java.util.logging.LogRecord
    import java.util.logging.SimpleFormatter
    
    object MessageFormatter : SimpleFormatter() {
      override fun format(record: LogRecord): String {
        return String.format("%s%n", record.message)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 860 bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    ## Publish MinIO events via Redis
    
    Install [Redis](http://redis.io/download) server. For illustrative purposes, we have set the database password as "yoursecret".
    
    This notification target supports two formats: _namespace_ and _access_.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  6. docs/en/docs/tutorial/extra-data-types.md

    * `datetime.date`:
        * Python `datetime.date`.
        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `2008-09-15`.
    * `datetime.time`:
        * A Python `datetime.time`.
        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `14:23:55.003`.
    * `datetime.timedelta`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.internal.format
    import okio.Buffer
    import okio.BufferedSource
    
    /**
     * A test from the [Web Platform URL test suite](https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json).
     *
     * Each test is a line of the file `urltestdata.txt`. The format is informally specified by its
    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)
  8. common/Makefile.common.mk

    # https://github.com/golang/go/issues/43994
    	@find -name go.mod -execdir go mod tidy \;
    
    format-go: tidy-go
    	@${FINDFILES} -name '*.go' \( ! \( -name '*.gen.go' -o -name '*.pb.go' \) \) -print0 | ${XARGS} common/scripts/format_go.sh
    
    format-python:
    	@${FINDFILES} -name '*.py' -print0 | ${XARGS} autopep8 --max-line-length 160 --aggressive --aggressive -i
    
    dump-licenses: mod-download-go
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. .github/pull_request_template.md

           pulling in other changes.
     - [ ] Each commit in the pull request should have a meaningful subject line and body.
     - [ ] Format the pull request title like `[MNG-XXX] SUMMARY`,
           where you replace `MNG-XXX` and `SUMMARY` with the appropriate JIRA issue.
     - [ ] Also format the first line of the commit message like `[MNG-XXX] SUMMARY`.
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 20 13:14:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check formatting for C++ files" {
        skip "clang-format doesn't match internal clang-format checker"
        echo "clang-format is recommended. Here are the suggested changes:"
        echo "============================="
        grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top