- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 192 for format (1.67 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
private fun assertDateInRange( minimum: Long, actual: Long, maximum: Long, ) { assertThat(actual, "${format(minimum)} <= ${format(actual)} <= ${format(maximum)}") .isBetween(minimum, maximum) } private fun format(time: Long) = SimpleDateFormat("HH:mm:ss.SSS").format(Date(time))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
"$host:$port" } else { host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String, vararg args: Any, ): String { return String.format(Locale.US, format, *args) } @Throws(IOException::class) internal fun BufferedSource.readBomAsCharset(default: Charset): Charset { return when (select(UNICODE_BOMS)) { 0 -> UTF_8
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
ci/official/utilities/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 Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0)