- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for bomb (0.16 sec)
-
okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/DecompressionBombChecker.kt
if (result != -1L) { outputByteCount += result if (outputByteCount > inputByteCount * maxRatio) { throw IOException( "decompression bomb? outputByteCount=$outputByteCount, " + "inputByteCount=$inputByteCount exceeds max ratio of $maxRatio", ) } } return result } } }
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 29 22:50:20 GMT 2024 - 1.8K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliBombTest.kt
assertFailure { uncompressed.body.string() }.isInstanceOf<IOException>() .message() .isNotNull() .matches( Regex( "decompression bomb\\? outputByteCount=\\d+, inputByteCount=\\d+ exceeds max ratio of 100", ), ) } /** Returns a ByteString that expands to 10 GiB when Brotli-decompressed. */ private fun readBrotli10G(): ByteString {
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 29 22:50:20 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-api-impl/src/test/remote-repo/org/apache/maven/its/bom/0.1/bom-0.1.pom
<modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its</groupId> <artifactId>bom</artifactId> <version>0.1</version> <packaging>pom</packaging> <name>Maven Integration Test :: Dummy BOM</name> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.maven.its</groupId>
Plain Text - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 776 bytes - Viewed (0) -
maven-core/src/test/remote-repo/org/apache/maven/its/bom/0.1/bom-0.1.pom
<modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its</groupId> <artifactId>bom</artifactId> <version>0.1</version> <packaging>pom</packaging> <name>Maven Integration Test :: Dummy BOM</name> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.maven.its</groupId>
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Dec 29 13:02:33 GMT 2022 - 776 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
*/ @Throws(IOException::class) fun byteString() = commonByteString() /** * Returns the response as a character stream. * * If the response starts with a * [Byte Order Mark (BOM)](https://en.wikipedia.org/wiki/Byte_order_mark), it is consumed and * used to determine the charset of the response bytes. * * Otherwise if the response has a `Content-Type` header that specifies a charset, that is used
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (0) -
README.md
Also, we have a [bill of materials (BOM)][bom] available to help you keep OkHttp artifacts up to date and be sure about version compatibility. ```kotlin dependencies { // define a BOM and its version implementation(platform("com.squareup.okhttp3:okhttp-bom:4.12.0")) // define any required OkHttp artifacts without version
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 6.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
if (result.exitValue == 0) outputText.trim() else "<unknown>" // It's a source distribution, we don't know. } } // pre-test/master/queue/alice/feature -> master // pre-test/release/current/bob/bugfix -> release // gh-readonly-queue/master/pr-1234-5678abcdef -> master fun toMergeQueueBaseBranch(actualBranch: String): String = when {
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
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 1 -> UTF_16BE 2 -> UTF_16LE 3 -> UTF_32BE 4 -> UTF_32LE -1 -> default else -> throw AssertionError() } } internal fun checkDuration(
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) -
build.gradle.kts
ignoreAttribute("Bnd-LastModified") } } } } /** Configure building for Java+Kotlin projects. */ subprojects { val project = this@subprojects if (project.name == "okhttp-bom") return@subprojects if (project.name == "okhttp-android") return@subprojects if (project.name == "android-test") return@subprojects if (project.name == "regression-test") return@subprojects
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
val originalRequest = chain.request() val originalResponse = chain.proceed( originalRequest.newBuilder() .addHeader("Request-Interceptor", "Bob") // 2. Added second. .build(), ) originalResponse.newBuilder() .addHeader("Response-Interceptor", "Cupcake") // 3. Added third. .build() } val request =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 27.8K bytes - Viewed (0)