- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 581 for if (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
if (HttpMethod.permitsRequestBody(request.method) && requestBody != null) { // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100 // Continue" response before transmitting the request body. If we don't get that, return // what we did get (such as a 4xx response) without ever transmitting the request body.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.3K bytes - Viewed (1) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt
val descriptor = getSymbolDescriptor(symbol) as? PropertyDescriptor if (descriptor is SyntheticJavaPropertyDescriptor) { return descriptor.setMethod?.name } if (descriptor != null) { if (!descriptor.isVar) { return null } if (descriptor.hasJvmFieldAnnotation()) return descriptor.name
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Jun 08 13:34:50 GMT 2023 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
url: HttpUrl, proxy: Proxy?, ) { fun selectProxies(): List<Proxy> { // If the user specifies a proxy, try that and only that. if (proxy != null) return listOf(proxy) // If the URI lacks a host (as in "http://</"), don't call the ProxySelector. val uri = url.toUri() if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt
if (codePoint in prohibitSet) return null if (first) { firstIsRandalcat = codePoint in randalcatSet } else if (firstIsRandalcat) { // 'If a string contains any RandALCat character, the string MUST NOT contain any LCat // character.' if (codePoint in lcatSet) return null
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
if (dir.asFile.isDirectory) { for (cacheDir in dir.asFile.listFiles()) { val cacheDirName = cacheDir.name if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) { continue } val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix) if (!dirVersion.matches(dirVersionPattern)) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
* val part = multipartReader.nextPart() ?: break * process(part.headers, part.body) * } * } * ``` * * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding * part is particularly large or if the underlying source is particularly slow, the [nextPart] call * may be slow! * * Closing a part **does not** close this multipart reader; callers must explicitly close this with * [close]. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
build.gradle.kts
if (project.name == "okhttp-android") return@subprojects if (project.name == "android-test") return@subprojects if (project.name == "regression-test") return@subprojects if (project.name == "android-test-app") return@subprojects if (project.name == "container-tests") return@subprojects apply(plugin = "checkstyle") apply(plugin = "ru.vyarus.animalsniffer") apply(plugin = "biz.aQute.bnd.builder") tasks.withType<JavaCompile> {
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) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg) override fun visit(declaration: AnnotationDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Dec 01 20:12:19 GMT 2023 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt
fun setFaultyWrite( file: Path, faulty: Boolean, ) { if (faulty) { writeFaults.add(file) } else { writeFaults.remove(file) } } fun setFaultyDelete( file: Path, faulty: Boolean, ) { if (faulty) { deleteFaults.add(file) } else { deleteFaults.remove(file) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
apply { var i = 0 while (i < namesAndValues.size) { if (name.equals(namesAndValues[i], ignoreCase = true)) { namesAndValues.removeAt(i) // name namesAndValues.removeAt(i) // value i -= 2 } i += 2 } } /** * Set a field with the specified value. If the field is not found, it is added. If the field is * found, the existing values are replaced. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0)