- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for junk (0.16 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
assertThat(actual).isEqualTo(expected) } companion object { private fun binaryData(length: Int): ByteString { val junk = ByteArray(length) Random(0).nextBytes(junk) return junk.toByteString() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
}.also { expected -> assertThat(expected.message!!).contains("closed") } } private fun binaryData(length: Int): ByteString { val junk = ByteArray(length) random.nextBytes(junk) return junk.toByteString() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
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) -
okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt
.isEqualTo(28800000L) // Ignore trailing junk assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time) .isEqualTo(28800000L) // ANSI C's asctime() format // This format ignores the timezone entirely even if it is present and uses GMT. assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L) // Ignore trailing junk.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
} } @Suppress("NAME_SHADOWING") companion object { private val YEAR_PATTERN = Pattern.compile("(\\d{2,4})[^\\d]*") private val MONTH_PATTERN = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*") private val DAY_OF_MONTH_PATTERN = Pattern.compile("(\\d{1,2})[^\\d]*") private val TIME_PATTERN = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*") private fun domainMatch(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
@Test fun expiresDate() { assertThat(Date(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT")!!.expiresAt)) .isEqualTo(date("1970-01-01T00:00:00.000+0000")) assertThat(Date(parse(url, "a=b; Expires=Wed, 09 Jun 2021 10:18:14 GMT")!!.expiresAt)) .isEqualTo(date("2021-06-09T10:18:14.000+0000")) assertThat(Date(parse(url, "a=b; Expires=Sun, 06 Nov 1994 08:49:37 GMT")!!.expiresAt))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt
class PostString { private val client = OkHttpClient() fun run() { val postBody = """ |Releases |-------- | | * _1.0_ May 6, 2013 | * _1.1_ June 15, 2013 | * _1.2_ August 11, 2013 | """.trimMargin() val request = Request( url = "https://api.github.com/markdown/raw".toHttpUrl(),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
public void run() throws Exception { String postBody = "" + "Releases\n" + "--------\n" + "\n" + " * _1.0_ May 6, 2013\n" + " * _1.1_ June 15, 2013\n" + " * _1.2_ August 11, 2013\n"; Request request = new Request.Builder() .url("https://api.github.com/markdown/raw") .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN))
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.7K bytes - Viewed (0) -
docs/recipes.md
private val client = OkHttpClient() fun run() { val postBody = """ |Releases |-------- | | * _1.0_ May 6, 2013 | * _1.1_ June 15, 2013 | * _1.2_ August 11, 2013 |""".trimMargin() val request = Request.Builder() .url("https://api.github.com/markdown/raw")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Feb 18 08:52:22 GMT 2022 - 40.2K bytes - Viewed (1) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
bip.sh // bitbridge.net : Submitted by Craig Welch, ******@****.*** bitbridge.net // dy.fi : http://dy.fi/ // Submitted by Heikki Hannikainen <******@****.***> dy.fi tunk.org // DynDNS.com : http://www.dyndns.com/services/dns/dyndns/ dyndns-at-home.com dyndns-at-work.com dyndns-blog.com dyndns-free.com dyndns-home.com dyndns-ip.com dyndns-mail.com
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)