- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 322 for return (0.14 sec)
-
docs/en/docs/advanced/custom-response.md
# Custom Response - HTML, Stream, File, others By default, **FastAPI** will return the responses using `JSONResponse`. You can override it by returning a `Response` directly as seen in [Return a Response directly](response-directly.md){.internal-link target=_blank}.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
val uri = url.toUri() if (uri.host == null) return immutableListOf(Proxy.NO_PROXY) // Try each of the ProxySelector choices until one connection succeeds. val proxiesOrNull = address.proxySelector.select(uri) if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY) return proxiesOrNull.toImmutableList() } connectionUser.proxySelectStart(url)
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
return false } } val firSymbol = symbol.firSymbol if (firSymbol is FirPropertySymbol && firSymbol.isForeignValue) { return false } return true } fun getContainingDeclarationByPsi(symbol: KtSymbol): KtDeclarationSymbol? { val containingDeclaration = getContainingPsi(symbol) ?: return null
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
val expressionCall = binaryExpression.getOrBuildFirSafe<FirQualifiedAccessExpression>(firResolveSession) ?: return null val receiverCall = expressionCall.explicitReceiver as? FirQualifiedAccessExpression ?: return null return receiverCall.resolvedType }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
result.addLenient(fieldName, networkHeaders.value(index)) } } return result.build() } /** * Returns true if [fieldName] is an end-to-end HTTP header, as defined by RFC 2616, * 13.5.1. */ private fun isEndToEnd(fieldName: String): Boolean { return !"Connection".equals(fieldName, ignoreCase = true) &&
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
if (this !is KtExpression) return null val calleeExpression = deparenthesize(this) ?: return null if (calleeExpression is KtCallExpression) return null val callExpression = parentOfType<KtCallExpression>() ?: return null if (deparenthesize(callExpression.calleeExpression) != calleeExpression) return null return callExpression } /**
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt
require(callableSymbol is KtFirSymbol<*>) if (callableSymbol is KtFirBackingFieldSymbol) return emptyList() if (callableSymbol is KtValueParameterSymbol) { return callableSymbol.getAllOverriddenSymbols() } (callableSymbol.firSymbol as? FirIntersectionCallableSymbol)?.let { intersectionSymbol -> return intersectionSymbol.intersections.flatMap {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Mar 22 14:22:10 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
return null } if (retryAfter(userResponse, Integer.MAX_VALUE) == 0) { // specifically received an instruction to retry without delay return userResponse.request } return null } HTTP_MISDIRECTED_REQUEST -> { // OkHttp can coalesce HTTP/2 connections even if the domain names are different. See
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
lock.assertHeld() if (executeCallCount > runCallCount) return // A thread is still starting. executeCallCount++ backend.execute(this@TaskRunner, runnable) } fun newQueue(): TaskQueue { val name = lock.withLock { nextQueueName++ } return TaskQueue(this, "Q$name") } /** * Returns a snapshot of queues that currently have tasks scheduled. The task runner does not
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescKotlinPropertySymbol.kt
if (descriptor.isDynamic()) return null val getter = descriptor.getter ?: return KtFe10DescDefaultPropertyGetterSymbol(descriptor, analysisContext) return KtFe10DescPropertyGetterSymbol(getter, analysisContext) } override val setter: KtPropertySetterSymbol? get() = withValidityAssertion { if (descriptor.isDynamic()) return null if (!descriptor.isVar) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 6.2K bytes - Viewed (0)